Christopher Ferris | 76a1d45 | 2018-06-27 14:12:29 -0700 | [diff] [blame] | 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, |
Christopher Ferris | 86a4837 | 2019-01-10 14:14:59 -0800 | [diff] [blame^] | 26 | NCSI_CMD_SEND_CMD, |
Christopher Ferris | 76a1d45 | 2018-06-27 14:12:29 -0700 | [diff] [blame] | 27 | __NCSI_CMD_AFTER_LAST, |
| 28 | NCSI_CMD_MAX = __NCSI_CMD_AFTER_LAST - 1 |
| 29 | }; |
| 30 | enum ncsi_nl_attrs { |
| 31 | NCSI_ATTR_UNSPEC, |
| 32 | NCSI_ATTR_IFINDEX, |
| 33 | NCSI_ATTR_PACKAGE_LIST, |
| 34 | NCSI_ATTR_PACKAGE_ID, |
| 35 | NCSI_ATTR_CHANNEL_ID, |
Christopher Ferris | 86a4837 | 2019-01-10 14:14:59 -0800 | [diff] [blame^] | 36 | NCSI_ATTR_DATA, |
Christopher Ferris | 76a1d45 | 2018-06-27 14:12:29 -0700 | [diff] [blame] | 37 | __NCSI_ATTR_AFTER_LAST, |
| 38 | NCSI_ATTR_MAX = __NCSI_ATTR_AFTER_LAST - 1 |
| 39 | }; |
| 40 | enum ncsi_nl_pkg_attrs { |
| 41 | NCSI_PKG_ATTR_UNSPEC, |
| 42 | NCSI_PKG_ATTR, |
| 43 | NCSI_PKG_ATTR_ID, |
| 44 | NCSI_PKG_ATTR_FORCED, |
| 45 | NCSI_PKG_ATTR_CHANNEL_LIST, |
| 46 | __NCSI_PKG_ATTR_AFTER_LAST, |
| 47 | NCSI_PKG_ATTR_MAX = __NCSI_PKG_ATTR_AFTER_LAST - 1 |
| 48 | }; |
| 49 | enum ncsi_nl_channel_attrs { |
| 50 | NCSI_CHANNEL_ATTR_UNSPEC, |
| 51 | NCSI_CHANNEL_ATTR, |
| 52 | NCSI_CHANNEL_ATTR_ID, |
| 53 | NCSI_CHANNEL_ATTR_VERSION_MAJOR, |
| 54 | NCSI_CHANNEL_ATTR_VERSION_MINOR, |
| 55 | NCSI_CHANNEL_ATTR_VERSION_STR, |
| 56 | NCSI_CHANNEL_ATTR_LINK_STATE, |
| 57 | NCSI_CHANNEL_ATTR_ACTIVE, |
| 58 | NCSI_CHANNEL_ATTR_FORCED, |
| 59 | NCSI_CHANNEL_ATTR_VLAN_LIST, |
| 60 | NCSI_CHANNEL_ATTR_VLAN_ID, |
| 61 | __NCSI_CHANNEL_ATTR_AFTER_LAST, |
| 62 | NCSI_CHANNEL_ATTR_MAX = __NCSI_CHANNEL_ATTR_AFTER_LAST - 1 |
| 63 | }; |
| 64 | #endif |