1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Lin 1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ 2 /* Do not edit directly, auto-generated from: 2 /* Do not edit directly, auto-generated from: */ 3 /* Documentation/netlink/specs/team.yaml 3 /* Documentation/netlink/specs/team.yaml */ 4 /* YNL-GEN uapi header */ 4 /* YNL-GEN uapi header */ 5 5 6 #ifndef _UAPI_LINUX_IF_TEAM_H 6 #ifndef _UAPI_LINUX_IF_TEAM_H 7 #define _UAPI_LINUX_IF_TEAM_H 7 #define _UAPI_LINUX_IF_TEAM_H 8 8 9 #define TEAM_GENL_NAME "team" 9 #define TEAM_GENL_NAME "team" 10 #define TEAM_GENL_VERSION 1 10 #define TEAM_GENL_VERSION 1 11 11 12 #define TEAM_STRING_MAX_LEN 12 #define TEAM_STRING_MAX_LEN 32 13 #define TEAM_GENL_CHANGE_EVENT_MC_GRP_NAME 13 #define TEAM_GENL_CHANGE_EVENT_MC_GRP_NAME "change_event" 14 14 15 enum { 15 enum { 16 TEAM_ATTR_UNSPEC, 16 TEAM_ATTR_UNSPEC, 17 TEAM_ATTR_TEAM_IFINDEX, 17 TEAM_ATTR_TEAM_IFINDEX, 18 TEAM_ATTR_LIST_OPTION, 18 TEAM_ATTR_LIST_OPTION, 19 TEAM_ATTR_LIST_PORT, 19 TEAM_ATTR_LIST_PORT, 20 20 21 __TEAM_ATTR_MAX, 21 __TEAM_ATTR_MAX, 22 TEAM_ATTR_MAX = (__TEAM_ATTR_MAX - 1) 22 TEAM_ATTR_MAX = (__TEAM_ATTR_MAX - 1) 23 }; 23 }; 24 24 25 enum { 25 enum { 26 TEAM_ATTR_ITEM_OPTION_UNSPEC, 26 TEAM_ATTR_ITEM_OPTION_UNSPEC, 27 TEAM_ATTR_ITEM_OPTION, 27 TEAM_ATTR_ITEM_OPTION, 28 28 29 __TEAM_ATTR_ITEM_OPTION_MAX, 29 __TEAM_ATTR_ITEM_OPTION_MAX, 30 TEAM_ATTR_ITEM_OPTION_MAX = (__TEAM_AT 30 TEAM_ATTR_ITEM_OPTION_MAX = (__TEAM_ATTR_ITEM_OPTION_MAX - 1) 31 }; 31 }; 32 32 33 enum { 33 enum { 34 TEAM_ATTR_OPTION_UNSPEC, 34 TEAM_ATTR_OPTION_UNSPEC, 35 TEAM_ATTR_OPTION_NAME, 35 TEAM_ATTR_OPTION_NAME, 36 TEAM_ATTR_OPTION_CHANGED, 36 TEAM_ATTR_OPTION_CHANGED, 37 TEAM_ATTR_OPTION_TYPE, 37 TEAM_ATTR_OPTION_TYPE, 38 TEAM_ATTR_OPTION_DATA, 38 TEAM_ATTR_OPTION_DATA, 39 TEAM_ATTR_OPTION_REMOVED, 39 TEAM_ATTR_OPTION_REMOVED, 40 TEAM_ATTR_OPTION_PORT_IFINDEX, 40 TEAM_ATTR_OPTION_PORT_IFINDEX, 41 TEAM_ATTR_OPTION_ARRAY_INDEX, 41 TEAM_ATTR_OPTION_ARRAY_INDEX, 42 42 43 __TEAM_ATTR_OPTION_MAX, 43 __TEAM_ATTR_OPTION_MAX, 44 TEAM_ATTR_OPTION_MAX = (__TEAM_ATTR_OP 44 TEAM_ATTR_OPTION_MAX = (__TEAM_ATTR_OPTION_MAX - 1) 45 }; 45 }; 46 46 47 enum { 47 enum { 48 TEAM_ATTR_ITEM_PORT_UNSPEC, 48 TEAM_ATTR_ITEM_PORT_UNSPEC, 49 TEAM_ATTR_ITEM_PORT, 49 TEAM_ATTR_ITEM_PORT, 50 50 51 __TEAM_ATTR_ITEM_PORT_MAX, 51 __TEAM_ATTR_ITEM_PORT_MAX, 52 TEAM_ATTR_ITEM_PORT_MAX = (__TEAM_ATTR 52 TEAM_ATTR_ITEM_PORT_MAX = (__TEAM_ATTR_ITEM_PORT_MAX - 1) 53 }; 53 }; 54 54 55 enum { 55 enum { 56 TEAM_ATTR_PORT_UNSPEC, 56 TEAM_ATTR_PORT_UNSPEC, 57 TEAM_ATTR_PORT_IFINDEX, 57 TEAM_ATTR_PORT_IFINDEX, 58 TEAM_ATTR_PORT_CHANGED, 58 TEAM_ATTR_PORT_CHANGED, 59 TEAM_ATTR_PORT_LINKUP, 59 TEAM_ATTR_PORT_LINKUP, 60 TEAM_ATTR_PORT_SPEED, 60 TEAM_ATTR_PORT_SPEED, 61 TEAM_ATTR_PORT_DUPLEX, 61 TEAM_ATTR_PORT_DUPLEX, 62 TEAM_ATTR_PORT_REMOVED, 62 TEAM_ATTR_PORT_REMOVED, 63 63 64 __TEAM_ATTR_PORT_MAX, 64 __TEAM_ATTR_PORT_MAX, 65 TEAM_ATTR_PORT_MAX = (__TEAM_ATTR_PORT 65 TEAM_ATTR_PORT_MAX = (__TEAM_ATTR_PORT_MAX - 1) 66 }; 66 }; 67 67 68 enum { 68 enum { 69 TEAM_CMD_NOOP, 69 TEAM_CMD_NOOP, 70 TEAM_CMD_OPTIONS_SET, 70 TEAM_CMD_OPTIONS_SET, 71 TEAM_CMD_OPTIONS_GET, 71 TEAM_CMD_OPTIONS_GET, 72 TEAM_CMD_PORT_LIST_GET, 72 TEAM_CMD_PORT_LIST_GET, 73 73 74 __TEAM_CMD_MAX, 74 __TEAM_CMD_MAX, 75 TEAM_CMD_MAX = (__TEAM_CMD_MAX - 1) 75 TEAM_CMD_MAX = (__TEAM_CMD_MAX - 1) 76 }; 76 }; 77 77 78 #endif /* _UAPI_LINUX_IF_TEAM_H */ 78 #endif /* _UAPI_LINUX_IF_TEAM_H */ 79 79
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.