summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2019-10-28 16:02:50 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-11-13 10:41:34 +0100
commit25da5eb32cd51383f6dca7aad252376f1979c075 (patch)
tree55f2b7fbf6f6fd977ab2be8b3c8c89160542942a /include/net
parent90bc72b13c08eedf73b7c0bd94ef23c467800c4a (diff)
downloadtalos-op-linux-25da5eb32cd51383f6dca7aad252376f1979c075.tar.gz
talos-op-linux-25da5eb32cd51383f6dca7aad252376f1979c075.zip
netfilter: nft_meta: offload support for interface index
This patch adds support for offloading the NFT_META_IIF selector. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/netfilter/nf_tables_offload.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_tables_offload.h b/include/net/netfilter/nf_tables_offload.h
index 03cf5856d76f..ea7d1d78b92d 100644
--- a/include/net/netfilter/nf_tables_offload.h
+++ b/include/net/netfilter/nf_tables_offload.h
@@ -45,6 +45,7 @@ struct nft_flow_key {
struct flow_dissector_key_ip ip;
struct flow_dissector_key_vlan vlan;
struct flow_dissector_key_eth_addrs eth_addrs;
+ struct flow_dissector_key_meta meta;
} __aligned(BITS_PER_LONG / 8); /* Ensure that we can do comparisons as longs. */
struct nft_flow_match {
OpenPOWER on IntegriCloud