blob: 6334a8a968ae68d8b4810848657d6c1c09bd797f [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 Ferrisd842e432019-03-07 10:21:59 -080027 NCSI_CMD_SET_PACKAGE_MASK,
28 NCSI_CMD_SET_CHANNEL_MASK,
Christopher Ferris76a1d452018-06-27 14:12:29 -070029 __NCSI_CMD_AFTER_LAST,
30 NCSI_CMD_MAX = __NCSI_CMD_AFTER_LAST - 1
31};
32enum 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,
Christopher Ferris86a48372019-01-10 14:14:59 -080038 NCSI_ATTR_DATA,
Christopher Ferrisd842e432019-03-07 10:21:59 -080039 NCSI_ATTR_MULTI_FLAG,
40 NCSI_ATTR_PACKAGE_MASK,
41 NCSI_ATTR_CHANNEL_MASK,
Christopher Ferris76a1d452018-06-27 14:12:29 -070042 __NCSI_ATTR_AFTER_LAST,
43 NCSI_ATTR_MAX = __NCSI_ATTR_AFTER_LAST - 1
44};
45enum 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};
54enum 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