Skip to content

nft changes for xtables-arptables

Giuseppe Longo netfilter-devel 2 versions – In review

Get series with b4
b4 am 20130723161017.10040.6256.stgit@localhost

Versions newest first · linked by author and title

  1. v2 Latest5 patches 11 repliesIn review
  2. v14 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5nft: add builtin_table pointeriptables/nft.c iptables/nft.h iptables/xtables-config.c +4 more+38 -261 reply
2/5nft: search builtin tables via nft_handle tables pointeriptables/nft.c+7 -61 reply
3/5nft: nft_xtables_config_load() called only in nft_init()iptables/nft.c iptables/nft.h iptables/xtables-config.c +4 more+39 -516 replies
4/5nft: make functions publiciptables/nft.c iptables/nft.h+31 -90 replies
5/5nft: replace args.familyiptables/xtables.c+1 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [xtables-arptables PATCH v2 0/5] nft changes for xtables-arptables

The following series implements changes in nft code that permit to reuse some functions in other tool (like xtables-arptables).

I changed nft.h, now struct nft_handle gets a struct builtin_table pointer used in functions to works with a properly tables and not with tables declared in nft.c.

---

Giuseppe Longo (5):
nft: add builtin_table
nft: search builtin tables via nft_handle tables pointer
nft: nft_xtables_config_load() called only in nft_init()
nft: make functions public
nft: replace args.family

 iptables/nft.c                |   82 +++++++++++++++--------------------------
 iptables/nft.h                |   44 ++++++++++++++++++++++
 iptables/xtables-config.c     |    9 +++--
 iptables/xtables-restore.c    |   19 +++++-----
 iptables/xtables-save.c       |   18 +++++----
 iptables/xtables-standalone.c |   16 +++-----
 iptables/xtables.c            |    9 ++++-
 7 files changed, 111 insertions(+), 86 deletions(-)