diff options
author | 2021-03-24 02:30:41 +0100 | |
---|---|---|
committer | 2021-03-24 12:48:39 -0700 | |
commit | 4cd91f7c290f64fe430867ddbae10bff34657b6a (patch) | |
tree | dbb745f8344be02727179413bad095b782608991 /include/linux/netdevice.h | |
parent | netfilter: flowtable: use dev_fill_forward_path() to obtain egress device (diff) | |
download | wireguard-linux-4cd91f7c290f64fe430867ddbae10bff34657b6a.tar.xz wireguard-linux-4cd91f7c290f64fe430867ddbae10bff34657b6a.zip |
netfilter: flowtable: add vlan support
Add the vlan id and protocol to the flow tuple to uniquely identify
flows from the receive path. For the transmit path, dev_hard_header() on
the vlan device push the headers. This patch includes support for two
vlan headers (QinQ) from the ingress path.
Add a generic encap field to the flowtable entry which stores the
protocol and the tag id. This allows to reuse these fields in the PPPoE
support coming in a later patch.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions