batman_adv.h revision 49f525c47bd383cd6a87db8f067cddb3ab620d17
1/**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19#ifndef _UAPI_LINUX_BATMAN_ADV_H_ 20#define _UAPI_LINUX_BATMAN_ADV_H_ 21#define BATADV_NL_NAME "batadv" 22#define BATADV_NL_MCAST_GROUP_TPMETER "tpmeter" 23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24enum batadv_nl_attrs { 25 BATADV_ATTR_UNSPEC, 26 BATADV_ATTR_VERSION, 27 BATADV_ATTR_ALGO_NAME, 28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 BATADV_ATTR_MESH_IFINDEX, 30 BATADV_ATTR_MESH_IFNAME, 31 BATADV_ATTR_MESH_ADDRESS, 32 BATADV_ATTR_HARD_IFINDEX, 33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 BATADV_ATTR_HARD_IFNAME, 35 BATADV_ATTR_HARD_ADDRESS, 36 BATADV_ATTR_ORIG_ADDRESS, 37 BATADV_ATTR_TPMETER_RESULT, 38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 BATADV_ATTR_TPMETER_TEST_TIME, 40 BATADV_ATTR_TPMETER_BYTES, 41 BATADV_ATTR_TPMETER_COOKIE, 42 BATADV_ATTR_PAD, 43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 __BATADV_ATTR_AFTER_LAST, 45 NUM_BATADV_ATTR = __BATADV_ATTR_AFTER_LAST, 46 BATADV_ATTR_MAX = __BATADV_ATTR_AFTER_LAST - 1 47}; 48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49enum batadv_nl_commands { 50 BATADV_CMD_UNSPEC, 51 BATADV_CMD_GET_MESH_INFO, 52 BATADV_CMD_TP_METER, 53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 BATADV_CMD_TP_METER_CANCEL, 55 __BATADV_CMD_AFTER_LAST, 56 BATADV_CMD_MAX = __BATADV_CMD_AFTER_LAST - 1 57}; 58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59enum batadv_tp_meter_reason { 60 BATADV_TP_REASON_COMPLETE = 3, 61 BATADV_TP_REASON_CANCEL = 4, 62 BATADV_TP_REASON_DST_UNREACHABLE = 128, 63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 BATADV_TP_REASON_RESEND_LIMIT = 129, 65 BATADV_TP_REASON_ALREADY_ONGOING = 130, 66 BATADV_TP_REASON_MEMORY_ERROR = 131, 67 BATADV_TP_REASON_CANT_SEND = 132, 68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 BATADV_TP_REASON_TOO_MANY = 133, 70}; 71#endif 72