All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH nft v4 0/6] Remaining bitwise-shift-related changes
@ 2020-02-03 11:20 Jeremy Sowden
  2020-02-03 11:20 ` [PATCH nft v4 1/6] parser: add parenthesized statement expressions Jeremy Sowden
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Jeremy Sowden @ 2020-02-03 11:20 UTC (permalink / raw)
  To: Netfilter Devel

While most of the v3 bitwise-shift patches were applied, a couple of the
tidy-up ones and the new tests in the bitwise-shift series needed a bit
more work.  This version introduces some new changes: a patch renaming a
variable and a couple adding some Python tests.

Changes since v3:

  * the second, fifth and sixth patches are new;
  * the commit message of the third patch has been expanded;
  * one of the shell tests has been amended to include a parenthesized
    statement expression.

Jeremy Sowden (6):
  parser: add parenthesized statement expressions.
  evaluate: correct variable name.
  evaluate: change shift byte-order to host-endian.
  tests: shell: add bit-shift tests.
  tests: py: add missing JSON output.
  tests: py: add bit-shift tests.

 src/evaluate.c                                | 14 ++---
 src/parser_bison.y                            | 25 ++++-----
 tests/py/any/ct.t                             |  1 +
 tests/py/any/ct.t.json                        | 51 +++++++++++++++++++
 tests/py/any/ct.t.payload                     | 22 ++++++++
 tests/py/inet/meta.t                          |  1 +
 tests/py/inet/meta.t.json                     | 22 ++++++++
 tests/py/inet/meta.t.payload                  |  6 +++
 tests/py/ip/meta.t.json                       | 35 +++++++++++++
 tests/py/ip6/meta.t.json                      | 35 +++++++++++++
 tests/shell/testcases/chains/0040mark_shift_0 | 11 ++++
 tests/shell/testcases/chains/0040mark_shift_1 | 11 ++++
 .../chains/dumps/0040mark_shift_0.nft         |  6 +++
 .../chains/dumps/0040mark_shift_1.nft         |  6 +++
 14 files changed, 227 insertions(+), 19 deletions(-)
 create mode 100755 tests/shell/testcases/chains/0040mark_shift_0
 create mode 100755 tests/shell/testcases/chains/0040mark_shift_1
 create mode 100644 tests/shell/testcases/chains/dumps/0040mark_shift_0.nft
 create mode 100644 tests/shell/testcases/chains/dumps/0040mark_shift_1.nft

-- 
2.24.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-02-07 16:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-03 11:20 [PATCH nft v4 0/6] Remaining bitwise-shift-related changes Jeremy Sowden
2020-02-03 11:20 ` [PATCH nft v4 1/6] parser: add parenthesized statement expressions Jeremy Sowden
2020-02-03 11:20 ` [PATCH nft v4 2/6] evaluate: correct variable name Jeremy Sowden
2020-02-03 11:20 ` [PATCH nft v4 3/6] evaluate: change shift byte-order to host-endian Jeremy Sowden
2020-02-03 11:20 ` [PATCH nft v4 4/6] tests: shell: add bit-shift tests Jeremy Sowden
2020-02-03 11:20 ` [PATCH nft v4 5/6] tests: py: add missing JSON output Jeremy Sowden
2020-02-03 11:20 ` [PATCH nft v4 6/6] tests: py: add bit-shift tests Jeremy Sowden
2020-02-07 16:09 ` [PATCH nft v4 0/6] Remaining bitwise-shift-related changes Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.