diff options
author | William Tu <u9012063@gmail.com> | 2020-05-05 09:05:06 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-13 12:50:14 +0200 |
commit | cb6f9da80526a7874bf97fd2a83b95ea415d6ac6 (patch) | |
tree | 759d9346541111054fe1fd4c799c7c17f60294b9 /net/xfrm | |
parent | 9f0dcca773117f0b240d1db97db27f0b8aac106a (diff) | |
download | linux-stable-cb6f9da80526a7874bf97fd2a83b95ea415d6ac6.tar.gz linux-stable-cb6f9da80526a7874bf97fd2a83b95ea415d6ac6.tar.bz2 linux-stable-cb6f9da80526a7874bf97fd2a83b95ea415d6ac6.zip |
erspan: Add type I version 0 support.
[ Upstream commit f989d546a2d5a9f001f6f8be49d98c10ab9b1897 ]
The Type I ERSPAN frame format is based on the barebones
IP + GRE(4-byte) encapsulation on top of the raw mirrored frame.
Both type I and II use 0x88BE as protocol type. Unlike type II
and III, no sequence number or key is required.
To creat a type I erspan tunnel device:
$ ip link add dev erspan11 type erspan \
local 172.16.1.100 remote 172.16.1.200 \
erspan_ver 0
Signed-off-by: William Tu <u9012063@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 17af420545a7 ("erspan: make sure erspan_base_hdr is present in skb->head")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions