diff options
author | 2021-04-03 21:59:42 +0800 | |
---|---|---|
committer | 2021-04-13 12:59:54 +0200 | |
commit | 3e1b0c168f6c8648f217c78ed6a4135af8c9d830 (patch) | |
tree | 8c5e9dd4f2114fdcf49a393469044b9b32d89529 /include/net/netfilter | |
parent | net: ethernet: ravb: Enable optional refclk (diff) | |
download | linux-3e1b0c168f6c8648f217c78ed6a4135af8c9d830.tar.gz linux-3e1b0c168f6c8648f217c78ed6a4135af8c9d830.tar.bz2 linux-3e1b0c168f6c8648f217c78ed6a4135af8c9d830.zip |
netfilter: flowtable: add vlan match offload support
This patch adds support for vlan_id, vlan_priority and vlan_proto match
for flowtable offload.
Signed-off-by: wenxu <wenxu@ucloud.cn>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netfilter')
-rw-r--r-- | include/net/netfilter/nf_flow_table.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_flow_table.h b/include/net/netfilter/nf_flow_table.h index 583b327d8fc0..d46e422c9d10 100644 --- a/include/net/netfilter/nf_flow_table.h +++ b/include/net/netfilter/nf_flow_table.h @@ -21,6 +21,8 @@ struct nf_flow_key { struct flow_dissector_key_control control; struct flow_dissector_key_control enc_control; struct flow_dissector_key_basic basic; + struct flow_dissector_key_vlan vlan; + struct flow_dissector_key_vlan cvlan; union { struct flow_dissector_key_ipv4_addrs ipv4; struct flow_dissector_key_ipv6_addrs ipv6; |