srv6-mobile: Update GTP4/6.D function 12/34712/8
authorTetsuya Murakami <tetsuya.mrk@gmail.com>
Fri, 10 Dec 2021 16:11:07 +0000 (08:11 -0800)
committerOle Tr�an <otroan@employees.org>
Wed, 5 Jan 2022 10:52:22 +0000 (10:52 +0000)
commitbe872a8ddae5812eb5690841fbc066967d0d9bb3
treed753cdc9ab994a5744f45be0ef1fec82831838e6
parentdfc853c0ac2f8f15765a51268a53b023d4cf6c65
srv6-mobile: Update GTP4/6.D function

GTP4/6.D behavior is updated as shown below.
1. When receiving GTP-U message or IPv6 linklocal destination in inner IP, GTP packet is tnralated to SRv6.
2. When receiving T-PDU packet, OuterIP/UDP/GTP headers are stripped off and Inner IP is encapsulated into SRv6 based on L3VPN SRv6 manner.

Type: feature

Signed-off-by: Tetsuya Murakami <tetsuya.mrk@gmail.com>
Change-Id: I6092c98ea80236d54017f84c5b35cca0b645f034
Signed-off-by: Tetsuya Murakami <tetsuya.mrk@gmail.com>
src/plugins/srv6-mobile/extra/Dockerfile.j2
src/plugins/srv6-mobile/extra/Dockerfile.j2.release
src/plugins/srv6-mobile/gtp4_d.c
src/plugins/srv6-mobile/gtp4_e.c
src/plugins/srv6-mobile/gtp6_d.c
src/plugins/srv6-mobile/gtp6_d_di.c
src/plugins/srv6-mobile/gtp6_e.c
src/plugins/srv6-mobile/mobile.h
src/plugins/srv6-mobile/node.c
test/test_srv6_mobile.py