Merge some common code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | xtables: Make invflags 16bit wideiptables/ iptables/ | +3 | 0 replies | |
| 2/5 | xshared: Eliminate iptables_command_state->invertiptables/ iptables/ iptables/ +4 more | +113 | 0 replies | |
| 3/5 | xshared: Merge invflags handling codeiptables/ iptables/ iptables/ +4 more | +88 | 0 replies | |
| 4/5 | ebtables-translate: Use shared ebt_get_current_chain() functioniptables/ | +1 | 0 replies | |
| 5/5 | Use proto_to_name() from xshared in more placesinclude/ iptables/ iptables/ +3 more | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [iptables PATCH 0/5] Merge some common code
This is more or less fallout from a local branch merging arptables code into xtables:
Patches 1 and 2 are dependencies of patch 3 which combines invflags handling everywhere else than in ebtables as that is always a bit more "special" than the others.
Patch 4 fixes an actual bug as a side-effect of removing redundant code.
Patch 5 might change iptables-nft output slightly in corner-cases but makes it consistent with legacy.
Phil Sutter (5):
xtables: Make invflags 16bit wide
xshared: Eliminate iptables_command_state->invert
xshared: Merge invflags handling code
ebtables-translate: Use shared ebt_get_current_chain() function Use proto_to_name() from xshared in more places
include/xtables.h | 2 +- iptables/ip6tables.c | 161 +++++++++++--------------------- iptables/iptables.c | 160 +++++++++++-------------------- iptables/nft-arp.h | 7 -- iptables/nft-shared.c | 6 +- iptables/nft-shared.h | 2 +- iptables/xshared.c | 55 +++++++++-- iptables/xshared.h | 18 +++- iptables/xtables-arp.c | 44 --------- iptables/xtables-eb-translate.c | 19 +--- iptables/xtables-eb.c | 1 - iptables/xtables.c | 114 +++++++--------------- 12 files changed, 210 insertions(+), 379 deletions(-)
Signature · 1 line
2.31.0