diff options
author | Tetsuya Murakami <tetsuya.mrk@gmail.com> | 2020-03-04 16:27:14 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-03-21 12:49:12 +0000 |
commit | 9e722bd466383dd53b10d4c1de95ad18db939147 (patch) | |
tree | f870d7ad6b974798ac26a0b1580a67b2f61f12a7 /src/vnet | |
parent | 7a6f5a4fee17bd34f70f9eb25a094764be39d81b (diff) |
srv6-mobile: Support GTP4/6.DT and User Plane message mapping
Support the following new features in srv6-mobile.
1. GTP4.DT
2. GTP6.DT
3. User Plane Message encoding based on draft-murakami-dmm-user-plane-message-encoding-01
4. Add SRv6 mobile test cases
Type: feature
Signed-off-by: Tetsuya Murakami <tetsuya.mrk@gmail.com>
Change-Id: I890e5171bf03513d54b4830f01b9dc7f47fe7c48
Signed-off-by: Tetsuya Murakami <tetsuya.mrk@gmail.com>
Diffstat (limited to 'src/vnet')
-rwxr-xr-x | src/vnet/srv6/sr_packet.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vnet/srv6/sr_packet.h b/src/vnet/srv6/sr_packet.h index d2fb0898530..dda776b4037 100755 --- a/src/vnet/srv6/sr_packet.h +++ b/src/vnet/srv6/sr_packet.h @@ -149,6 +149,13 @@ typedef struct ip6_address_t segments[0]; } __attribute__ ((packed)) ip6_sr_header_t; +typedef struct +{ + u8 type; + u8 length; + u8 value[0]; +} __attribute__ ((packed)) ip6_sr_tlv_t; + /* * fd.io coding-style-patch-verification: ON * |