sr: update NH value for Ethernet payloads
[vpp.git] / src / plugins / srv6-mobile / mobile.h
index f1de99a..460cbe1 100644 (file)
@@ -33,8 +33,8 @@
 #define SRV6_NHTYPE_IPV6       2
 #define SRV6_NHTYPE_NON_IP     3
 
-#ifndef IP_PROTOCOL_NONE
-#define IP_PROTOCOL_NONE       59
+#ifndef IP_PROTOCOL_IP6_ETHERNET
+#define IP_PROTOCOL_IP6_ETHERNET       143
 #endif
 
 #define SRV6_GTP6_UNKNOW       0
@@ -51,6 +51,7 @@
 #endif
 
 #define GTPU_EXTHDR_FLAG                0x04
+#define GTPU_SEQ_FLAG                  0x02
 #define GTPU_EXTHDR_PDU_SESSION         0x85
 
 #define SRH_TAG_ECHO_REPLY              0x0008