This allows use of mnemonics, e.g. tcp option mptcp subtype mp-capable The new datatype is phony: on kernel-side its represented as TYPE_INTEGER. It can only be used a set key via the 'typeof' expression. This avoids bloating the (finite) list of data types just to handle the extra symbol table. include/datatype.h | 5 +++- src/expression.c | 34 ++++++++++++++++++++++ src/tcpopt.c | 30 ++++++++++++++++++- tests/py/any/tcpopt.t | 6 ++-- tests/py/any/tcpopt.t.json | 2 +- tests/py/any/tcpopt.t.json.output | 31 ++++++++++++++++++++ tests/py/any/tcpopt.t.payload | 12 ++++---- tests/shell/testcases/sets/dumps/typeof_sets_0.nft | 9 ++++++ tests/shell/testcases/sets/typeof_sets_0 | 9 ++++++ 9 files changed, 126 insertions(+), 12 deletions(-)