Skip to content

nftables: add typeof support for objref maps

Florian Westphal netfilter-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3parser: allow typeof in objref mapssrc/parser_bison.y+9 -00 replies
2/3netlink: allow typeof keywords with objref maps during listingsrc/netlink.c+7 -10 replies
3/3tests: maps: add a test case for "limit" objref maptests/shell/testcases/maps/dumps/named_limits.json-nft tests/shell/testcases/maps/dumps/named_limits.nft tests/shell/testcases/maps/named_limits+442 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH nft 0/3] nftables: add typeof support for objref maps

First patch extends the bison parser to permit typeof with objref maps. Second patch "fixes" nftables listing mode to keep the typeof information for objref maps rather than doing a fallback to 'type'.

Third patch adds a test case for this.

These patches are on top of the two bison parser compaction changes.