summaryrefslogtreecommitdiffstats
path: root/net/ipv6/seg6_local.c
diff options
context:
space:
mode:
authorDavid Lebrun <david.lebrun@uclouvain.be>2017-08-25 09:56:45 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-26 02:10:23 +0200
commit38ee7f2d47565689f35662d488d25e7afc43477d (patch)
tree7d261117425ede357f63357eb403f13f63c1926e /net/ipv6/seg6_local.c
parentipv6: sr: add support for ip4ip6 encapsulation (diff)
downloadlinux-38ee7f2d47565689f35662d488d25e7afc43477d.tar.xz
linux-38ee7f2d47565689f35662d488d25e7afc43477d.zip
ipv6: sr: add support for encapsulation of L2 frames
This patch implements the L2 frame encapsulation mechanism, referred to as T.Encaps.L2 in the SRv6 specifications [1]. A new type of SRv6 tunnel mode is added (SEG6_IPTUN_MODE_L2ENCAP). It only accepts packets with an existing MAC header (i.e., it will not work for locally generated packets). The resulting packet looks like IPv6 -> SRH -> Ethernet -> original L3 payload. The next header field of the SRH is set to NEXTHDR_NONE. [1] https://tools.ietf.org/html/draft-filsfils-spring-srv6-network-programming-01 Signed-off-by: David Lebrun <david.lebrun@uclouvain.be> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/seg6_local.c')
0 files changed, 0 insertions, 0 deletions