FD.io VPP
v18.01.2-1-g9b554f3
Vector Packet Processing
|
Go to the source code of this file.
Functions | |
static int | srv6_localsid_creation_fn (ip6_sr_localsid_t *localsid) |
static int | srv6_localsid_removal_fn (ip6_sr_localsid_t *localsid) |
u8 * | format_srv6_localsid_sample (u8 *s, va_list *args) |
uword | unformat_srv6_localsid_sample (unformat_input_t *input, va_list *args) |
static u8 * | format_srv6_localsid_sample_dpo (u8 *s, va_list *args) |
void | srv6_localsid_sample_dpo_lock (dpo_id_t *dpo) |
void | srv6_localsid_sample_dpo_unlock (dpo_id_t *dpo) |
static clib_error_t * | srv6_localsid_sample_init (vlib_main_t *vm) |
VLIB_PLUGIN_REGISTER () | |
Variables | |
unsigned char | srv6_localsid_name [32] = "Sample-SRv6-LocalSID-plugin" |
unsigned char | keyword_str [32] = "new_srv6_localsid" |
unsigned char | def_str [64] = "This is a definition of a sample new_srv6_localsid" |
unsigned char | params_str [32] = "<fib_table>" |
static const dpo_vft_t | srv6_localsid_sample_vft |
static const char *const | srv6_localsid_sample_ip6_nodes [] |
static const char *const *const | srv6_localsid_sample_nodes [DPO_PROTO_NUM] |
Definition at line 72 of file srv6_localsid_sample.c.
|
static |
|
static |
Definition at line 50 of file srv6_localsid_sample.c.
void srv6_localsid_sample_dpo_lock | ( | dpo_id_t * | dpo | ) |
Definition at line 122 of file srv6_localsid_sample.c.
void srv6_localsid_sample_dpo_unlock | ( | dpo_id_t * | dpo | ) |
Definition at line 127 of file srv6_localsid_sample.c.
|
static |
uword unformat_srv6_localsid_sample | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
Definition at line 86 of file srv6_localsid_sample.c.
VLIB_PLUGIN_REGISTER | ( | ) |
Definition at line 30 of file srv6_localsid_sample.c.
unsigned char keyword_str[32] = "new_srv6_localsid" |
Definition at line 29 of file srv6_localsid_sample.c.
unsigned char params_str[32] = "<fib_table>" |
Definition at line 31 of file srv6_localsid_sample.c.
unsigned char srv6_localsid_name[32] = "Sample-SRv6-LocalSID-plugin" |
Definition at line 28 of file srv6_localsid_sample.c.
|
static |
Definition at line 137 of file srv6_localsid_sample.c.
|
static |
Definition at line 142 of file srv6_localsid_sample.c.
|
static |
Definition at line 131 of file srv6_localsid_sample.c.