Introduce boolean type and existence checks
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Introduce boolean datatype and boolean expressioninclude/ src/ src/ +1 more | +44 | 0 replies | |
| 2/5 | exthdr: Add support for exthdr specific flagsinclude/ include/ include/ +4 more | +18 | 0 replies | |
| 3/5 | exthdr: Implement existence checkinclude/ src/ src/ +7 more | +166 | 0 replies | |
| 4/5 | fib: Support existence checkinclude/ include/ src/ +4 more | +37 | 2 replies | |
| 5/5 | doc: Document boolean type and applicationsdoc/ | +134 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [nft PATCH 0/5] Introduce boolean type and existence checks
The following patch series implements a boolean datatype for use in a boolean expression as right-hand side of a relational. Based upon that, header existence matches are implemented for IPv6 extension and TCP option headers as well as an existence match of a FIB entry.
Phil Sutter (5):
Introduce boolean datatype and boolean expression
exthdr: Add support for exthdr specific flags
exthdr: Implement existence check
fib: Support existence check
doc: Document boolean type and applications
doc/nft.xml | 134 ++++++++++++++++++++++++++++++++++++ include/datatype.h | 2 + include/expression.h | 3 + include/exthdr.h | 4 +- include/linux/netfilter/nf_tables.h | 1 + include/tcpopt.h | 3 +- src/datatype.c | 19 +++++ src/evaluate.c | 17 ++++- src/expression.c | 4 ++ src/exthdr.c | 39 ++++++++--- src/fib.c | 5 +- src/netlink_delinearize.c | 5 +- src/netlink_linearize.c | 1 + src/parser_bison.y | 54 +++++++++++++++ src/scanner.l | 5 ++ src/tcpopt.c | 11 ++- tests/py/inet/fib.t | 3 + tests/py/inet/fib.t.payload | 10 +++ tests/py/inet/tcpopt.t | 3 + tests/py/inet/tcpopt.t.payload.inet | 14 ++++ tests/py/ip6/exthdr.t | 19 +++++ tests/py/ip6/exthdr.t.payload.ip6 | 60 ++++++++++++++++ 22 files changed, 399 insertions(+), 17 deletions(-) create mode 100644 tests/py/ip6/exthdr.t create mode 100644 tests/py/ip6/exthdr.t.payload.ip6
Signature · 1 line
2.11.0