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"
17 TEAM_ATTR_TEAM_IFINDEX
,
18 TEAM_ATTR_LIST_OPTION
,
22 TEAM_ATTR_MAX
= (__TEAM_ATTR_MAX
- 1)
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)
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)
48 TEAM_ATTR_ITEM_PORT_UNSPEC
,
51 __TEAM_ATTR_ITEM_PORT_MAX
,
52 TEAM_ATTR_ITEM_PORT_MAX
= (__TEAM_ATTR_ITEM_PORT_MAX
- 1)
56 TEAM_ATTR_PORT_UNSPEC
,
57 TEAM_ATTR_PORT_IFINDEX
,
58 TEAM_ATTR_PORT_CHANGED
,
59 TEAM_ATTR_PORT_LINKUP
,
61 TEAM_ATTR_PORT_DUPLEX
,
62 TEAM_ATTR_PORT_REMOVED
,
65 TEAM_ATTR_PORT_MAX
= (__TEAM_ATTR_PORT_MAX
- 1)
72 TEAM_CMD_PORT_LIST_GET
,
75 TEAM_CMD_MAX
= (__TEAM_CMD_MAX
- 1)
78 #endif /* _UAPI_LINUX_IF_TEAM_H */