Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / include / uapi / linux / if_team.h
bloba5c06243a43553e2d795854fc9028715fe913fa1
1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
2 /* Do not edit directly, auto-generated from: */
3 /* Documentation/netlink/specs/team.yaml */
4 /* YNL-GEN uapi header */
6 #ifndef _UAPI_LINUX_IF_TEAM_H
7 #define _UAPI_LINUX_IF_TEAM_H
9 #define TEAM_GENL_NAME "team"
10 #define TEAM_GENL_VERSION 1
12 #define TEAM_STRING_MAX_LEN 32
13 #define TEAM_GENL_CHANGE_EVENT_MC_GRP_NAME "change_event"
15 enum {
16 TEAM_ATTR_UNSPEC,
17 TEAM_ATTR_TEAM_IFINDEX,
18 TEAM_ATTR_LIST_OPTION,
19 TEAM_ATTR_LIST_PORT,
21 __TEAM_ATTR_MAX,
22 TEAM_ATTR_MAX = (__TEAM_ATTR_MAX - 1)
25 enum {
26 TEAM_ATTR_ITEM_OPTION_UNSPEC,
27 TEAM_ATTR_ITEM_OPTION,
29 __TEAM_ATTR_ITEM_OPTION_MAX,
30 TEAM_ATTR_ITEM_OPTION_MAX = (__TEAM_ATTR_ITEM_OPTION_MAX - 1)
33 enum {
34 TEAM_ATTR_OPTION_UNSPEC,
35 TEAM_ATTR_OPTION_NAME,
36 TEAM_ATTR_OPTION_CHANGED,
37 TEAM_ATTR_OPTION_TYPE,
38 TEAM_ATTR_OPTION_DATA,
39 TEAM_ATTR_OPTION_REMOVED,
40 TEAM_ATTR_OPTION_PORT_IFINDEX,
41 TEAM_ATTR_OPTION_ARRAY_INDEX,
43 __TEAM_ATTR_OPTION_MAX,
44 TEAM_ATTR_OPTION_MAX = (__TEAM_ATTR_OPTION_MAX - 1)
47 enum {
48 TEAM_ATTR_ITEM_PORT_UNSPEC,
49 TEAM_ATTR_ITEM_PORT,
51 __TEAM_ATTR_ITEM_PORT_MAX,
52 TEAM_ATTR_ITEM_PORT_MAX = (__TEAM_ATTR_ITEM_PORT_MAX - 1)
55 enum {
56 TEAM_ATTR_PORT_UNSPEC,
57 TEAM_ATTR_PORT_IFINDEX,
58 TEAM_ATTR_PORT_CHANGED,
59 TEAM_ATTR_PORT_LINKUP,
60 TEAM_ATTR_PORT_SPEED,
61 TEAM_ATTR_PORT_DUPLEX,
62 TEAM_ATTR_PORT_REMOVED,
64 __TEAM_ATTR_PORT_MAX,
65 TEAM_ATTR_PORT_MAX = (__TEAM_ATTR_PORT_MAX - 1)
68 enum {
69 TEAM_CMD_NOOP,
70 TEAM_CMD_OPTIONS_SET,
71 TEAM_CMD_OPTIONS_GET,
72 TEAM_CMD_PORT_LIST_GET,
74 __TEAM_CMD_MAX,
75 TEAM_CMD_MAX = (__TEAM_CMD_MAX - 1)
78 #endif /* _UAPI_LINUX_IF_TEAM_H */