[PATCH nft 0/4] add mptcp suboption mnemonics

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

 



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(-)

-- 
2.45.3





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

  Powered by Linux