[PATCH nft 0/5] cache updates

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

 



Hi,

This batch contains updates for the cache infrastructure:

Patch #1 improves integration with objects and the existing netlink
         dump filtering infrastructure.

Patch #2 updates rule dump per table, to avoid refetching rules
	 several times.

Patch #3 updates reset command to use the cache infrastructure.

Patch #4 and #5 extends test coverage.

Pablo Neira Ayuso (5):
  cache: add filtering support for objects
  cache: only dump rules for the given table
  cache: consolidate reset command
  tests: shell: cover anonymous set with reset command
  tests: shell: cover reset command with counter and quota

 include/cache.h                               |  12 +-
 include/netlink.h                             |   5 -
 src/cache.c                                   | 165 ++++++++++++++----
 src/evaluate.c                                |   2 +
 src/mnl.c                                     |   7 +-
 src/netlink.c                                 |  78 ---------
 src/parser_bison.y                            |   8 +-
 src/rule.c                                    |  48 +----
 tests/shell/testcases/listing/reset_objects   | 104 +++++++++++
 .../testcases/rule_management/0011reset_0     |  31 +++-
 10 files changed, 283 insertions(+), 177 deletions(-)
 create mode 100755 tests/shell/testcases/listing/reset_objects

-- 
2.30.2





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

  Powered by Linux