strace/xlat/nl_bridge_vlan_flags.in
Eugene Syromyatnikov d5f960204c netlink_route: implement RTM_NEWSTATS, RTM_GETSTATS message decoding
* xlat/ifstats_attr.in: New file.
* xlat/ifstats_attr_mask.in: Likewise.
* xlat/ifstats_offload_attr.in: Likewise.
* xlat/ifstats_xstats_type_attr.in: Likewise.
* xlat/nl_bridge_vlan_flags.in: Likewise.
* rtnl_stats.c: Likewise.
* Makefile.am (strace_SOURCES): Add it.
* configure.ac: Add struct if_stats_msg type check.
* netlink_route.c (route_decoders) <[RTM_NEWSTATS - RTM_BASE],
[RTM_GETSTATS - RTM_BASE]>: New decoder, call decode_ifstatsmsg.
* netlink_route.h (decode_ifstatsmsg): New declaration.
* nlattr.h (DECL_NLA(ifla_af_spec), DECL_NLA(rtnl_link_stats64)): New
declaration.
* rtnl_link.c (decode_nla_rtnl_link_stats64): Rename from
decode_rtnl_link_stats64.
(decode_nla_ifla_af_spec): Rename from decode_ifla_af_spec.
(ifinfomsg_nla_decoders) <[IFLA_STATS64], [IFLA_AF_SPEC]>: Use new
decoder function names.
2018-08-28 13:44:50 +02:00

7 lines
197 B
Plaintext

BRIDGE_VLAN_INFO_MASTER (1<<0)
BRIDGE_VLAN_INFO_PVID (1<<1)
BRIDGE_VLAN_INFO_UNTAGGED (1<<2)
BRIDGE_VLAN_INFO_RANGE_BEGIN (1<<3)
BRIDGE_VLAN_INFO_RANGE_END (1<<4)
BRIDGE_VLAN_INFO_BRENTRY (1<<5)