]> granicus.if.org Git - strace/commit
tests: check decoding of ifinfomsg netlink attributes
authorJingPiao Chen <chenjingpiao@gmail.com>
Sun, 27 Aug 2017 15:55:14 +0000 (23:55 +0800)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 28 Aug 2017 10:41:54 +0000 (10:41 +0000)
commitc345a7e6531524ea5cc047339de26a1b040650a4
tree832f5d902d5bdfc1733ab19428ca8e1464130db8
parentdf87f171014a622ddfe9b8448c372251b51d3294
tests: check decoding of ifinfomsg netlink attributes

* tests/nlattr_ifinfomsg.c: Include <stddef.h> and <linux/if_link.h>.
(IFLA_LINK_NETNSID): New macro.
(main): Check decoding of IFLA_LINK_NETNSID,
IFLA_STATS, IFLA_MAP and IFLA_STATS64.
tests/nlattr_ifinfomsg.c