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

Go to the source code of this file.

Functions

static void clb_dpo_lock_srv6_end_m_gtp6_dt (dpo_id_t *dpo)
 
static void clb_dpo_unlock_srv6_end_m_gtp6_dt (dpo_id_t *dpo)
 
static u8clb_dpo_format_srv6_end_m_gtp6_dt (u8 *s, va_list *args)
 
static u8clb_format_srv6_end_m_gtp6_dt (u8 *s, va_list *args)
 
static uword clb_unformat_srv6_end_m_gtp6_dt (unformat_input_t *input, va_list *args)
 
static int clb_creation_srv6_end_m_gtp6_dt (ip6_sr_localsid_t *localsid)
 
static int clb_removal_srv6_end_m_gtp6_dt (ip6_sr_localsid_t *localsid)
 
static clib_error_tsrv6_end_m_gtp6_dt_init (vlib_main_t *vm)
 
 VNET_FEATURE_INIT (srv6_end_m_gtp6_dt, static)
 

Variables

srv6_end_main_v6_dt_t srv6_end_main_v6_dt
 
static const dpo_vft_t dpo_vft
 
static const char *const srv6_end_m_gtp6_dt_nodes []
 
static const char *const *const dpo_nodes [DPO_PROTO_NUM]
 
static u8 fn_name [] = "SRv6-End.M.GTP6.DT-plugin"
 
static u8 keyword_str [] = "end.m.gtp6.dt"
 
static u8 def_str [] = "Endpoint function with DT for IPv6/GTP tunnel"
 
static u8 param_str [] = "fib-index <index> [local-fib-table <index>]"
 

Function Documentation

◆ clb_creation_srv6_end_m_gtp6_dt()

static int clb_creation_srv6_end_m_gtp6_dt ( ip6_sr_localsid_t localsid)
static

Definition at line 134 of file gtp6_dt.c.

+ Here is the caller graph for this function:

◆ clb_dpo_format_srv6_end_m_gtp6_dt()

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

Definition at line 38 of file gtp6_dt.c.

◆ clb_dpo_lock_srv6_end_m_gtp6_dt()

static void clb_dpo_lock_srv6_end_m_gtp6_dt ( dpo_id_t dpo)
static

Definition at line 28 of file gtp6_dt.c.

◆ clb_dpo_unlock_srv6_end_m_gtp6_dt()

static void clb_dpo_unlock_srv6_end_m_gtp6_dt ( dpo_id_t dpo)
static

Definition at line 33 of file gtp6_dt.c.

◆ clb_format_srv6_end_m_gtp6_dt()

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

Definition at line 67 of file gtp6_dt.c.

+ Here is the caller graph for this function:

◆ clb_removal_srv6_end_m_gtp6_dt()

static int clb_removal_srv6_end_m_gtp6_dt ( ip6_sr_localsid_t localsid)
static

Definition at line 140 of file gtp6_dt.c.

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

◆ clb_unformat_srv6_end_m_gtp6_dt()

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

Definition at line 88 of file gtp6_dt.c.

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

◆ srv6_end_m_gtp6_dt_init()

static clib_error_t* srv6_end_m_gtp6_dt_init ( vlib_main_t vm)
static

Definition at line 152 of file gtp6_dt.c.

+ Here is the call graph for this function:

◆ VNET_FEATURE_INIT()

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

Variable Documentation

◆ def_str

u8 def_str[] = "Endpoint function with DT for IPv6/GTP tunnel"
static

Definition at line 63 of file gtp6_dt.c.

◆ dpo_nodes

const char* const* const dpo_nodes[DPO_PROTO_NUM]
static
Initial value:
= {
}
static const char *const srv6_end_m_gtp6_dt_nodes[]
Definition: gtp6_dt.c:52

Definition at line 57 of file gtp6_dt.c.

◆ dpo_vft

const dpo_vft_t dpo_vft
static
Initial value:
= {
}
static void clb_dpo_lock_srv6_end_m_gtp6_dt(dpo_id_t *dpo)
Definition: gtp6_dt.c:28
static u8 * clb_dpo_format_srv6_end_m_gtp6_dt(u8 *s, va_list *args)
Definition: gtp6_dt.c:38
static void clb_dpo_unlock_srv6_end_m_gtp6_dt(dpo_id_t *dpo)
Definition: gtp6_dt.c:33

Definition at line 46 of file gtp6_dt.c.

◆ fn_name

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

Definition at line 61 of file gtp6_dt.c.

◆ keyword_str

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

Definition at line 62 of file gtp6_dt.c.

◆ param_str

u8 param_str[] = "fib-index <index> [local-fib-table <index>]"
static

Definition at line 64 of file gtp6_dt.c.

◆ srv6_end_m_gtp6_dt_nodes

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

Definition at line 52 of file gtp6_dt.c.

◆ srv6_end_main_v6_dt

srv6_end_main_v6_dt_t srv6_end_main_v6_dt

Definition at line 25 of file gtp6_dt.c.