[PATCH 0/2] rtnl_link: decode ifinfomsg netlink attributes

Dmitry V. Levin ldv at altlinux.org
Wed Aug 23 01:09:03 UTC 2017


On Fri, Aug 18, 2017 at 04:43:56PM +0800, JingPiao Chen wrote:
> The place where should review stricter:
> 
> * decode_ifla_address(): AF_INET and AF_INET6 address print format.
> * decode_rtnl_link_ifmap(): mpersify struct rtnl_link_ifmap.
> * tests: test address should change the header message, I use two global
> variable to achieve this goal.
> 
> JingPiao Chen (2):
>   rtnl_link: decode ifinfomsg netlink attributes
>   tests: check decoding of ifinfomsg netlink attributes
> 
>  Makefile.am                     |   1 +
>  configure.ac                    |   6 +
>  rtnl_link.c                     | 259 +++++++++++++++++++++++++++++++++++++++-
>  sizeof_struct_rtnl_link_ifmap.c |  44 +++++++
>  tests/gen_tests.in              |   2 +-
>  tests/nlattr_ifinfomsg.c        | 221 +++++++++++++++++++++++++++++++++-
>  6 files changed, 528 insertions(+), 5 deletions(-)
>  create mode 100644 sizeof_struct_rtnl_link_ifmap.c

This is a kind reminder to submit the next iteration of this parser soon,
while I still remember details.


-- 
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/20170823/56dfc615/attachment.bin>


More information about the Strace-devel mailing list