Go to the source code of this file.
|
u8 * | format_udp_rx_trace (u8 *s, va_list *args) |
|
static uword | udp46_local_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame, int is_ip4) |
|
VLIB_NODE_FN() | udp4_local_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
VLIB_NODE_FN() | udp6_local_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
static void | add_dst_port (udp_main_t *um, udp_dst_port_t dst_port, char *dst_port_name, u8 is_ip4) |
|
void | udp_register_dst_port (vlib_main_t *vm, udp_dst_port_t dst_port, u32 node_index, u8 is_ip4) |
|
void | udp_unregister_dst_port (vlib_main_t *vm, udp_dst_port_t dst_port, u8 is_ip4) |
|
bool | udp_is_valid_dst_port (udp_dst_port_t dst_port, u8 is_ip4) |
|
void | udp_punt_unknown (vlib_main_t *vm, u8 is_ip4, u8 is_add) |
|
uword | unformat_udp_header (unformat_input_t *input, va_list *args) |
|
static void | udp_setup_node (vlib_main_t *vm, u32 node_index) |
|
clib_error_t * | udp_local_init (vlib_main_t *vm) |
|
◆ udp_error
#define udp_error |
( |
|
n, |
|
|
|
s |
|
) |
| s, |
◆ UDP_NO_NODE_SET
#define UDP_NO_NODE_SET ((u16) ~0) |
◆ udp_local_next_t
Enumerator |
---|
UDP_LOCAL_NEXT_PUNT | |
UDP_LOCAL_NEXT_DROP | |
UDP_LOCAL_NEXT_ICMP | |
UDP_LOCAL_N_NEXT | |
Definition at line 24 of file udp_local.c.
◆ add_dst_port()
◆ format_udp_rx_trace()
u8* format_udp_rx_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ udp46_local_inline()
◆ udp4_local_node()
◆ udp6_local_node()
◆ udp_is_valid_dst_port()
◆ udp_local_init()
◆ udp_punt_unknown()
◆ udp_register_dst_port()
◆ udp_setup_node()
◆ udp_unregister_dst_port()
◆ unformat_udp_header()
◆ udp4_local_node
Initial value:= {
.name = "ip4-udp-lookup",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static char * udp_error_strings[]
uword unformat_udp_header(unformat_input_t *input, va_list *args)
u8 * format_udp_rx_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (udp4_local_node)
Definition at line 403 of file udp_local.c.
◆ udp6_local_node
Initial value:= {
.name = "ip6-udp-lookup",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static char * udp_error_strings[]
uword unformat_udp_header(unformat_input_t *input, va_list *args)
u8 * format_udp_rx_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (udp6_local_node)
Definition at line 425 of file udp_local.c.
◆ udp_error_strings
char* udp_error_strings[] |
|
static |
Initial value:= {
#define udp_error(n,s)
udp_error (LENGTH_ERROR, "UDP packets with length errors")
udp_error (NOT_READY, "UDP connection not ready")
udp_error (LISTENER, "UDP connected session")
udp_error (CREATE_SESSION, "Failed to create UDP session")
udp_error (EVENT_FIFO_FULL, "UDP session event fifo full")
}
typedef punt
Full description of which packets are requested to be punted.
for(i=1;i<=collision_buckets;i++)
Definition at line 382 of file udp_local.c.