Go to the source code of this file.
|
static u8 * | format_udp_input_trace (u8 *s, va_list *args) |
|
static void | udp_input_inc_counter (vlib_main_t *vm, u8 is_ip4, u8 evt, u8 val) |
|
static void | udp_trace_buffer (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_buffer_t *b, session_t *s, u16 error0) |
|
static udp_connection_t * | udp_connection_accept (udp_connection_t *listener, session_dgram_hdr_t *hdr, u32 thread_index) |
|
static void | udp_connection_enqueue (udp_connection_t *uc0, session_t *s0, session_dgram_hdr_t *hdr0, u32 thread_index, vlib_buffer_t *b, u8 queue_event, u32 *error0) |
|
static session_t * | udp_parse_and_lookup_buffer (vlib_buffer_t *b, session_dgram_hdr_t *hdr, u8 is_ip4) |
|
static uword | udp46_input_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, u8 is_ip4) |
|
static uword | udp4_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | udp6_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
◆ foreach_udp_input_next
#define foreach_udp_input_next _ (DROP, "error-drop") |
◆ udp_error
#define udp_error |
( |
|
n, |
|
|
|
s |
|
) |
| s, |
◆ udp_inc_err_counter
#define udp_inc_err_counter |
( |
|
cnts, |
|
|
|
err, |
|
|
|
val |
|
) |
| |
◆ udp_store_err_counters
#define udp_store_err_counters |
( |
|
vm, |
|
|
|
is_ip4, |
|
|
|
cnts |
|
) |
| |
Value:{ \
if (cnts[i]) \
udp_input_inc_counter(
vm, is_ip4, i, cnts[i]); \
}
sll srl srl sll sra u16x4 i
Definition at line 75 of file udp_input.c.
◆ udp_input_next_t
Enumerator |
---|
UDP_INPUT_N_NEXT | |
Definition at line 58 of file udp_input.c.
◆ format_udp_input_trace()
static u8* format_udp_input_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ udp46_input_inline()
◆ udp4_input()
◆ udp6_input()
◆ udp_connection_accept()
◆ udp_connection_enqueue()
◆ udp_input_inc_counter()
◆ udp_parse_and_lookup_buffer()
◆ udp_trace_buffer()
◆ udp4_input_node
Initial value:=
{
.name = "udp4-input",
.vector_size =
sizeof (
u32),
.next_nodes = {
#define _(s, n)
},
}
vl_api_fib_path_type_t type
(constructor) VLIB_REGISTER_NODE (udp4_input_node)
Definition at line 344 of file udp_input.c.
◆ udp6_input_node
Initial value:=
{
.name = "udp6-input",
.vector_size =
sizeof (
u32),
.next_nodes = {
#define _(s, n)
},
}
vl_api_fib_path_type_t type
(constructor) VLIB_REGISTER_NODE (udp6_input_node)
Definition at line 370 of file udp_input.c.
◆ udp_error_strings
char* udp_error_strings[] |
|
static |
Initial value:= {
#define udp_error(n,s)
udp_error (NOT_READY, "Connection not ready")
udp_error (CREATE_SESSION, "Failed to create session")
udp_error (MQ_FULL, "Application msg queue full")
}
typedef punt
Full description of which packets are requested to be punted.
for(i=1;i<=collision_buckets;i++)
Definition at line 29 of file udp_input.c.