syzkaller/sys/linux/socket_netlink_generic_team_amd64.const
Dmitry Vyukov 2d0ec24625 sys/linux: improve team descriptions
1. Create ifindex_team, because TEAM_ATTR_TEAM_IFINDEX must
   always point to a team device.

2. Remove output only attributes like team_attr_item_port, TEAM_ATTR_LIST_PORT,
   TEAM_ATTR_OPTION_CHANGED.

3. Restructure team_nl_option_policy: we always want TEAM_ATTR_OPTION_NAME/TYPE/DATA
   + optionally TEAM_ATTR_OPTION_ARRAY_INDEX and TEAM_ATTR_OPTION_PORT_IFINDEX.

4. Provide specialized team_nl_option_policy_per_port and team_nl_option_policy_array.

5. Make team_attr_option varlen.

6. Remove unnecessary indirection via team_attr_list_option/team_attr_list_port.

7. Fix data type for bpf_hash_func and lb_tx_hash_to_port_mapping.
2018-04-06 17:29:15 +02:00

23 lines
489 B
Plaintext

# AUTOGENERATED FILE
NLA_BINARY = 11
NLA_FLAG = 6
NLA_S32 = 14
NLA_STRING = 5
NLA_U32 = 3
SIOCGIFINDEX = 35123
TEAM_ATTR_ITEM_OPTION = 1
TEAM_ATTR_LIST_OPTION = 2
TEAM_ATTR_OPTION_ARRAY_INDEX = 7
TEAM_ATTR_OPTION_DATA = 4
TEAM_ATTR_OPTION_NAME = 1
TEAM_ATTR_OPTION_PORT_IFINDEX = 6
TEAM_ATTR_OPTION_TYPE = 3
TEAM_ATTR_TEAM_IFINDEX = 1
TEAM_CMD_NOOP = 0
TEAM_CMD_OPTIONS_GET = 2
TEAM_CMD_OPTIONS_SET = 1
TEAM_CMD_PORT_LIST_GET = 3
TEAM_STRING_MAX_LEN = 32
__NR_ioctl = 16
__NR_sendmsg = 46