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

JingPiao Chen chenjingpiao at gmail.com
Sun Aug 27 13:27:43 UTC 2017


On Wed, Aug 23, 2017 at 04:09:03AM +0300, Dmitry V. Levin wrote:
> 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.

Sorry, I faced with difficult. Need I cut the patch send the code
that I think is ok?

--
JingPiao Chen




More information about the Strace-devel mailing list