Go to the source code of this file.
|
u8 * | format_half_ip6_address (u8 *s, va_list *va) |
|
u8 * | format_ila_direction (u8 *s, va_list *args) |
|
static u8 * | format_csum_mode (u8 *s, va_list *va) |
|
u8 * | format_ila_type (u8 *s, va_list *args) |
|
static u8 * | format_ila_entry (u8 *s, va_list *va) |
|
u8 * | format_ila_ila2sir_trace (u8 *s, va_list *args) |
|
static uword | unformat_ila_direction (unformat_input_t *input, va_list *args) |
|
static uword | unformat_ila_type (unformat_input_t *input, va_list *args) |
|
static uword | unformat_ila_csum_mode (unformat_input_t *input, va_list *args) |
|
static uword | unformat_half_ip6_address (unformat_input_t *input, va_list *args) |
|
static uword | ila_ila2sir (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
u8 * | format_ila_sir2ila_trace (u8 *s, va_list *args) |
|
static uword | ila_sir2ila (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_FEATURE_INIT (ila_sir2ila, static) |
| INDENT-ON More...
|
|
static void | ila_entry_stack (ila_entry_t *ie) |
| INDENT-ON More...
|
|
int | ila_add_del_entry (ila_add_del_entry_args_t *args) |
|
int | ila_interface (u32 sw_if_index, u8 disable) |
|
| VLIB_PLUGIN_REGISTER () |
|
u8 * | format_ila_dpo (u8 *s, va_list *va) |
|
static void | ila_dpo_lock (dpo_id_t *dpo) |
| no-op lock function. More...
|
|
static void | ila_dpo_unlock (dpo_id_t *dpo) |
| no-op unlock function. More...
|
|
static fib_node_t * | ila_fib_node_get_node (fib_node_index_t index) |
|
static void | ila_fib_node_last_lock_gone (fib_node_t *node) |
| no-op unlock function. More...
|
|
static ila_entry_t * | ila_entry_from_fib_node (fib_node_t *node) |
|
static fib_node_back_walk_rc_t | ila_fib_node_back_walk_notify (fib_node_t *node, fib_node_back_walk_ctx_t *ctx) |
| Callback function invoked when the forwarding changes for the ILA next-hop. More...
|
|
clib_error_t * | ila_init (vlib_main_t *vm) |
|
static clib_error_t * | ila_entry_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | ila_interface_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | ila_show_entries_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
◆ foreach_ila_error
#define foreach_ila_error _(NONE, "valid ILA packets") |
Definition at line 28 of file ila.c.
◆ ILA_TABLE_DEFAULT_HASH_MEMORY_SIZE
#define ILA_TABLE_DEFAULT_HASH_MEMORY_SIZE (32<<20) |
Definition at line 26 of file ila.c.
◆ ILA_TABLE_DEFAULT_HASH_NUM_BUCKETS
#define ILA_TABLE_DEFAULT_HASH_NUM_BUCKETS (64 * 1024) |
Definition at line 25 of file ila.c.
◆ ila_error_t
Enumerator |
---|
ILA_N_ERROR | |
STN_IP_PUNT_N_ERROR | |
Definition at line 31 of file ila.c.
◆ ila_ila2sir_next_t
Enumerator |
---|
ILA_ILA2SIR_NEXT_DROP | |
ILA_ILA2SIR_N_NEXT | |
Definition at line 44 of file ila.c.
◆ ila_sir2ila_next_t
INDENT-ON
Enumerator |
---|
ILA_SIR2ILA_NEXT_DROP | |
ILA_SIR2ILA_N_NEXT | |
Definition at line 405 of file ila.c.
◆ format_csum_mode()
static u8* format_csum_mode |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
Definition at line 99 of file ila.c.
◆ format_half_ip6_address()
u8* format_half_ip6_address |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
Definition at line 77 of file ila.c.
◆ format_ila_direction()
u8* format_ila_direction |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
Definition at line 87 of file ila.c.
◆ format_ila_dpo()
u8* format_ila_dpo |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
◆ format_ila_entry()
static u8* format_ila_entry |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
◆ format_ila_ila2sir_trace()
u8* format_ila_ila2sir_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_ila_sir2ila_trace()
u8* format_ila_sir2ila_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_ila_type()
u8* format_ila_type |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ ila_add_del_entry()
◆ ila_dpo_lock()
static void ila_dpo_lock |
( |
dpo_id_t * |
dpo | ) |
|
|
static |
no-op lock function.
The lifetime of the ILA entry is managed by the control plane
Definition at line 852 of file ila.c.
◆ ila_dpo_unlock()
static void ila_dpo_unlock |
( |
dpo_id_t * |
dpo | ) |
|
|
static |
no-op unlock function.
The lifetime of the ILA entry is managed by the control plane
Definition at line 861 of file ila.c.
◆ ila_entry_command_fn()
◆ ila_entry_from_fib_node()
◆ ila_entry_stack()
INDENT-ON
Definition at line 614 of file ila.c.
◆ ila_fib_node_back_walk_notify()
Callback function invoked when the forwarding changes for the ILA next-hop.
Definition at line 910 of file ila.c.
◆ ila_fib_node_get_node()
◆ ila_fib_node_last_lock_gone()
static void ila_fib_node_last_lock_gone |
( |
fib_node_t * |
node | ) |
|
|
static |
no-op unlock function.
The lifetime of the ILA entry is managed by the control plane
Definition at line 894 of file ila.c.
◆ ila_ila2sir()
◆ ila_init()
◆ ila_interface()
int ila_interface |
( |
u32 |
sw_if_index, |
|
|
u8 |
disable |
|
) |
| |
◆ ila_interface_command_fn()
◆ ila_show_entries_command_fn()
◆ ila_sir2ila()
◆ unformat_half_ip6_address()
◆ unformat_ila_csum_mode()
◆ unformat_ila_direction()
◆ unformat_ila_type()
◆ VLIB_PLUGIN_REGISTER()
◆ VNET_FEATURE_INIT()
◆ ila_dpo_type
Dynamically registered DPO Type for ILA.
Definition at line 64 of file ila.c.
◆ ila_entry_command
Initial value:=
{
.path = "ila entry",
.short_help = "ila entry [type <type>] [sir-address <address>] [locator <locator>] [vnid <hex-vnid>]"
" [adj-index <adj-index>] [next-hop <next-hop>] [direction (bidir|sir2ila|ila2sir)]"
" [csum-mode (no-action|neutral-map|transport-adjust)] [del]",
}
(constructor) VLIB_CLI_COMMAND (ila_entry_command)
Definition at line 1022 of file ila.c.
◆ ila_error_strings
char* ila_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
Definition at line 38 of file ila.c.
◆ ila_fib_node_type
Dynamically registered FIB node type for ILA.
Definition at line 69 of file ila.c.
◆ ila_fib_node_vft
Initial value:
Definition at line 921 of file ila.c.
◆ ila_fib_src
FIB source for adding entries.
Definition at line 74 of file ila.c.
◆ ila_ila2sir_node
Initial value:=
{
.name = "ila-to-sir",
.vector_size =
sizeof (
u32),
.next_nodes =
{
},
}
INDENT-OFF
(constructor) VLIB_REGISTER_NODE (ila_ila2sir_node)
Definition at line 254 of file ila.c.
◆ ila_interface_command
Initial value:=
{
.path = "ila interface",
.short_help = "ila interface <interface-name> [disable]",
}
(constructor) VLIB_CLI_COMMAND (ila_interface_command)
Definition at line 1056 of file ila.c.
◆ ila_ip6_nodes
const static char* const ila_ip6_nodes[] |
|
static |
Initial value:=
{
"ila-to-sir",
NULL,
}
Definition at line 870 of file ila.c.
◆ ila_main
Definition at line 23 of file ila.c.
◆ ila_nodes
Initial value:
Definition at line 875 of file ila.c.
◆ ila_show_entries_command
Initial value:=
{
.path = "show ila entries",
.short_help = "show ila entries",
}
(constructor) VLIB_CLI_COMMAND (ila_show_entries_command)
Definition at line 1081 of file ila.c.
◆ ila_sir2ila_default_entry
Initial value:= {
.csum_mode = ILA_CSUM_MODE_NO_ACTION,
.type = ILA_TYPE_IID,
.dir = ILA_DIR_ILA2SIR,
}
Definition at line 55 of file ila.c.
◆ ila_sir2ila_node
Initial value:=
{
.vector_size =
sizeof (
u32),
.next_nodes =
{
},
}
INDENT-OFF
(constructor) VLIB_REGISTER_NODE (ila_sir2ila_node)
Definition at line 428 of file ila.c.
◆ ila_vft
Initial value:
Definition at line 865 of file ila.c.