Go to the source code of this file.
|
static u8 * | format_ip4_icmp_type_and_code (u8 *s, va_list *args) |
|
static u8 * | format_ip4_icmp_header (u8 *s, va_list *args) |
|
static u8 * | format_icmp_input_trace (u8 *s, va_list *va) |
|
static uword | ip4_icmp_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | ip4_icmp_echo_request (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
void | icmp4_error_set_vnet_buffer (vlib_buffer_t *b, u8 type, u8 code, u32 data) |
|
static u8 | icmp4_icmp_type_to_error (u8 type) |
|
static uword | ip4_icmp_error (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | unformat_icmp_type_and_code (unformat_input_t *input, va_list *args) |
|
static void | icmp4_pg_edit_function (pg_main_t *pg, pg_stream_t *s, pg_edit_group_t *g, u32 *packets, u32 n_packets) |
|
static void | pg_icmp_header_init (pg_icmp46_header_t *p) |
|
static uword | unformat_pg_icmp_header (unformat_input_t *input, va_list *args) |
|
void | ip4_icmp_register_type (vlib_main_t *vm, icmp4_type_t type, u32 node_index) |
|
static clib_error_t * | icmp4_init (vlib_main_t *vm) |
|
◆ icmp_input_next_t
Enumerator |
---|
ICMP_INPUT_NEXT_ERROR | |
ICMP_INPUT_N_NEXT | |
ICMP_INPUT_NEXT_DROP | |
ICMP_INPUT_N_NEXT | |
Definition at line 121 of file icmp4.c.
◆ ip4_icmp_error_next_t
Enumerator |
---|
IP4_ICMP_ERROR_NEXT_DROP | |
IP4_ICMP_ERROR_NEXT_LOOKUP | |
IP4_ICMP_ERROR_N_NEXT | |
Definition at line 423 of file icmp4.c.
◆ format_icmp_input_trace()
static u8* format_icmp_input_trace |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
◆ format_ip4_icmp_header()
static u8* format_ip4_icmp_header |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ format_ip4_icmp_type_and_code()
static u8* format_ip4_icmp_type_and_code |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ icmp4_error_set_vnet_buffer()
◆ icmp4_icmp_type_to_error()
static u8 icmp4_icmp_type_to_error |
( |
u8 |
type | ) |
|
|
static |
◆ icmp4_init()
◆ icmp4_pg_edit_function()
◆ ip4_icmp_echo_request()
◆ ip4_icmp_error()
◆ ip4_icmp_input()
◆ ip4_icmp_register_type()
◆ pg_icmp_header_init()
◆ unformat_icmp_type_and_code()
◆ unformat_pg_icmp_header()
◆ icmp4_main
◆ icmp_error_strings
char* icmp_error_strings[] |
|
static |
Initial value:
Definition at line 45 of file icmp4.c.
◆ ip4_icmp_echo_request_node
Initial value:= {
.name = "ip4-icmp-echo-request",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "ip4-load-balance",
},
}
static u8 * format_icmp_input_trace(u8 *s, va_list *va)
static uword ip4_icmp_echo_request(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (ip4_icmp_echo_request_node)
Definition at line 408 of file icmp4.c.
◆ ip4_icmp_error_node
Initial value:= {
.name = "ip4-icmp-error",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static uword ip4_icmp_error(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static u8 * format_icmp_input_trace(u8 *s, va_list *va)
static char * icmp_error_strings[]
(constructor) VLIB_REGISTER_NODE (ip4_icmp_error_node)
Definition at line 590 of file icmp4.c.
◆ ip4_icmp_input_node
Initial value:= {
.name = "ip4-icmp-input",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
},
}
static u8 * format_icmp_input_trace(u8 *s, va_list *va)
static char * icmp_error_strings[]
static uword ip4_icmp_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (ip4_icmp_input_node)
Definition at line 209 of file icmp4.c.