The problem I meet: Need I separate files like NETLINK_SOCK_DIAG? Need I declare decode_family in defs.h or netlink.h? (decode_family is duplicate from netlink_sock_diag) I think they are in two different module, I do not declare decode_family.
Please give me some advice of the commit message of [PATCH 1/5]. JingPiao Chen (5): netlink: decode NETLINK_ROUTE messages first one byte of family tests: check decoding of NETLINK_ROUTE messages first one byte Move nl_route_types definition from netlink.c to netlink_route.c netlink: add a basic rtnetlink parser of link messages tests: check decoding of rtnetlink link messages Makefile.am | 1 + defs.h | 4 ++ netlink.c | 2 +- netlink_route.c | 117 ++++++++++++++++++++++++++++++++++++++++++++++++++ tests/netlink_route.c | 115 ++++++++++++++++++++++++++++++++++++++++++++++++- 5 files changed, 237 insertions(+), 2 deletions(-) create mode 100644 netlink_route.c -- 2.7.4 ------------------------------------------------------------------------------ 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