FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the source code of this file.
Functions | |
u8 * | format_fib_urpf_list (u8 *s, va_list *args) |
index_t | fib_urpf_list_alloc_and_lock (void) |
void | fib_urpf_list_unlock (index_t ui) |
void | fib_urpf_list_lock (index_t ui) |
void | fib_urpf_list_append (index_t ui, u32 sw_if_index) |
Append another interface to the list. More... | |
void | fib_urpf_list_combine (index_t ui1, index_t ui2) |
Combine to interface lists. More... | |
static int | fib_urpf_itf_cmp_for_sort (void *v1, void *v2) |
Sort the interface indicies. More... | |
void | fib_urpf_list_bake (index_t ui) |
Convert the uRPF list from the itf set obtained during the walk to a unique list. More... | |
void | fib_urpf_list_show_mem (void) |
static clib_error_t * | show_fib_urpf_list_command (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
Variables | |
fib_urpf_list_t * | fib_urpf_list_pool |
pool of all fib_urpf_list More... | |
static vlib_cli_command_t | show_fib_urpf_list |
(constructor) VLIB_CLI_COMMAND (show_fib_urpf_list) More... | |
|
static |
Sort the interface indicies.
The sort is the first step in obtaining a unique list, so the order, w.r.t. next-hop, interface,etc is not important. So a sort based on the index is all we need.
Definition at line 132 of file fib_urpf_list.c.
index_t fib_urpf_list_alloc_and_lock | ( | void | ) |
Definition at line 55 of file fib_urpf_list.c.
Append another interface to the list.
Definition at line 100 of file fib_urpf_list.c.
void fib_urpf_list_bake | ( | index_t | ui | ) |
Convert the uRPF list from the itf set obtained during the walk to a unique list.
Definition at line 144 of file fib_urpf_list.c.
Combine to interface lists.
Definition at line 114 of file fib_urpf_list.c.
void fib_urpf_list_lock | ( | index_t | ui | ) |
Definition at line 87 of file fib_urpf_list.c.
void fib_urpf_list_show_mem | ( | void | ) |
Definition at line 173 of file fib_urpf_list.c.
void fib_urpf_list_unlock | ( | index_t | ui | ) |
Definition at line 68 of file fib_urpf_list.c.
Definition at line 25 of file fib_urpf_list.c.
|
static |
fib_urpf_list_t* fib_urpf_list_pool |
pool of all fib_urpf_list
Definition at line 22 of file fib_urpf_list.c.
|
static |
(constructor) VLIB_CLI_COMMAND (show_fib_urpf_list)
Definition at line 234 of file fib_urpf_list.c.