From 9e722bd466383dd53b10d4c1de95ad18db939147 Mon Sep 17 00:00:00 2001 From: Tetsuya Murakami Date: Wed, 4 Mar 2020 16:27:14 -0800 Subject: 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 Change-Id: I890e5171bf03513d54b4830f01b9dc7f47fe7c48 Signed-off-by: Tetsuya Murakami --- src/vnet/srv6/sr_packet.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/vnet/srv6/sr_packet.h') 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 * -- cgit 1.2.3-korg