]> git.ipfire.org Git - thirdparty/nftables.git/commit
meta: add iifkind and oifkind support
authorwenxu <wenxu@ucloud.cn>
Thu, 24 Jan 2019 14:23:49 +0000 (22:23 +0800)
committerFlorian Westphal <fw@strlen.de>
Mon, 28 Jan 2019 06:36:22 +0000 (07:36 +0100)
commit512795a673f999fb04b84dbbbe41174e9c581430
tree22becd9b9be0890253977be3709a87be73d8ac47
parent88ba0c92754d89c71dab11f701839522a5ddb5a9
meta: add iifkind and oifkind support

This can be used to match the kind type of iif or oif
interface of the packet.  Example:

add rule inet raw prerouting meta iifkind "vrf" accept

Signed-off-by: wenxu <wenxu@ucloud.cn>
Signed-off-by: Florian Westphal <fw@strlen.de>
doc/primary-expression.txt
include/linux/netfilter/nf_tables.h
src/meta.c