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

JingPiao Chen chenjingpiao at gmail.com
Fri Aug 18 08:43:56 UTC 2017


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

-- 
2.7.4





More information about the Strace-devel mailing list