Share more code with legacy
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | xshared: Merge and share parse_chain()iptables/ iptables/ iptables/ +2 more | +26 | 0 replies | |
| 2/10 | nft: Change whitespace printing in save_rule callbackiptables/ iptables/ iptables/ +3 more | +30 | 0 replies | |
| 3/10 | xshared: Share print_iface() functioniptables/ iptables/ iptables/ +2 more | +33 | 0 replies | |
| 4/10 | xshared: Share save_rule_details() with legacyiptables/ iptables/ iptables/ +5 more | +50 | 0 replies | |
| 5/10 | xshared: Share save_ipv{4,6}_addr() with legacyiptables/ iptables/ iptables/ +3 more | +70 | 0 replies | |
| 6/10 | xshared: Share print_rule_details() with legacyiptables/ iptables/ iptables/ +5 more | +37 | 0 replies | |
| 7/10 | xshared: Share print_fragment() with legacyiptables/ iptables/ iptables/ +3 more | +25 | 0 replies | |
| 8/10 | xshared: Share print_header() with legacy iptablesiptables/ iptables/ iptables/ +6 more | +82 | 0 replies | |
| 9/10 | nft-shared: Drop unused function print_proto()iptables/ iptables/ | +0 | 0 replies | |
| 10/10 | xshared: Make load_proto() staticiptables/ iptables/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [iptables PATCH 00/10] Share more code with legacy
This series populates xshared.c with more code for use by both nft and legacy variants. A prerequisite for this is to change how output separating whitespace is printed (the old space before or after arg issue). Patch 2 does this and paves the way for patches 3-8. Patches 9 and 10 finish with a bit of cleanup.
Phil Sutter (10):
xshared: Merge and share parse_chain()
nft: Change whitespace printing in save_rule callback
xshared: Share print_iface() function
xshared: Share save_rule_details() with legacy
xshared: Share save_ipv{4,6}_addr() with legacy
xshared: Share print_rule_details() with legacy
xshared: Share print_fragment() with legacy
xshared: Share print_header() with legacy iptables
nft-shared: Drop unused function print_proto()
xshared: Make load_proto() static
iptables/ip6tables.c | 197 ++++------------------------------- iptables/iptables.c | 210 ++++---------------------------------- iptables/nft-arp.c | 8 +- iptables/nft-bridge.c | 12 ++- iptables/nft-ipv4.c | 75 ++------------ iptables/nft-ipv6.c | 37 ++----- iptables/nft-shared.c | 155 ++-------------------------- iptables/nft-shared.h | 18 +--- iptables/nft.c | 10 +- iptables/xshared.c | 231 +++++++++++++++++++++++++++++++++++++++++- iptables/xshared.h | 22 +++- iptables/xtables.c | 9 +- 12 files changed, 337 insertions(+), 647 deletions(-)
Signature · 1 line
2.33.0