Skip to content

Easier base chain declaration

Tomasz Bursztyka netfilter-devel 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am 1378288222-13182-1-git-send-email-tomasz.bursztyka@linux.intel.com

Versions newest first · linked by author and title

  1. v2 Latest4 patches 6 repliesApplied
  2. v15 patches 3 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4src: Wrap netfilter hooks around human readable stringsinclude/rule.h src/evaluate.c src/parser.y +2 more+123 -251 reply
2/4src: Ensure given base chain type is a valid oneinclude/rule.h src/parser.y src/rule.c+32 -23 replies
3/4src: Add priority keyword on base chain descriptionsrc/parser.y src/rule.c+5 -51 reply
4/4tests: Update bate chain creation according to latest syntax changestests/dictionary tests/expr-ct tests/expr-meta +8 more+11 -111 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [nftables tool v2 PATCH 0/4] Easier base chain declaration

Same patchset as before (minus bug fix which got applied already) applying comments. Now chain's hook names are validated at parsing stage, and their scope is checked at evaluation thus the error can be reported on the command line properly.

Rest is same as before, just refactored a bit the type checking.

Tomasz Bursztyka (4):
src: Wrap netfilter hooks around human readable strings
src: Ensure given base chain type is a valid one
src: Add priority keyword on base chain description
tests: Update bate chain creation according to latest syntax changes

 include/rule.h      |  4 +++
 src/evaluate.c      | 44 +++++++++++++++++++++++++
 src/parser.y        | 39 +++++++++++++++++-----
 src/rule.c          | 95 ++++++++++++++++++++++++++++++++++++++++++++---------
 src/scanner.l       |  6 ----
 tests/dictionary    |  2 +-
 tests/expr-ct       |  2 +-
 tests/expr-meta     |  2 +-
 tests/family-bridge |  2 +-
 tests/family-ipv4   |  2 +-
 tests/family-ipv6   |  2 +-
 tests/obj-chain     |  2 +-
 tests/payload-ll    |  2 +-
 tests/set           |  2 +-
 tests/stmt-log      |  2 +-
 tests/verdict-maps  |  2 +-
 16 files changed, 169 insertions(+), 41 deletions(-)
Signature · 1 line
1.8.3.2