netfilter: nft_meta_bridge: Add NFT_META_BRI_IIFVPROTO support
authorwenxu <wenxu@ucloud.cn>
Fri, 5 Jul 2019 13:16:37 +0000 (21:16 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 5 Jul 2019 19:34:50 +0000 (21:34 +0200)
commit2a3a93ef0ba5166e8b5766bb232f216fd412d40b
tree880ff034a53231f6d3742034084ac516483407d2
parent31aed46fedbba65abece57e14d24f00b52389c4f
netfilter: nft_meta_bridge: Add NFT_META_BRI_IIFVPROTO support

This patch allows you to match on bridge vlan protocol, eg.

nft add rule bridge firewall zones counter meta ibrvproto 0x8100

Signed-off-by: wenxu <wenxu@ucloud.cn>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/uapi/linux/netfilter/nf_tables.h
net/bridge/netfilter/nft_meta_bridge.c