[PATCH 0/5] Implement basic protocol specific decoding of NETLINK_ROUTE
JingPiao Chen
chenjingpiao at gmail.com
Tue Jul 25 14:29:58 UTC 2017
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
More information about the Strace-devel
mailing list