On Thu, Aug 10, 2017 at 09:07:07AM +0800, JingPiao Chen wrote: > * tests/netlink_route.c (test_rtnl_neigh): New function. > (main): Use it. > > Co-authored-by: Fabien Siron <fabien.si...@epita.fr> > --- > tests/netlink_route.c | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > > diff --git a/tests/netlink_route.c b/tests/netlink_route.c > index 0c62584..3aba2a0 100644 > --- a/tests/netlink_route.c > +++ b/tests/netlink_route.c > @@ -290,6 +290,26 @@ test_rtnl_rule(const int fd) > } > #endif > > +static void > +test_rtnl_neigh(const int fd) > +{ > + void *const nlh0 = tail_alloc(NLMSG_HDRLEN); > + const struct ndmsg msg = {
Shouldn't <linux/neighbour.h> be included first? -- ldv
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel