blob: 23cdf1bb88da8f3d27b2a7c988335c52c69ce967 [file] [log] [blame]
Christopher Ferris76a1d452018-06-27 14:12:29 -07001/****************************************************************************
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__
21enum ncsi_nl_commands {
22 NCSI_CMD_UNSPEC,
23 NCSI_CMD_PKG_INFO,
24 NCSI_CMD_SET_INTERFACE,
25 NCSI_CMD_CLEAR_INTERFACE,
Christopher Ferris86a48372019-01-10 14:14:59 -080026 NCSI_CMD_SEND_CMD,
Christopher Ferris76a1d452018-06-27 14:12:29 -070027 __NCSI_CMD_AFTER_LAST,
28 NCSI_CMD_MAX = __NCSI_CMD_AFTER_LAST - 1
29};
30enum 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 Ferris86a48372019-01-10 14:14:59 -080036 NCSI_ATTR_DATA,
Christopher Ferris76a1d452018-06-27 14:12:29 -070037 __NCSI_ATTR_AFTER_LAST,
38 NCSI_ATTR_MAX = __NCSI_ATTR_AFTER_LAST - 1
39};
40enum 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};
49enum 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