Implement 'reset {set,map,element}' commands
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | evaluate: Merge some cases in cmd_evaluate_list()src/ | +4 | 0 replies | |
| 2/3 | evaluate: Cache looked up set for list commandssrc/ src/ src/ | +15 | 0 replies | |
| 3/3 | Implement 'reset {set,map,element}' commandsdoc/ doc/ include/ +10 more | +162 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [nft PATCH 0/3] Implement 'reset {set,map,element}' commands
This series makes use of the new NFT_MSG_GETSETELEM_RESET message type to reset state in set elements.
Patches one and two are fallout from working on the actual implementation in patch three.
Phil Sutter (3):
evaluate: Merge some cases in cmd_evaluate_list()
evaluate: Cache looked up set for list commands Implement 'reset {set,map,element}' commands
doc/libnftables-json.adoc | 2 +- doc/nft.txt | 13 ++-- include/linux/netfilter/nf_tables.h | 2 + include/mnl.h | 6 +- include/netlink.h | 5 +- src/cache.c | 9 ++- src/evaluate.c | 42 +++-------- src/json.c | 9 ++- src/mnl.c | 22 ++++-- src/netlink.c | 8 +-- src/parser_bison.y | 12 ++++ src/parser_json.c | 4 ++ src/rule.c | 27 +++++-- tests/shell/testcases/sets/reset_command_0 | 82 ++++++++++++++++++++++ 14 files changed, 181 insertions(+), 62 deletions(-) create mode 100755 tests/shell/testcases/sets/reset_command_0
Signature · 1 line
2.40.0