Merge some common code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | libxtables: Extend MAC address printing/parsing supportextensions/ extensions/ extensions/ +8 more | +106 | 0 replies | |
| 2/3 | xtables-arp: Don't use ARPT_INV_*iptables/ iptables/ iptables/ | +53 | 0 replies | |
| 3/3 | xshared: Merge some command option-related codeiptables/ iptables/ iptables/ +3 more | +89 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [iptables PATCH 0/3] Merge some common code
This is basically fallout from an upcoming larger code merge around arptables:
Patch 1 extends MAC address parsing capabilities of libxtables so the various implementations in extensions and xtables code may be dropped.
Patch 2 is a requirement for patch 3 but rather large: It changes the code to not use arptables-specific inv-flags (ARPT_INV_*) anymore as they clash badly with iptables-ones (IPT_INV_*).
Patch 3 merges the three copies of 'commands_v_options' table along with generic_opt_check() routine as well as 'optflags' array and opt2char() routine. Both are extended to work for arptables as well.
Phil Sutter (3):
libxtables: Extend MAC address printing/parsing support
xtables-arp: Don't use ARPT_INV_*
xshared: Merge some command option-related code
extensions/libarpt_mangle.c | 13 +-- extensions/libebt_arp.c | 50 +--------- extensions/libebt_stp.c | 60 ++---------- extensions/libxt_mac.c | 15 +-- include/xtables.h | 3 + iptables/ip6tables.c | 79 ---------------- iptables/iptables.c | 80 ---------------- iptables/nft-arp.c | 92 +++++++------------ iptables/nft-arp.h | 7 ++ iptables/nft-bridge.c | 37 +------- .../ipt-save/dumps/ipt-save-filter.txt | 4 +- iptables/xshared.c | 74 +++++++++++++++ iptables/xshared.h | 20 ++-- iptables/xtables-arp.c | 86 +++-------------- iptables/xtables-eb-translate.c | 8 +- iptables/xtables-eb.c | 59 ++---------- iptables/xtables.c | 80 ---------------- libxtables/xtables.c | 73 +++++++++++++++ 18 files changed, 248 insertions(+), 592 deletions(-)
Signature · 1 line
2.28.0