Go to the source code of this file.
|
| VNET_FEATURE_ARC_INIT (ip4_punt) |
|
| VNET_FEATURE_ARC_INIT (ip4_drop) |
|
u8 * | format_ip_punt_policer_trace (u8 *s, va_list *args) |
|
VLIB_NODE_FN() | ip4_punt_policer_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_FEATURE_INIT (ip4_punt_policer_node) |
|
u8 * | format_ip_punt_redirect_trace (u8 *s, va_list *args) |
|
VLIB_NODE_FN() | ip4_punt_redirect_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_FEATURE_INIT (ip4_punt_redirect_node, static) |
|
VLIB_NODE_FN() | ip4_drop_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | ip4_not_enabled_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | ip4_punt (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_FEATURE_INIT (ip4_punt_end_of_arc, static) |
|
| VNET_FEATURE_INIT (ip4_drop_end_of_arc, static) |
|
void | ip4_punt_policer_add_del (u8 is_add, u32 policer_index) |
|
static clib_error_t * | ip4_punt_police_cmd (vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd) |
|
void | ip_punt_redirect_add (ip_punt_redirect_t *cfg, u32 rx_sw_if_index, ip_punt_redirect_rx_t *redirect, fib_protocol_t fproto, vnet_link_t linkt) |
| Add a punt redirect entry. More...
|
|
void | ip_punt_redirect_del (ip_punt_redirect_t *cfg, u32 rx_sw_if_index) |
|
void | ip4_punt_redirect_add (u32 rx_sw_if_index, u32 tx_sw_if_index, ip46_address_t *nh) |
|
void | ip4_punt_redirect_del (u32 rx_sw_if_index) |
|
static clib_error_t * | ip4_punt_redirect_cmd (vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd) |
|
u8 * | format_ip_punt_redirect (u8 *s, va_list *args) |
|
ip_punt_redirect_detail_t * | ip4_punt_redirect_entries (u32 sw_if_index) |
|
static clib_error_t * | ip4_punt_redirect_show_cmd (vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd) |
|
◆ foreach_ip4_punt_redirect_error
#define foreach_ip4_punt_redirect_error _(DROP, "ip4 punt redirect drop") |
◆ ip4_punt_redirect_error_t
◆ format_ip_punt_policer_trace()
u8* format_ip_punt_policer_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_ip_punt_redirect()
u8* format_ip_punt_redirect |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_ip_punt_redirect_trace()
u8* format_ip_punt_redirect_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ ip4_drop_node()
◆ ip4_not_enabled_node()
◆ ip4_punt()
◆ ip4_punt_police_cmd()
◆ ip4_punt_policer_add_del()
void ip4_punt_policer_add_del |
( |
u8 |
is_add, |
|
|
u32 |
policer_index |
|
) |
| |
◆ ip4_punt_policer_node()
◆ ip4_punt_redirect_add()
void ip4_punt_redirect_add |
( |
u32 |
rx_sw_if_index, |
|
|
u32 |
tx_sw_if_index, |
|
|
ip46_address_t * |
nh |
|
) |
| |
◆ ip4_punt_redirect_cmd()
◆ ip4_punt_redirect_del()
void ip4_punt_redirect_del |
( |
u32 |
rx_sw_if_index | ) |
|
◆ ip4_punt_redirect_entries()
◆ ip4_punt_redirect_node()
◆ ip4_punt_redirect_show_cmd()
◆ ip_punt_redirect_add()
◆ ip_punt_redirect_del()
◆ VNET_FEATURE_ARC_INIT() [1/2]
◆ VNET_FEATURE_ARC_INIT() [2/2]
VNET_FEATURE_ARC_INIT |
( |
ip4_drop |
| ) |
|
◆ VNET_FEATURE_INIT() [1/4]
◆ VNET_FEATURE_INIT() [2/4]
◆ VNET_FEATURE_INIT() [3/4]
VNET_FEATURE_INIT |
( |
ip4_punt_end_of_arc |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [4/4]
VNET_FEATURE_INIT |
( |
ip4_drop_end_of_arc |
, |
|
|
static |
|
|
) |
| |
◆ ip4_drop_node
Initial value:=
{
.name = "ip4-drop",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
u8 * format_ip4_forward_next_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (ip4_drop_node)
Definition at line 211 of file ip4_punt_drop.c.
◆ ip4_not_enabled_node
Initial value:=
{
.name = "ip4-not-enabled",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
u8 * format_ip4_forward_next_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (ip4_not_enabled_node)
Definition at line 222 of file ip4_punt_drop.c.
◆ ip4_punt_node
Initial value:=
{
.name = "ip4-punt",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-punt",
},
}
static uword ip4_punt(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
u8 * format_ip4_forward_next_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (ip4_punt_node)
Definition at line 233 of file ip4_punt_drop.c.
◆ ip4_punt_policer_cfg
Initial value:= {
.policer_index = ~0,
}
Definition at line 51 of file ip4_punt_drop.c.
◆ ip4_punt_policer_command
Initial value:=
{
.path = "ip punt policer",
.short_help = "ip punt policer [add|del] <index>",
}
static clib_error_t * ip4_punt_police_cmd(vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (ip4_punt_policer_command)
Definition at line 321 of file ip4_punt_drop.c.
◆ ip4_punt_policer_error_strings
char* ip4_punt_policer_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_ip_punt_policer_error
Definition at line 56 of file ip4_punt_drop.c.
◆ ip4_punt_policer_node
Initial value:= {
.name = "ip4-punt-policer",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
u8 * format_ip_punt_policer_trace(u8 *s, va_list *args)
static char * ip4_punt_policer_error_strings[]
(constructor) VLIB_REGISTER_NODE (ip4_punt_policer_node)
Definition at line 72 of file ip4_punt_drop.c.
◆ ip4_punt_redirect_cfg
Initial value:= {
.any_rx_sw_if_index = {
.tx_sw_if_index = ~0,
},
}
#define ADJ_INDEX_INVALID
Invalid ADJ index - used when no adj is known likewise blazoned capitals INVALID speak volumes where ...
Definition at line 118 of file ip4_punt_drop.c.
◆ ip4_punt_redirect_command
Initial value:=
{
.path = "ip punt redirect",
.short_help = "ip punt redirect [add|del] rx [<interface>|all] via [<nh>] <tx_interface>",
}
static clib_error_t * ip4_punt_redirect_cmd(vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (ip4_punt_redirect_command)
Definition at line 480 of file ip4_punt_drop.c.
◆ ip4_punt_redirect_error_strings
char* ip4_punt_redirect_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_ip4_punt_redirect_error
Definition at line 139 of file ip4_punt_drop.c.
◆ ip4_punt_redirect_node
Initial value:= {
.name = "ip4-punt-redirect",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
u8 * format_ip_punt_redirect_trace(u8 *s, va_list *args)
static char * ip4_punt_redirect_error_strings[]
(constructor) VLIB_REGISTER_NODE (ip4_punt_redirect_node)
Definition at line 155 of file ip4_punt_drop.c.
◆ show_ip4_punt_redirect_command
Initial value:=
{
.path = "show ip punt redirect",
.short_help = "show ip punt redirect",
.is_mp_safe = 1,
}
static clib_error_t * ip4_punt_redirect_show_cmd(vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_ip4_punt_redirect_command)
Definition at line 576 of file ip4_punt_drop.c.
◆ uninit_rx_redirect
Initial value:= {
.tx_sw_if_index = ~0,
}
#define ADJ_INDEX_INVALID
Invalid ADJ index - used when no adj is known likewise blazoned capitals INVALID speak volumes where ...
Definition at line 333 of file ip4_punt_drop.c.