FD.io VPP  v21.01.1
Vector Packet Processing
gtp6_d.c File Reference
+ Include dependency graph for gtp6_d.c:

Go to the source code of this file.

Functions

static void clb_dpo_lock_srv6_end_m_gtp6_d (dpo_id_t *dpo)
 
static void clb_dpo_unlock_srv6_end_m_gtp6_d (dpo_id_t *dpo)
 
static u8clb_dpo_format_srv6_end_m_gtp6_d (u8 *s, va_list *args)
 
static u8clb_format_srv6_end_m_gtp6_d (u8 *s, va_list *args)
 
static uword clb_unformat_srv6_end_m_gtp6_d (unformat_input_t *input, va_list *args)
 
static int clb_creation_srv6_end_m_gtp6_d (ip6_sr_localsid_t *localsid)
 
static int clb_removal_srv6_end_m_gtp6_d (ip6_sr_localsid_t *localsid)
 
static clib_error_tsrv6_end_m_gtp6_d_init (vlib_main_t *vm)
 
 VNET_FEATURE_INIT (srv6_end_m_gtp6_d, static)
 

Variables

srv6_end_main_v6_decap_t srv6_end_main_v6_decap
 
static const dpo_vft_t dpo_vft
 
static const char *const srv6_end_m_gtp6_d_nodes []
 
static const char *const *const dpo_nodes [DPO_PROTO_NUM]
 
static u8 fn_name [] = "SRv6-End.M.GTP6.D-plugin"
 
static u8 keyword_str [] = "end.m.gtp6.d"
 
static u8 def_str []
 
static u8 param_str [] = "<sr-prefix>/<sr-prefixlen> [nhtype <nhtype>]"
 

Function Documentation

◆ clb_creation_srv6_end_m_gtp6_d()

static int clb_creation_srv6_end_m_gtp6_d ( ip6_sr_localsid_t localsid)
static

Definition at line 141 of file gtp6_d.c.

+ Here is the caller graph for this function:

◆ clb_dpo_format_srv6_end_m_gtp6_d()

static u8* clb_dpo_format_srv6_end_m_gtp6_d ( u8 s,
va_list *  args 
)
static

Definition at line 37 of file gtp6_d.c.

◆ clb_dpo_lock_srv6_end_m_gtp6_d()

static void clb_dpo_lock_srv6_end_m_gtp6_d ( dpo_id_t dpo)
static

Definition at line 27 of file gtp6_d.c.

◆ clb_dpo_unlock_srv6_end_m_gtp6_d()

static void clb_dpo_unlock_srv6_end_m_gtp6_d ( dpo_id_t dpo)
static

Definition at line 32 of file gtp6_d.c.

◆ clb_format_srv6_end_m_gtp6_d()

static u8* clb_format_srv6_end_m_gtp6_d ( u8 s,
va_list *  args 
)
static

Definition at line 67 of file gtp6_d.c.

+ Here is the caller graph for this function:

◆ clb_removal_srv6_end_m_gtp6_d()

static int clb_removal_srv6_end_m_gtp6_d ( ip6_sr_localsid_t localsid)
static

Definition at line 147 of file gtp6_d.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clb_unformat_srv6_end_m_gtp6_d()

static uword clb_unformat_srv6_end_m_gtp6_d ( unformat_input_t input,
va_list *  args 
)
static

Definition at line 95 of file gtp6_d.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ srv6_end_m_gtp6_d_init()

static clib_error_t* srv6_end_m_gtp6_d_init ( vlib_main_t vm)
static

Definition at line 159 of file gtp6_d.c.

+ Here is the call graph for this function:

◆ VNET_FEATURE_INIT()

VNET_FEATURE_INIT ( srv6_end_m_gtp6_d  ,
static   
)
+ Here is the caller graph for this function:

Variable Documentation

◆ def_str

u8 def_str[]
static
Initial value:
=
"Endpoint function with dencapsulation for IPv6/GTP tunnel"

Definition at line 62 of file gtp6_d.c.

◆ dpo_nodes

const char* const* const dpo_nodes[DPO_PROTO_NUM]
static
Initial value:
= {
}
static const char *const srv6_end_m_gtp6_d_nodes[]
Definition: gtp6_d.c:51

Definition at line 56 of file gtp6_d.c.

◆ dpo_vft

const dpo_vft_t dpo_vft
static
Initial value:
= {
}
static void clb_dpo_unlock_srv6_end_m_gtp6_d(dpo_id_t *dpo)
Definition: gtp6_d.c:32
static void clb_dpo_lock_srv6_end_m_gtp6_d(dpo_id_t *dpo)
Definition: gtp6_d.c:27
static u8 * clb_dpo_format_srv6_end_m_gtp6_d(u8 *s, va_list *args)
Definition: gtp6_d.c:37

Definition at line 45 of file gtp6_d.c.

◆ fn_name

u8 fn_name[] = "SRv6-End.M.GTP6.D-plugin"
static

Definition at line 60 of file gtp6_d.c.

◆ keyword_str

u8 keyword_str[] = "end.m.gtp6.d"
static

Definition at line 61 of file gtp6_d.c.

◆ param_str

u8 param_str[] = "<sr-prefix>/<sr-prefixlen> [nhtype <nhtype>]"
static

Definition at line 64 of file gtp6_d.c.

◆ srv6_end_m_gtp6_d_nodes

const char* const srv6_end_m_gtp6_d_nodes[]
static
Initial value:
= {
"srv6-end-m-gtp6-d",
NULL,
}

Definition at line 51 of file gtp6_d.c.

◆ srv6_end_main_v6_decap

srv6_end_main_v6_decap_t srv6_end_main_v6_decap

Definition at line 24 of file gtp6_d.c.