Go to the source code of this file.
|
struct | gtpu_header_t |
| Bits
Octets 8 7 6 5 4 3 2 1 1 Version PT (*) E S PN 2 Message Type 3 Length (1st Octet) 4 Length (2nd Octet) 5 Tunnel Endpoint Identifier (1st Octet) 6 Tunnel Endpoint Identifier (2nd Octet) 7 Tunnel Endpoint Identifier (3rd Octet) 8 Tunnel Endpoint Identifier (4th Octet) 9 Sequence Number (1st Octet)1) 4) 10 Sequence Number (2nd Octet)1) 4) 11 N-PDU Number2) 4) 12 Next Extension Header Type3) 4) More...
|
|
struct | gtpu_tunnel_t |
|
struct | gtpu_main_t |
|
struct | vnet_gtpu_add_del_tunnel_args_t |
|
struct | gtpu_encap_trace_t |
|
◆ foreach_gtpu_input_next
#define foreach_gtpu_input_next |
Value:_(L2_INPUT, "l2-input") \
_(IP4_INPUT, "ip4-input") \
_(IP6_INPUT, "ip6-input" )
Definition at line 178 of file gtpu.h.
◆ GTPU_E_BIT
#define GTPU_E_BIT (1<<2) |
◆ GTPU_E_S_PN_BIT
#define GTPU_E_S_PN_BIT (7<<0) |
◆ gtpu_error
#define gtpu_error |
( |
|
n, |
|
|
|
s |
|
) |
| GTPU_ERROR_##n, |
◆ GTPU_PN_BIT
#define GTPU_PN_BIT (1<<0) |
◆ GTPU_PT_BIT
#define GTPU_PT_BIT (1<<4) |
◆ GTPU_PT_GTP
#define GTPU_PT_GTP (1<<4) |
◆ GTPU_S_BIT
#define GTPU_S_BIT (1<<1) |
◆ GTPU_TYPE_GTPU
#define GTPU_TYPE_GTPU 255 |
◆ GTPU_V1_HDR_LEN
#define GTPU_V1_HDR_LEN 8 |
◆ GTPU_V1_VER
#define GTPU_V1_VER (1<<5) |
◆ GTPU_VER_MASK
#define GTPU_VER_MASK (7<<5) |
◆ gtpu_input_error_t
◆ gtpu_input_next_t
Enumerator |
---|
GTPU_INPUT_N_NEXT | |
Definition at line 184 of file gtpu.h.
◆ CLIB_PACKED() [1/4]
◆ CLIB_PACKED() [2/4]
◆ CLIB_PACKED() [3/4]
◆ CLIB_PACKED() [4/4]
◆ format_gtpu_encap_trace()
u8* format_gtpu_encap_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ vnet_gtpu_add_del_tunnel()
◆ vnet_int_gtpu_bypass_mode()
void vnet_int_gtpu_bypass_mode |
( |
u32 |
sw_if_index, |
|
|
u8 |
is_ip6, |
|
|
u8 |
is_enable |
|
) |
| |
◆ gtpu4_encap_node
(constructor) VLIB_REGISTER_NODE (gtpu4_encap_node)
Definition at line 687 of file gtpu_encap.c.
◆ gtpu4_input_node
Initial value:= {
.name = "gtpu4-input",
.vector_size =
sizeof (
u32),
.next_nodes = {
#define _(s,n)
},
}
static u8 * format_gtpu_rx_trace(u8 *s, va_list *args)
static char * gtpu_error_strings[]
#define foreach_gtpu_input_next
(constructor) VLIB_REGISTER_NODE (gtpu4_input_node)
Definition at line 761 of file gtpu_decap.c.
◆ gtpu6_encap_node
(constructor) VLIB_REGISTER_NODE (gtpu6_encap_node)
Definition at line 702 of file gtpu_encap.c.
◆ gtpu6_input_node
Initial value:= {
.name = "gtpu6-input",
.vector_size =
sizeof (
u32),
.next_nodes = {
#define _(s,n)
},
}
static u8 * format_gtpu_rx_trace(u8 *s, va_list *args)
static char * gtpu_error_strings[]
#define foreach_gtpu_input_next
(constructor) VLIB_REGISTER_NODE (gtpu6_input_node)
Definition at line 781 of file gtpu_decap.c.
◆ gtpu_main