netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [nftables tool v2 PATCH 0/4] Easier base chain declaration
@ 2013-09-04  9:50 Tomasz Bursztyka
  2013-09-04  9:50 ` [nftables tool v2 PATCH 1/4] src: Wrap netfilter hooks around human readable strings Tomasz Bursztyka
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Tomasz Bursztyka @ 2013-09-04  9:50 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Tomasz Bursztyka

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(-)

-- 
1.8.3.2


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-09-05  9:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-04  9:50 [nftables tool v2 PATCH 0/4] Easier base chain declaration Tomasz Bursztyka
2013-09-04  9:50 ` [nftables tool v2 PATCH 1/4] src: Wrap netfilter hooks around human readable strings Tomasz Bursztyka
2013-09-04 10:44   ` Pablo Neira Ayuso
2013-09-04  9:50 ` [nftables tool v2 PATCH 2/4] src: Ensure given base chain type is a valid one Tomasz Bursztyka
2013-09-04 10:45   ` Pablo Neira Ayuso
2013-09-04 11:29     ` Tomasz Bursztyka
2013-09-05  9:03       ` Pablo Neira Ayuso
2013-09-04  9:50 ` [nftables tool v2 PATCH 3/4] src: Add priority keyword on base chain description Tomasz Bursztyka
2013-09-04 10:46   ` Pablo Neira Ayuso
2013-09-04  9:50 ` [nftables tool v2 PATCH 4/4] tests: Update bate chain creation according to latest syntax changes Tomasz Bursztyka
2013-09-04 10:46   ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).