diff options
author | Florian Westphal <fw@strlen.de> | 2019-12-18 12:10:40 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2020-01-03 13:05:15 +0100 |
commit | 6079297fffbd59fbdad40bc3651576d30989e2cc (patch) | |
tree | 124660a9f773c90fde0c648932123c95f8e7d705 /include/linux | |
parent | 7e15d9dc8c6cda0e49720500bec74d2534c30d0d (diff) |
expr: meta: add slave device matching
Cc: Martin Willi <martin@strongswan.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/netfilter/nf_tables.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/netfilter/nf_tables.h b/include/linux/netfilter/nf_tables.h index bb9b049..e237ecb 100644 --- a/include/linux/netfilter/nf_tables.h +++ b/include/linux/netfilter/nf_tables.h @@ -805,6 +805,8 @@ enum nft_exthdr_attributes { * @NFT_META_TIME_NS: time since epoch (in nanoseconds) * @NFT_META_TIME_DAY: day of week (from 0 = Sunday to 6 = Saturday) * @NFT_META_TIME_HOUR: hour of day (in seconds) + * @NFT_META_SDIF: slave device interface index + * @NFT_META_SDIFNAME: slave device interface name */ enum nft_meta_keys { NFT_META_LEN, @@ -840,6 +842,8 @@ enum nft_meta_keys { NFT_META_TIME_NS, NFT_META_TIME_DAY, NFT_META_TIME_HOUR, + NFT_META_SDIF, + NFT_META_SDIFNAME, }; /** |