netfilter: nf_tables: Add meta expression key for bridge interface name
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Mon, 14 Apr 2014 12:41:28 +0000 (15:41 +0300)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 24 Apr 2014 08:37:28 +0000 (10:37 +0200)
commitf5efc696cc711021cc73e7543cc3038e58459707
treeb7495a6875d98561773d137f12d4da5d993a7870
parentaa45660c6b59388fac3995a8c2998d710ef28fd4
netfilter: nf_tables: Add meta expression key for bridge interface name

NFT_META_BRI_IIFNAME to get packet input bridge interface name
NFT_META_BRI_OIFNAME to get packet output bridge interface name

Such meta key are accessible only through NFPROTO_BRIDGE family, on a
dedicated nft meta module: nft_meta_bridge.

Suggested-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/uapi/linux/netfilter/nf_tables.h
net/bridge/Makefile
net/bridge/netfilter/Kconfig
net/bridge/netfilter/Makefile
net/bridge/netfilter/nft_meta_bridge.c [new file with mode: 0644]