xlat/nl_netfilter_subsys_ids.h is included twice because netlink.c and
netlink_netfilter.c are use NFNL_SUBSYS_* constants defined.

we call generic netfilter subsystem decoder ignore msg_type range.
If this design is incorrect, I will drop this patch.

Following kernel commits will help the reviewer:

"res_id" field:
v4.2-rc6-148-ga9de977 ("netfilter: nfnetlink: work around wrong endianess in 
res_id field")

"version" field:
v2.6.13-158-g080774a ("[NETFILTER]: Add ctnetlink subsystem")

Chen Jingpiao (4):
  netlink: introduce NETLINK_NETFILTER parser
  tests: add check for NETLINK_NETFILTER parser
  nfnetlink: introduce generic netfilter subsystem decoder
  tests: add check for decoding of netfilter subsystem

 Makefile.am                |   1 +
 defs.h                     |   2 +
 netlink.c                  |   3 +
 netlink_netfilter.c        |  95 +++++++++++++++++++++++++++
 tests/netlink_netfilter.c  | 157 ++++++++++++++++++++++++++++++++++++++++++++-
 xlat/netfilter_versions.in |   2 +
 6 files changed, 258 insertions(+), 2 deletions(-)
 create mode 100644 netlink_netfilter.c
 create mode 100644 xlat/netfilter_versions.in

-- 
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

Reply via email to