]> granicus.if.org Git - strace/commit
tests: check decoding of NETLINK_SOCK_DIAG AF_SMC messages
authorJingPiao Chen <chenjingpiao@gmail.com>
Tue, 13 Jun 2017 05:49:46 +0000 (13:49 +0800)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 15 Jun 2017 23:52:48 +0000 (23:52 +0000)
commit97d771159b366921337617ffbec1f262c1b08613
tree7739613f6b65d45f2d77886c5d6819568d416df3
parent955cc506139b87d9794513747dc05a3e0cf6ca85
tests: check decoding of NETLINK_SOCK_DIAG AF_SMC messages

* tests/netlink_sock_diag.c: Include <linux/smc_diag.h>.
(SMC_ACTIVE): New macro.
(test_smc_diag_req, test_smc_diag_msg): New functions.
(main): Use them.
tests/netlink_sock_diag.c