xlat/rtnl_ifla_info_data_bridge_attrs: add IFLA_BR_VLAN_STATS_PER_PORT

* xlat/rtnl_ifla_info_data_bridge_attrs.in
(IFLA_BR_VLAN_STATS_PER_PORT): New constant, introduced by Linux commit
v4.19-rc6-2094-g9163a0fc1f0c.
* rtnl_link.c (ifla_info_data_bridge_nla_decoders): Add
IFLA_BR_VLAN_STATS_PER_PORT.
This commit is contained in:
Eugene Syromyatnikov
2018-11-01 16:31:14 +01:00
parent 504b43651c
commit 74d0cad5dd
2 changed files with 2 additions and 0 deletions

View File

@ -334,6 +334,7 @@ static const nla_decoder_t ifla_info_data_bridge_nla_decoders[] = {
[IFLA_BR_MCAST_STATS_ENABLED] = decode_nla_u8,
[IFLA_BR_MCAST_IGMP_VERSION] = decode_nla_u8,
[IFLA_BR_MCAST_MLD_VERSION] = decode_nla_u8,
[IFLA_BR_VLAN_STATS_PER_PORT] = decode_nla_u8,
};
bool

View File

@ -44,3 +44,4 @@ IFLA_BR_VLAN_STATS_ENABLED 41
IFLA_BR_MCAST_STATS_ENABLED 42
IFLA_BR_MCAST_IGMP_VERSION 43
IFLA_BR_MCAST_MLD_VERSION 44
IFLA_BR_VLAN_STATS_PER_PORT 45