Skip to content

move more keywords away from initial scope

Florian Westphal netfilter-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12scanner: ct: move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+43 -380 replies
2/12scanner: ip: move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+23 -180 replies
3/12scanner: ip6: move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+18 -130 replies
4/12scanner: add fib scopeinclude/parser.h src/parser_bison.y src/scanner.l+5 -20 replies
5/12scanner: add ether scopeinclude/parser.h src/parser_bison.y src/scanner.l+9 -60 replies
6/12scanner: arp: move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+14 -90 replies
7/12scanner: remove saddr/daddr from initial statesrc/scanner.l+4 -20 replies
8/12scanner: vlan: move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+10 -50 replies
9/12scanner: limit: move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+20 -150 replies
10/12scanner: quota: move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+15 -120 replies
11/12scanner: move until,over,used keywords away from init statesrc/scanner.l+5 -30 replies
12/12scanner: secmark: move to own scopeinclude/parser.h src/parser_bison.y src/scanner.l+13 -100 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH nft 00/12] move more keywords away from initial scope

These patches move more keywords away from the initial flex scope. Just like the preceding patches they follow the same pattern:
1. New scope is entered from flex when encountering a start token, e.g. "ip".
2. Scope is left from bison once a complete expression has been parsed.

Unlike the initial patches which only did this for a few expressions this series also covers tokens that can appear in object context.

Florian Westphal (12):
scanner: ct: move to own scope
scanner: ip: move to own scope
scanner: ip6: move to own scope
scanner: add fib scope
scanner: add ether scope
scanner: arp: move to own scope
scanner: remove saddr/daddr from initial state
scanner: vlan: move to own scope
scanner: limit: move to own scope
scanner: quota: move to own scope
scanner: move until,over,used keywords away from init state
scanner: secmark: move to own scope

 include/parser.h   |  10 +++
 src/parser_bison.y | 176 ++++++++++++++++++++++++---------------------
 src/scanner.l      | 122 ++++++++++++++++++-------------
 3 files changed, 177 insertions(+), 131 deletions(-)
Signature · 1 line
2.26.2