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_NCSI_NETLINK_H__ 20 #define __UAPI_NCSI_NETLINK_H__ 21 enum ncsi_nl_commands { 22 NCSI_CMD_UNSPEC, 23 NCSI_CMD_PKG_INFO, 24 NCSI_CMD_SET_INTERFACE, 25 NCSI_CMD_CLEAR_INTERFACE, 26 NCSI_CMD_SEND_CMD, 27 NCSI_CMD_SET_PACKAGE_MASK, 28 NCSI_CMD_SET_CHANNEL_MASK, 29 __NCSI_CMD_AFTER_LAST, 30 NCSI_CMD_MAX = __NCSI_CMD_AFTER_LAST - 1 31 }; 32 enum ncsi_nl_attrs { 33 NCSI_ATTR_UNSPEC, 34 NCSI_ATTR_IFINDEX, 35 NCSI_ATTR_PACKAGE_LIST, 36 NCSI_ATTR_PACKAGE_ID, 37 NCSI_ATTR_CHANNEL_ID, 38 NCSI_ATTR_DATA, 39 NCSI_ATTR_MULTI_FLAG, 40 NCSI_ATTR_PACKAGE_MASK, 41 NCSI_ATTR_CHANNEL_MASK, 42 __NCSI_ATTR_AFTER_LAST, 43 NCSI_ATTR_MAX = __NCSI_ATTR_AFTER_LAST - 1 44 }; 45 enum ncsi_nl_pkg_attrs { 46 NCSI_PKG_ATTR_UNSPEC, 47 NCSI_PKG_ATTR, 48 NCSI_PKG_ATTR_ID, 49 NCSI_PKG_ATTR_FORCED, 50 NCSI_PKG_ATTR_CHANNEL_LIST, 51 __NCSI_PKG_ATTR_AFTER_LAST, 52 NCSI_PKG_ATTR_MAX = __NCSI_PKG_ATTR_AFTER_LAST - 1 53 }; 54 enum ncsi_nl_channel_attrs { 55 NCSI_CHANNEL_ATTR_UNSPEC, 56 NCSI_CHANNEL_ATTR, 57 NCSI_CHANNEL_ATTR_ID, 58 NCSI_CHANNEL_ATTR_VERSION_MAJOR, 59 NCSI_CHANNEL_ATTR_VERSION_MINOR, 60 NCSI_CHANNEL_ATTR_VERSION_STR, 61 NCSI_CHANNEL_ATTR_LINK_STATE, 62 NCSI_CHANNEL_ATTR_ACTIVE, 63 NCSI_CHANNEL_ATTR_FORCED, 64 NCSI_CHANNEL_ATTR_VLAN_LIST, 65 NCSI_CHANNEL_ATTR_VLAN_ID, 66 __NCSI_CHANNEL_ATTR_AFTER_LAST, 67 NCSI_CHANNEL_ATTR_MAX = __NCSI_CHANNEL_ATTR_AFTER_LAST - 1 68 }; 69 #endif 70