]> granicus.if.org Git - strace/commit
netlink: add basic decoding of NETLINK_ROUTE ndmsg attributes
authorJingPiao Chen <chenjingpiao@gmail.com>
Tue, 15 Aug 2017 04:41:14 +0000 (12:41 +0800)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 15 Aug 2017 22:34:46 +0000 (22:34 +0000)
commiteede641dd2ce43b1490730ae02cb74859a495e78
tree0870ee345930b97f58486c01bdea8f94269f9ab5
parent848cbc422b7c32299cb82db8f8de7baff6e53df3
netlink: add basic decoding of NETLINK_ROUTE ndmsg attributes

* rtnl_neigh.c: Include "nlattr.h" and "xlat/rtnl_neigh_attrs.h".
(decode_ndmsg): Call decode_nlattr.
* xlat/rtnl_neigh_attrs.in: New file.

Co-authored-by: Fabien Siron <fabien.siron@epita.fr>
rtnl_neigh.c
xlat/rtnl_neigh_attrs.in [new file with mode: 0644]