blob: 0d73f1e79df7597eb8f4e94da7eaacb91f2889bc [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 */
Tao Baod7db5942015-01-28 10:07:51 -080024 TEAM_CMD_NOOP,
25 TEAM_CMD_OPTIONS_SET,
26 TEAM_CMD_OPTIONS_GET,
27 TEAM_CMD_PORT_LIST_GET,
Ben Cheng655a7c02013-10-16 16:09:24 -070028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080029 __TEAM_CMD_MAX,
30 TEAM_CMD_MAX = (__TEAM_CMD_MAX - 1),
Ben Cheng655a7c02013-10-16 16:09:24 -070031};
32enum {
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080034 TEAM_ATTR_UNSPEC,
35 TEAM_ATTR_TEAM_IFINDEX,
36 TEAM_ATTR_LIST_OPTION,
37 TEAM_ATTR_LIST_PORT,
Ben Cheng655a7c02013-10-16 16:09:24 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080039 __TEAM_ATTR_MAX,
40 TEAM_ATTR_MAX = __TEAM_ATTR_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -070041};
42enum {
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080044 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,
Ben Cheng655a7c02013-10-16 16:09:24 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49};
50enum {
Tao Baod7db5942015-01-28 10:07:51 -080051 TEAM_ATTR_OPTION_UNSPEC,
52 TEAM_ATTR_OPTION_NAME,
Ben Cheng655a7c02013-10-16 16:09:24 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080054 TEAM_ATTR_OPTION_CHANGED,
55 TEAM_ATTR_OPTION_TYPE,
56 TEAM_ATTR_OPTION_DATA,
57 TEAM_ATTR_OPTION_REMOVED,
Ben Cheng655a7c02013-10-16 16:09:24 -070058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080059 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,
Ben Cheng655a7c02013-10-16 16:09:24 -070063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64};
65enum {
Tao Baod7db5942015-01-28 10:07:51 -080066 TEAM_ATTR_ITEM_PORT_UNSPEC,
67 TEAM_ATTR_ITEM_PORT,
Ben Cheng655a7c02013-10-16 16:09:24 -070068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080069 __TEAM_ATTR_ITEM_PORT_MAX,
70 TEAM_ATTR_ITEM_PORT_MAX = __TEAM_ATTR_ITEM_PORT_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -070071};
72enum {
73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080074 TEAM_ATTR_PORT_UNSPEC,
75 TEAM_ATTR_PORT_IFINDEX,
76 TEAM_ATTR_PORT_CHANGED,
77 TEAM_ATTR_PORT_LINKUP,
Ben Cheng655a7c02013-10-16 16:09:24 -070078/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080079 TEAM_ATTR_PORT_SPEED,
80 TEAM_ATTR_PORT_DUPLEX,
81 TEAM_ATTR_PORT_REMOVED,
82 __TEAM_ATTR_PORT_MAX,
Ben Cheng655a7c02013-10-16 16:09:24 -070083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080084 TEAM_ATTR_PORT_MAX = __TEAM_ATTR_PORT_MAX - 1,
Ben Cheng655a7c02013-10-16 16:09:24 -070085};
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