]> git.ipfire.org Git - thirdparty/iptables.git/commit
xshared: Merge invflags handling code
authorPhil Sutter <phil@nwl.cc>
Mon, 16 Nov 2020 16:20:57 +0000 (17:20 +0100)
committerPhil Sutter <phil@nwl.cc>
Mon, 17 May 2021 13:07:02 +0000 (15:07 +0200)
commit9dc50b5b8e4416219c700331c6e301d840f6e55d
tree44d2ae242c7a2659200cfd5330e0f492e0517d0f
parent3664249f520308e8d9ce6238374f08ac96aedbb6
xshared: Merge invflags handling code

Join invflags handling between iptables, ip6tables, xtables and
arptables. Ebtables still has its own code which differs quite a bit.

In order to use a shared set_option() routine, iptables and ip6tables
need to provide a local 'invflags' variable which is 16bits wide.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/ip6tables.c
iptables/iptables.c
iptables/nft-arp.h
iptables/xshared.c
iptables/xshared.h
iptables/xtables-arp.c
iptables/xtables.c