FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
gtp6_d_di.c File Reference
+ Include dependency graph for gtp6_d_di.c:

Go to the source code of this file.

Functions

static void clb_dpo_lock_srv6_end_m_gtp6_d_di (dpo_id_t *dpo)
 
static void clb_dpo_unlock_srv6_end_m_gtp6_d_di (dpo_id_t *dpo)
 
static u8clb_dpo_format_srv6_end_m_gtp6_d_di (u8 *s, va_list *args)
 
static u8clb_format_srv6_end_m_gtp6_d_di (u8 *s, va_list *args)
 
static uword clb_unformat_srv6_end_m_gtp6_d_di (unformat_input_t *input, va_list *args)
 
static int clb_creation_srv6_end_m_gtp6_d_di (ip6_sr_localsid_t *localsid)
 
static int clb_removal_srv6_end_m_gtp6_d_di (ip6_sr_localsid_t *localsid)
 
static clib_error_tsrv6_end_m_gtp6_d_di_init (vlib_main_t *vm)
 
 VNET_FEATURE_INIT (srv6_end_m_gtp6_d_di, static)
 

Variables

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

Function Documentation

◆ clb_creation_srv6_end_m_gtp6_d_di()

static int clb_creation_srv6_end_m_gtp6_d_di ( ip6_sr_localsid_t localsid)
static

Definition at line 140 of file gtp6_d_di.c.

+ Here is the caller graph for this function:

◆ clb_dpo_format_srv6_end_m_gtp6_d_di()

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

Definition at line 37 of file gtp6_d_di.c.

+ Here is the call graph for this function:

◆ clb_dpo_lock_srv6_end_m_gtp6_d_di()

static void clb_dpo_lock_srv6_end_m_gtp6_d_di ( dpo_id_t dpo)
static

Definition at line 27 of file gtp6_d_di.c.

◆ clb_dpo_unlock_srv6_end_m_gtp6_d_di()

static void clb_dpo_unlock_srv6_end_m_gtp6_d_di ( dpo_id_t dpo)
static

Definition at line 32 of file gtp6_d_di.c.

◆ clb_format_srv6_end_m_gtp6_d_di()

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

Definition at line 67 of file gtp6_d_di.c.

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

◆ clb_removal_srv6_end_m_gtp6_d_di()

static int clb_removal_srv6_end_m_gtp6_d_di ( ip6_sr_localsid_t localsid)
static

Definition at line 146 of file gtp6_d_di.c.

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

◆ clb_unformat_srv6_end_m_gtp6_d_di()

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

Definition at line 95 of file gtp6_d_di.c.

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

◆ srv6_end_m_gtp6_d_di_init()

static clib_error_t* srv6_end_m_gtp6_d_di_init ( vlib_main_t vm)
static

Definition at line 158 of file gtp6_d_di.c.

+ Here is the call graph for this function:

◆ VNET_FEATURE_INIT()

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

Variable Documentation

◆ def_str

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

Definition at line 62 of file gtp6_d_di.c.

◆ dpo_nodes

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

Definition at line 56 of file gtp6_d_di.c.

◆ dpo_vft

const dpo_vft_t dpo_vft
static
Initial value:
= {
}
static u8 * clb_dpo_format_srv6_end_m_gtp6_d_di(u8 *s, va_list *args)
Definition: gtp6_d_di.c:37
static void clb_dpo_lock_srv6_end_m_gtp6_d_di(dpo_id_t *dpo)
Definition: gtp6_d_di.c:27
static void clb_dpo_unlock_srv6_end_m_gtp6_d_di(dpo_id_t *dpo)
Definition: gtp6_d_di.c:32

Definition at line 45 of file gtp6_d_di.c.

◆ fn_name

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

Definition at line 60 of file gtp6_d_di.c.

◆ keyword_str

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

Definition at line 61 of file gtp6_d_di.c.

◆ param_str

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

Definition at line 64 of file gtp6_d_di.c.

◆ srv6_end_m_gtp6_d_di_nodes

const char* const srv6_end_m_gtp6_d_di_nodes[]
static
Initial value:
= {
"srv6-end-m-gtp6-d-di",
}
#define NULL
Definition: clib.h:58

Definition at line 51 of file gtp6_d_di.c.

◆ srv6_end_main_v6_decap_di

srv6_end_main_v6_decap_di_t srv6_end_main_v6_decap_di

Definition at line 24 of file gtp6_d_di.c.