Skip to content

bitwise multiregister support

Pablo Neira Ayuso netfilter-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyIn review
  2. v12 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5include: add new bitwise boolean attributes to nf_tables.hinclude/linux/netfilter/nf_tables.h+15 -30 replies
2/5expr: bitwise: rename some boolean operation functionssrc/expr/bitwise.c tests/nft-expr_bitwise-test.c+21 -210 replies
3/5expr: bitwise: add support for kernel space AND, OR and XOR operationsinclude/libnftnl/expr.h src/expr/bitwise.c+56 -20 replies
4/5tests: bitwise: refactor shift teststests/nft-expr_bitwise-test.c+44 -1090 replies
5/5tests: bitwise: add tests for new boolean operationstests/nft-expr_bitwise-test.c+105 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH libnftnl,v2 0/5] bitwise multiregister support

Hi,

This is just a rebase and reposting original series from Jeremy.

I removed a userspace check to disallow to combine _DATA and _SREG2 which kernel should reject already.

I posted the series from the wrong branch.

Jeremy Sowden (5):
include: add new bitwise boolean attributes to nf_tables.h
expr: bitwise: rename some boolean operation functions
expr: bitwise: add support for kernel space AND, OR and XOR operations
tests: bitwise: refactor shift tests
tests: bitwise: add tests for new boolean operations

 include/libnftnl/expr.h             |   1 +
 include/linux/netfilter/nf_tables.h |  18 ++-
 src/expr/bitwise.c                  |  65 +++++++-
 tests/nft-expr_bitwise-test.c       | 220 ++++++++++++++++------------
 4 files changed, 205 insertions(+), 99 deletions(-)
Signature · 1 line
2.30.2