netfilter: bridge: introduce broute meta statement
authorSriram Yagnaraman <sriram.yagnaraman@est.tech>
Fri, 24 Feb 2023 09:52:51 +0000 (10:52 +0100)
committerFlorian Westphal <fw@strlen.de>
Wed, 8 Mar 2023 13:21:18 +0000 (14:21 +0100)
commit4386b921857793440ebd4db3d6b70639149c7074
tree379a6dd9a0af9dc986a06c973426697876f8cfc6
parent7d8c48917a9576b5fc8871aa4946149b0e4a4927
netfilter: bridge: introduce broute meta statement

nftables equivalent for ebtables -t broute.

Implement broute meta statement to set br_netfilter_broute flag
in skb to force a packet to be routed instead of being bridged.

Signed-off-by: Sriram Yagnaraman <sriram.yagnaraman@est.tech>
Signed-off-by: Florian Westphal <fw@strlen.de>
include/uapi/linux/netfilter/nf_tables.h
net/bridge/netfilter/nft_meta_bridge.c