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) |
|
#define foreach_ila_error _(NONE, "valid ILA packets") |
Definition at line 28 of file ila.c.
#define ILA_TABLE_DEFAULT_HASH_MEMORY_SIZE (32<<20) |
Definition at line 26 of file ila.c.
#define ILA_TABLE_DEFAULT_HASH_NUM_BUCKETS (64 * 1024) |
Definition at line 25 of file ila.c.
Enumerator |
---|
ILA_N_ERROR |
|
STN_IP_PUNT_N_ERROR |
|
Definition at line 31 of file ila.c.
Enumerator |
---|
ILA_ILA2SIR_NEXT_DROP |
|
ILA_ILA2SIR_N_NEXT |
|
Definition at line 44 of file ila.c.
INDENT-ON
Enumerator |
---|
ILA_SIR2ILA_NEXT_DROP |
|
ILA_SIR2ILA_N_NEXT |
|
Definition at line 400 of file ila.c.
static u8* format_csum_mode |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
Definition at line 94 of file ila.c.
u8* format_half_ip6_address |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
Definition at line 72 of file ila.c.
u8* format_ila_direction |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
Definition at line 82 of file ila.c.
u8* format_ila_dpo |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
static u8* format_ila_entry |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
u8* format_ila_ila2sir_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
u8* format_ila_sir2ila_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
u8* format_ila_type |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
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 847 of file ila.c.
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 856 of file ila.c.
INDENT-ON
Definition at line 609 of file ila.c.
Callback function invoked when the forwarding changes for the ILA next-hop.
Definition at line 905 of file ila.c.
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 889 of file ila.c.
int ila_interface |
( |
u32 |
sw_if_index, |
|
|
u8 |
disable |
|
) |
| |
Dynamically registered DPO Type for ILA.
Definition at line 64 of file ila.c.
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]",
}
static clib_error_t * ila_entry_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (ila_entry_command)
Definition at line 1015 of file ila.c.
char* ila_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_ila_error
Definition at line 38 of file ila.c.
Dynamically registered FIB node type for ILA.
Definition at line 69 of file ila.c.
Initial value:= {
}
static fib_node_t * ila_fib_node_get_node(fib_node_index_t index)
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.
static void ila_fib_node_last_lock_gone(fib_node_t *node)
no-op unlock function.
Definition at line 916 of file ila.c.
Initial value:=
{
.name = "ila-to-sir",
.vector_size =
sizeof (
u32),
.next_nodes =
{
},
}
static char * ila_error_strings[]
u8 * format_ila_ila2sir_trace(u8 *s, va_list *args)
static uword ila_ila2sir(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
INDENT-OFF
(constructor) VLIB_REGISTER_NODE (ila_ila2sir_node)
Definition at line 249 of file ila.c.
Initial value:=
{
.path = "ila interface",
.short_help = "ila interface <interface-name> [disable]",
}
static clib_error_t * ila_interface_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (ila_interface_command)
Definition at line 1049 of file ila.c.
const char* const ila_ip6_nodes[] |
|
static |
Initial value:
Definition at line 865 of file ila.c.
Definition at line 23 of file ila.c.
Initial value:=
{
}
static const char *const ila_ip6_nodes[]
Definition at line 870 of file ila.c.
Initial value:=
{
.path = "show ila entries",
.short_help = "show ila entries",
}
static clib_error_t * ila_show_entries_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (ila_show_entries_command)
Definition at line 1074 of file ila.c.
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.
Initial value:=
{
.vector_size =
sizeof (
u32),
.next_nodes =
{
},
}
u8 * format_ila_sir2ila_trace(u8 *s, va_list *args)
static char * ila_error_strings[]
static uword ila_sir2ila(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
INDENT-OFF
(constructor) VLIB_REGISTER_NODE (ila_sir2ila_node)
Definition at line 423 of file ila.c.
Initial value:= {
}
static void ila_dpo_unlock(dpo_id_t *dpo)
no-op unlock function.
u8 * format_ila_dpo(u8 *s, va_list *va)
static void ila_dpo_lock(dpo_id_t *dpo)
no-op lock function.
Definition at line 860 of file ila.c.