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 */ 5 6 #ifndef _UAPI_LINUX_IF_TEAM_H 7 #define _UAPI_LINUX_IF_TEAM_H 8 9 #define TEAM_GENL_NAME "team" 10 #define TEAM_GENL_VERSION 1 11 12 #define TEAM_STRING_MAX_LEN 32 13 #define TEAM_GENL_CHANGE_EVENT_MC_GRP_NAME "change_event" 14 15 enum { 16 TEAM_ATTR_UNSPEC, 17 TEAM_ATTR_TEAM_IFINDEX, 18 TEAM_ATTR_LIST_OPTION, 19 TEAM_ATTR_LIST_PORT, 20 21 __TEAM_ATTR_MAX, 22 TEAM_ATTR_MAX = (__TEAM_ATTR_MAX - 1) 23 }; 24 25 enum { 26 TEAM_ATTR_ITEM_OPTION_UNSPEC, 27 TEAM_ATTR_ITEM_OPTION, 28 29 __TEAM_ATTR_ITEM_OPTION_MAX, 30 TEAM_ATTR_ITEM_OPTION_MAX = (__TEAM_ATTR_ITEM_OPTION_MAX - 1) 31 }; 32 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, 42 43 __TEAM_ATTR_OPTION_MAX, 44 TEAM_ATTR_OPTION_MAX = (__TEAM_ATTR_OPTION_MAX - 1) 45 }; 46 47 enum { 48 TEAM_ATTR_ITEM_PORT_UNSPEC, 49 TEAM_ATTR_ITEM_PORT, 50 51 __TEAM_ATTR_ITEM_PORT_MAX, 52 TEAM_ATTR_ITEM_PORT_MAX = (__TEAM_ATTR_ITEM_PORT_MAX - 1) 53 }; 54 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, 63 64 __TEAM_ATTR_PORT_MAX, 65 TEAM_ATTR_PORT_MAX = (__TEAM_ATTR_PORT_MAX - 1) 66 }; 67 68 enum { 69 TEAM_CMD_NOOP, 70 TEAM_CMD_OPTIONS_SET, 71 TEAM_CMD_OPTIONS_GET, 72 TEAM_CMD_PORT_LIST_GET, 73 74 __TEAM_CMD_MAX, 75 TEAM_CMD_MAX = (__TEAM_CMD_MAX - 1) 76 }; 77 78 #endif /* _UAPI_LINUX_IF_TEAM_H */ 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.