Re: [PATCH v4 09/10] tests: check decoding of NETLINK_SOCK_DIAG AF_INET attribute

2017-06-26 Thread Dmitry V. Levin
On Mon, Jun 26, 2017 at 10:04:02AM +0800, JingPiao Chen wrote: > On Mon, Jun 26, 2017 at 02:56:59AM +0300, Dmitry V. Levin wrote: > > On Tue, Jun 20, 2017 at 05:23:54PM +0800, JingPiao Chen wrote: > > > * tests/nlattr_inet_diag.c: New file. > > > * tests/gen_tests.in (nlattr_inet_diag): New entry.

Re: [PATCH v4 09/10] tests: check decoding of NETLINK_SOCK_DIAG AF_INET attribute

2017-06-25 Thread JingPiao Chen
On Mon, Jun 26, 2017 at 02:56:59AM +0300, Dmitry V. Levin wrote: > On Tue, Jun 20, 2017 at 05:23:54PM +0800, JingPiao Chen wrote: > > * tests/nlattr_inet_diag.c: New file. > > * tests/gen_tests.in (nlattr_inet_diag): New entry. > > * tests/pure_executables.list: Add nlattr_inet_diag. > > * tests/.g

Re: [PATCH v4 09/10] tests: check decoding of NETLINK_SOCK_DIAG AF_INET attribute

2017-06-25 Thread Dmitry V. Levin
On Tue, Jun 20, 2017 at 05:23:54PM +0800, JingPiao Chen wrote: > * tests/nlattr_inet_diag.c: New file. > * tests/gen_tests.in (nlattr_inet_diag): New entry. > * tests/pure_executables.list: Add nlattr_inet_diag. > * tests/.gitignore: Likewise. This tests decoding of inet_diag_msg attributes only,

[PATCH v4 09/10] tests: check decoding of NETLINK_SOCK_DIAG AF_INET attribute

2017-06-20 Thread JingPiao Chen
* tests/nlattr_inet_diag.c: New file. * tests/gen_tests.in (nlattr_inet_diag): New entry. * tests/pure_executables.list: Add nlattr_inet_diag. * tests/.gitignore: Likewise. --- tests/.gitignore| 1 + tests/gen_tests.in | 1 + tests/nlattr_inet_diag.c| 727 +