strace/xlat/rtnl_ifla_brport_attrs.in
JingPiao Chen 496a12551c rtnl_link: decode IFLA_PROTINFO netlink attribute of ifinfomsg
* configure.ac (AC_CHECK_TYPES): Check for ifla_bridge_id
and rtnl_link_stats64 structures in <linux/if_link.h>.
* rtnl_link.c: Include "xlat/rtnl_ifla_brport_attrs.h".
(decode_ifla_bridge_id, decode_ifla_protinfo): New functions.
(ifla_brport_nla_decoders): New array.
(ifinfomsg_nla_decoders) <IFLA_PROTINFO>: Use decode_ifla_protinfo.
* xlat/rtnl_ifla_brport_attrs.in: New file.
2017-09-01 08:41:08 +00:00

32 lines
813 B
Plaintext

IFLA_BRPORT_UNSPEC 0
IFLA_BRPORT_STATE 1
IFLA_BRPORT_PRIORITY 2
IFLA_BRPORT_COST 3
IFLA_BRPORT_MODE 4
IFLA_BRPORT_GUARD 5
IFLA_BRPORT_PROTECT 6
IFLA_BRPORT_FAST_LEAVE 7
IFLA_BRPORT_LEARNING 8
IFLA_BRPORT_UNICAST_FLOOD 9
IFLA_BRPORT_PROXYARP 10
IFLA_BRPORT_LEARNING_SYNC 11
IFLA_BRPORT_PROXYARP_WIFI 12
IFLA_BRPORT_ROOT_ID 13
IFLA_BRPORT_BRIDGE_ID 14
IFLA_BRPORT_DESIGNATED_PORT 15
IFLA_BRPORT_DESIGNATED_COST 16
IFLA_BRPORT_ID 17
IFLA_BRPORT_NO 18
IFLA_BRPORT_TOPOLOGY_CHANGE_ACK 19
IFLA_BRPORT_CONFIG_PENDING 20
IFLA_BRPORT_MESSAGE_AGE_TIMER 21
IFLA_BRPORT_FORWARD_DELAY_TIMER 22
IFLA_BRPORT_HOLD_TIMER 23
IFLA_BRPORT_FLUSH 24
IFLA_BRPORT_MULTICAST_ROUTER 25
IFLA_BRPORT_PAD 26
IFLA_BRPORT_MCAST_FLOOD 27
IFLA_BRPORT_MCAST_TO_UCAST 28
IFLA_BRPORT_VLAN_TUNNEL 29
IFLA_BRPORT_BCAST_FLOOD 30