Skip to content

Extend guided option parser for use by arptables

Phil Sutter netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6libxtables: Combine the two extension option mergerslibxtables/xtoptions.c+8 -430 replies
2/6libxtables: Fix guided option parser for use with arptableslibxtables/xtoptions.c+18 -50 replies
3/6libxtables: Introduce xtables_strtoul_base()include/xtables.h libxtables/xtables.c+13 -50 replies
4/6libxtables: Introduce struct xt_option_entry::baseinclude/xtables.h libxtables/xtoptions.c+4 -20 replies
5/6extensions: libarpt_mangle: Use guided option parserextensions/libarpt_mangle.c extensions/libarpt_mangle.t+48 -840 replies
6/6extensions: MARK: arptables: Use guided option parserextensions/libxt_MARK.c+15 -670 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [iptables PATCH 0/6] Extend guided option parser for use by arptables

Patch 1 is unrelated to the remaining ones, but fits into a series about libxtables option parser.

Patch 2 fixes for parsing of IP addresses with arptables, patches 3 and 4 enable users to parse integers in a fixed base.

Patches 5 and 6 then migrate more extensions over to using the guided option parser.

Phil Sutter (6):
libxtables: Combine the two extension option mergers
libxtables: Fix guided option parser for use with arptables
libxtables: Introduce xtables_strtoul_base()
libxtables: Introduce struct xt_option_entry::base
extensions: libarpt_mangle: Use guided option parser
extensions: MARK: arptables: Use guided option parser

 extensions/libarpt_mangle.c | 128 +++++++++++++-----------------------
 extensions/libarpt_mangle.t |   4 ++
 extensions/libxt_MARK.c     |  82 +++++------------------
 include/xtables.h           |   5 +-
 libxtables/xtables.c        |  16 +++--
 libxtables/xtoptions.c      |  77 ++++++++--------------
 6 files changed, 106 insertions(+), 206 deletions(-)
Signature · 1 line
2.41.0