[PATCH v3 1/8] rtnl_link: decode ifinfomsg netlink attributes

Dmitry V. Levin ldv at altlinux.org
Mon Aug 28 17:35:11 UTC 2017


On Mon, Aug 28, 2017 at 01:44:36AM +0800, JingPiao Chen wrote:
> * configure.ac (AC_CHECK_HEADERS): Add linux/if_link.h.
> (AC_CHECK_TYPES): Check for
> struct rtnl_link_stats64 in <linux/if_link.h>.
> (AC_CHECK_MEMBERS): Check for
> rx_nohandler field in struct rtnl_link_stats/rtnl_link_stats64.
> * rtnl_link.c: Include <linux/if_link.h>.
> (decode_rtnl_link_stats, decode_rtnl_link_ifmap,
> decode_rtnl_link_stats64): New functions.
> (ifinfomsg_nla_decoders): New array.
> (decode_ifinfomsg): Use it.

Applied, thanks!


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20170828/7de54187/attachment.bin>


More information about the Strace-devel mailing list