]> granicus.if.org Git - strace/commit
tests: check decoding of ndmsg netlink attributes
authorJingPiao Chen <chenjingpiao@gmail.com>
Sun, 27 Aug 2017 16:56:41 +0000 (00:56 +0800)
committerJingPiao Chen <chenjingpiao@gmail.com>
Tue, 29 Aug 2017 07:23:59 +0000 (15:23 +0800)
commitd396a91d898f0d3038032782be961bf7050f38bd
tree3a177a8c7a178f39e2516800ef20cdae98856bb8
parent19abd528fbba0a64764e647b7bcd57408259b6f5
tests: check decoding of ndmsg netlink attributes

* tests/nlattr_ndmsg.c: Include <netinet/in.h> and <arpa/inet.h>.
(NDA_PORT): New macro.
(main): Check decoding of NDA_DST, NDA_CACHEINFO and NDA_PORT.
tests/nlattr_ndmsg.c