FD.io VPP
v17.04-9-g99c0734
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 73 of file srv6_localsid_sample.c.
|
static |
|
static |
Definition at line 51 of file srv6_localsid_sample.c.
void srv6_localsid_sample_dpo_lock | ( | dpo_id_t * | dpo | ) |
Definition at line 123 of file srv6_localsid_sample.c.
void srv6_localsid_sample_dpo_unlock | ( | dpo_id_t * | dpo | ) |
Definition at line 128 of file srv6_localsid_sample.c.
|
static |
uword unformat_srv6_localsid_sample | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
Definition at line 87 of file srv6_localsid_sample.c.
VLIB_PLUGIN_REGISTER | ( | ) |
Definition at line 31 of file srv6_localsid_sample.c.
unsigned char keyword_str[32] = "new_srv6_localsid" |
Definition at line 30 of file srv6_localsid_sample.c.
unsigned char params_str[32] = "<fib_table>" |
Definition at line 32 of file srv6_localsid_sample.c.
unsigned char srv6_localsid_name[32] = "Sample-SRv6-LocalSID-plugin" |
Definition at line 29 of file srv6_localsid_sample.c.
|
static |
Definition at line 138 of file srv6_localsid_sample.c.
|
static |
Definition at line 143 of file srv6_localsid_sample.c.
|
static |
Definition at line 132 of file srv6_localsid_sample.c.