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 |
|
#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.
#define GTPU_E_BIT (1<<2) |
#define GTPU_E_S_PN_BIT (7<<0) |
#define gtpu_error |
( |
|
n, |
|
|
|
s |
|
) |
| GTPU_ERROR_##n, |
#define GTPU_PN_BIT (1<<0) |
#define GTPU_PT_BIT (1<<4) |
#define GTPU_PT_GTP (1<<4) |
#define GTPU_S_BIT (1<<1) |
#define GTPU_TYPE_GTPU 255 |
#define GTPU_V1_HDR_LEN 8 |
#define GTPU_V1_VER (1<<5) |
#define GTPU_VER_MASK (7<<5) |
Enumerator |
---|
GTPU_INPUT_N_NEXT |
|
Definition at line 184 of file gtpu.h.
u8* format_gtpu_encap_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
void vnet_int_gtpu_bypass_mode |
( |
u32 |
sw_if_index, |
|
|
u8 |
is_ip6, |
|
|
u8 |
is_enable |
|
) |
| |
(constructor) VLIB_REGISTER_NODE (gtpu4_encap_node)
Definition at line 681 of file gtpu_encap.c.
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[]
static uword gtpu4_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
#define foreach_gtpu_input_next
(constructor) VLIB_REGISTER_NODE (gtpu4_input_node)
Definition at line 810 of file gtpu_decap.c.
(constructor) VLIB_REGISTER_NODE (gtpu6_encap_node)
Definition at line 699 of file gtpu_encap.c.
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 uword gtpu6_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
static char * gtpu_error_strings[]
#define foreach_gtpu_input_next
(constructor) VLIB_REGISTER_NODE (gtpu6_input_node)
Definition at line 833 of file gtpu_decap.c.