Skip to content

add mptcp suboption mnemonics

Florian Westphal netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tcpopt: add symbol table for mptcp suboptionsinclude/datatype.h src/tcpopt.c tests/py/any/tcpopt.t +4 more+66 -80 replies
2/4expression: propagate key datatype for anonymous setssrc/expression.c tests/py/any/tcpopt.t tests/py/any/tcpopt.t.json +1 more+49 -90 replies
3/4netlink_delinearize: also consider exthdr type when trimming binopssrc/netlink_delinearize.c tests/shell/testcases/sets/dumps/typeof_sets_0.nft tests/shell/testcases/sets/typeof_sets_0+38 -10 replies
4/4expression: expr_build_udata_recurse should recursesrc/expression.c tests/py/any/tcpopt.t tests/py/any/tcpopt.t.json +1 more+92 -10 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPablo Neira Ayuso
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH nft 0/4] add mptcp suboption mnemonics

Allow users to do
tcp option mptcp subtype mp-capable

instead of having to use the raw values described in rfc8684.

First patch adds this, rest of the patches resolve printing issues when the mptcp option match is used in sets and concatenations.

Florian Westphal (4):
tcpopt: add symbol table for mptcp suboptions
expression: propagate key datatype for anonymous sets
netlink_delinearize: also consider exthdr type when trimming binops
expression: expr_build_udata_recurse should recurse

 include/datatype.h                            |  5 +-
 src/expression.c                              | 37 +++++++-
 src/netlink_delinearize.c                     | 10 +-
 src/tcpopt.c                                  | 30 +++++-
 tests/py/any/tcpopt.t                         |  7 +-
 tests/py/any/tcpopt.t.json                    | 94 +++++++++++++++++--
 tests/py/any/tcpopt.t.payload                 | 25 +++--
 .../testcases/sets/dumps/typeof_sets_0.nft    | 19 ++++
 tests/shell/testcases/sets/typeof_sets_0      | 37 ++++++++
 9 files changed, 245 insertions(+), 19 deletions(-)
Signature · 1 line
2.45.3