blob: e772d6d1bc15a883c6985ba0e55b5cc8dbaf940c [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -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_LINUX_IF_TEAM_H_
20#define _UAPI_LINUX_IF_TEAM_H_
21#define TEAM_STRING_MAX_LEN 32
22enum {
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 TEAM_CMD_NOOP,
25 TEAM_CMD_OPTIONS_SET,
26 TEAM_CMD_OPTIONS_GET,
27 TEAM_CMD_PORT_LIST_GET,
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 __TEAM_CMD_MAX,
30 TEAM_CMD_MAX = (__TEAM_CMD_MAX - 1),
31};
32enum {
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 TEAM_ATTR_UNSPEC,
35 TEAM_ATTR_TEAM_IFINDEX,
36 TEAM_ATTR_LIST_OPTION,
37 TEAM_ATTR_LIST_PORT,
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 __TEAM_ATTR_MAX,
40 TEAM_ATTR_MAX = __TEAM_ATTR_MAX - 1,
41};
42enum {
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 TEAM_ATTR_ITEM_OPTION_UNSPEC,
45 TEAM_ATTR_ITEM_OPTION,
46 __TEAM_ATTR_ITEM_OPTION_MAX,
47 TEAM_ATTR_ITEM_OPTION_MAX = __TEAM_ATTR_ITEM_OPTION_MAX - 1,
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49};
50enum {
51 TEAM_ATTR_OPTION_UNSPEC,
52 TEAM_ATTR_OPTION_NAME,
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 TEAM_ATTR_OPTION_CHANGED,
55 TEAM_ATTR_OPTION_TYPE,
56 TEAM_ATTR_OPTION_DATA,
57 TEAM_ATTR_OPTION_REMOVED,
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 TEAM_ATTR_OPTION_PORT_IFINDEX,
60 TEAM_ATTR_OPTION_ARRAY_INDEX,
61 __TEAM_ATTR_OPTION_MAX,
62 TEAM_ATTR_OPTION_MAX = __TEAM_ATTR_OPTION_MAX - 1,
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64};
65enum {
66 TEAM_ATTR_ITEM_PORT_UNSPEC,
67 TEAM_ATTR_ITEM_PORT,
68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69 __TEAM_ATTR_ITEM_PORT_MAX,
70 TEAM_ATTR_ITEM_PORT_MAX = __TEAM_ATTR_ITEM_PORT_MAX - 1,
71};
72enum {
73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74 TEAM_ATTR_PORT_UNSPEC,
75 TEAM_ATTR_PORT_IFINDEX,
76 TEAM_ATTR_PORT_CHANGED,
77 TEAM_ATTR_PORT_LINKUP,
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79 TEAM_ATTR_PORT_SPEED,
80 TEAM_ATTR_PORT_DUPLEX,
81 TEAM_ATTR_PORT_REMOVED,
82 __TEAM_ATTR_PORT_MAX,
83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84 TEAM_ATTR_PORT_MAX = __TEAM_ATTR_PORT_MAX - 1,
85};
86#define TEAM_GENL_NAME "team"
87#define TEAM_GENL_VERSION 0x1
88/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89#define TEAM_GENL_CHANGE_EVENT_MC_GRP_NAME "change_event"
90#endif