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

* rtnl_tc.c: Include "nlattr.h" and "xlat/rtnl_tc_attrs.h".
(decode_tcmsg): Call decode_nlattr.
* xlat/rtnl_tc_attrs.in: New file.

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