[nft PATCH 0/3] Implement 'reset {set,map,element}' commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
2.40.0




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux