d5f960204c
* 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.
7 lines
157 B
Plaintext
7 lines
157 B
Plaintext
1<<IFLA_STATS_UNSPEC
|
|
1<<IFLA_STATS_LINK_64
|
|
1<<IFLA_STATS_LINK_XSTATS
|
|
1<<IFLA_STATS_LINK_XSTATS_SLAVE
|
|
1<<IFLA_STATS_LINK_OFFLOAD_XSTATS
|
|
1<<IFLA_STATS_AF_SPEC
|