Go to the source code of this file.
|
void | udp_add_dst_port (udp_main_t *um, udp_dst_port_t dst_port, char *dst_port_name, u8 is_ip4) |
|
static udp_connection_t * | udp_connection_get (u32 conn_index, u32 thread_index) |
|
static udp_connection_t * | udp_listener_get (u32 conn_index) |
|
static udp_main_t * | vnet_get_udp_main () |
|
static udp_connection_t * | udp_connection_from_transport (transport_connection_t *tc) |
|
static u32 | udp_connection_index (udp_connection_t *uc) |
|
void | udp_connection_free (udp_connection_t *uc) |
|
udp_connection_t * | udp_connection_alloc (u32 thread_index) |
|
static void | udp_pool_add_peeker (u32 thread_index) |
| Acquires a lock that blocks a connection pool from expanding. More...
|
|
static void | udp_pool_remove_peeker (u32 thread_index) |
|
static udp_connection_t * | udp_connection_clone_safe (u32 connection_index, u32 thread_index) |
|
static udp_dst_port_info_t * | udp_get_dst_port_info (udp_main_t *um, udp_dst_port_t dst_port, u8 is_ip4) |
|
void | udp_connection_share_port (u16 lcl_port, u8 is_ip4) |
|
void | udp_punt_unknown (vlib_main_t *vm, u8 is_ip4, u8 is_add) |
|
◆ foreach_udp_connection_flag
#define foreach_udp_connection_flag |
Value: _(CONNECTED, "CONNECTED") \
_(OWNS_PORT, "OWNS_PORT") \
_(CLOSING, "CLOSING") \
_(LISTEN, "LISTEN") \
_(MIGRATED, "MIGRATED")
cloned to another thread
Definition at line 36 of file udp.h.
◆ udp_error
#define udp_error |
( |
|
n, |
|
|
|
s |
|
) |
| UDP_ERROR_##n, |
Definition at line 30 of file udp.h.
◆ udp_conn_flags_t
◆ udp_af_t
Enumerator |
---|
UDP_IP6 | |
UDP_IP4 | |
N_UDP_AF | |
Definition at line 90 of file udp.h.
◆ udp_conn_flags_
Enumerator |
---|
foreach_udp_connection_flag | |
Definition at line 52 of file udp.h.
◆ udp_conn_flags_bits
Enumerator |
---|
UDP_CONN_N_FLAGS | |
Definition at line 44 of file udp.h.
◆ udp_error_t
Definition at line 28 of file udp.h.
◆ udp_add_dst_port()
◆ udp_connection_alloc()
Definition at line 93 of file udp.c.
◆ udp_connection_clone_safe()
◆ udp_connection_free()
◆ udp_connection_from_transport()
◆ udp_connection_get()
◆ udp_connection_index()
◆ udp_connection_share_port()
void udp_connection_share_port |
( |
u16 |
lcl_port, |
|
|
u8 |
is_ip4 |
|
) |
| |
Definition at line 81 of file udp.c.
◆ udp_get_dst_port_info()
◆ udp_listener_get()
◆ udp_pool_add_peeker()
static void udp_pool_add_peeker |
( |
u32 |
thread_index | ) |
|
|
inlinestatic |
Acquires a lock that blocks a connection pool from expanding.
Definition at line 178 of file udp.h.
◆ udp_pool_remove_peeker()
static void udp_pool_remove_peeker |
( |
u32 |
thread_index | ) |
|
|
inlinestatic |
◆ udp_punt_unknown()
◆ vnet_get_udp_main()
◆ format_udp_connection
◆ format_udp_header
◆ format_udp_rx_trace
◆ udp4_input_node
(constructor) VLIB_REGISTER_NODE (udp4_input_node)
Definition at line 346 of file udp_input.c.
◆ udp4_local_node
(constructor) VLIB_REGISTER_NODE (udp4_local_node)
Definition at line 366 of file udp_local.c.
◆ udp6_input_node
(constructor) VLIB_REGISTER_NODE (udp6_input_node)
Definition at line 372 of file udp_input.c.
◆ udp6_local_node
(constructor) VLIB_REGISTER_NODE (udp6_local_node)
Definition at line 388 of file udp_local.c.
◆ udp_main
Definition at line 23 of file udp.c.
◆ unformat_udp_header
◆ unformat_udp_port