18 #ifndef __included_srv6_end_h__ 19 #define __included_srv6_end_h__ 29 #define SRV6_GTP_UDP_DST_PORT 2152 31 #define SRV6_NHTYPE_NONE 0 32 #define SRV6_NHTYPE_IPV4 1 33 #define SRV6_NHTYPE_IPV6 2 34 #define SRV6_NHTYPE_NON_IP 3 36 #ifndef IP_PROTOCOL_NONE 37 #define IP_PROTOCOL_NONE 59 40 #define SRV6_GTP6_UNKNOW 0 41 #define SRV6_GTP6_DT4 1 42 #define SRV6_GTP6_DT6 2 43 #define SRV6_GTP6_DT46 3 45 #if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ 46 #define BITALIGN2(A,B) A; B 47 #define BITALIGN3(A,B,C) A; B; C 49 #define BITALIGN2(A,B) B; A 50 #define BITALIGN3(A,B,C) C; B; A 53 #define GTPU_EXTHDR_FLAG 0x04 54 #define GTPU_SEQ_FLAG 0x02 55 #define GTPU_EXTHDR_PDU_SESSION 0x85 57 #define SRH_TAG_ECHO_REPLY 0x0008 58 #define SRH_TAG_ECHO_REQUEST 0x0004 59 #define SRH_TAG_ERROR_INDICATION 0x0002 60 #define SRH_TAG_END_MARKER 0x0001 82 #define GTPU_TYPE_ECHO_REQUEST 1 83 #define GTPU_TYPE_ECHO_REPLY 2 84 #define GTPU_TYPE_ERROR_INDICATION 26 85 #define GTPU_TYPE_END_MARKER 254 86 #define GTPU_TYPE_GTPU 255 118 #define GTPU_PDU_SESSION_P_BIT_MASK 0x80 119 #define GTPU_PDU_SESSION_R_BIT_MASK 0x40 120 #define GTPU_PDU_SESSION_QFI_MASK 0x3f 122 #define SRV6_PDU_SESSION_U_BIT_MASK 0x01 123 #define SRV6_PDU_SESSION_R_BIT_MASK 0x02 124 #define SRV6_PDU_SESSION_QFI_MASK 0xfC 144 #define GTPU_V1_VER (1<<5) 146 #define GTPU_PT_GTP (1<<4)
srv6_end_main_v4_t srv6_end_main_v4
vlib_node_registration_t srv6_end_m_gtp4_e
(constructor) VLIB_REGISTER_NODE (srv6_end_m_gtp4_e)
u32 end_m_gtp6_d_node_index
struct srv6_end_main_v6_s srv6_end_main_v6_t
u32 end_m_gtp6_d_di_node_index
vl_api_fib_path_type_t type
struct srv6_end_main_v6_decap_di_s srv6_end_main_v6_decap_di_t
struct srv6_end_gtp6_param_s srv6_end_gtp6_param_t
#define BITALIGN3(A, B, C)
struct srv6_end_gtp4_param_s srv6_end_gtp4_param_t
srv6_t_main_v4_decap_t srv6_t_main_v4_decap
The fine-grained event logger allows lightweight, thread-safe event logging at minimum cost...
u32 end_m_gtp4_e_node_index
ip6_address_t v6src_prefix
struct srv6_end_main_v4_s srv6_end_main_v4_t
struct srv6_t_main_v4_decap_s srv6_t_main_v4_decap_t
struct srv6_end_main_v6_decap_s srv6_end_main_v6_decap_t
u32 t_m_gtp4_d_node_index
ip4_gtpu_header_t cache_hdr
ip6_gtpu_header_t cache_hdr
u32 end_m_gtp6_e_node_index
srv6_end_main_v6_t srv6_end_main_v6
vlib_node_registration_t srv6_end_m_gtp6_d_di
(constructor) VLIB_REGISTER_NODE (srv6_end_m_gtp6_d_di)
struct _vlib_node_registration vlib_node_registration_t
vlib_node_registration_t srv6_end_m_gtp6_e
(constructor) VLIB_REGISTER_NODE (srv6_end_m_gtp6_e)
vlib_node_registration_t srv6_end_m_gtp6_d
(constructor) VLIB_REGISTER_NODE (srv6_end_m_gtp6_d)
Segment Routing data structures definitions.
srv6_end_main_v6_decap_t srv6_end_main_v6_decap
ip6srv_combo_header_t cache_hdr
srv6_end_main_v6_decap_di_t srv6_end_main_v6_decap_di