Go to the source code of this file.
|
u8 * | format_udp_rx_trace (u8 *s, va_list *args) |
|
static uword | udp46_input_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame, int is_ip4) |
|
static uword | udp4_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
static uword | udp6_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (udp4_input_node, udp4_input) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (udp6_input_node, udp6_input) |
|
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_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) |
|
#define foreach_udp_input_next |
Value:_ (PUNT, "error-punt") \
_ (ICMP4_ERROR, "ip4-icmp-error") \
_ (ICMP6_ERROR, "ip6-icmp-error")
Definition at line 26 of file udp_local.c.
#define udp_error |
( |
|
n, |
|
|
|
s |
|
) |
| s, |
Enumerator |
---|
UDP_INPUT_N_NEXT |
|
Definition at line 32 of file udp_local.c.
u8* format_udp_rx_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
Initial value:= {
.name = "ip4-udp-lookup",
.vector_size =
sizeof (
u32),
.n_errors = UDP_N_ERROR,
.next_nodes = {
#define _(s,n)
},
}
static char * udp_error_strings[]
#define foreach_udp_input_next
static uword udp4_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
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_input_node)
Definition at line 69 of file udp_local.c.
Initial value:= {
.name = "ip6-udp-lookup",
.vector_size =
sizeof (
u32),
.n_errors = UDP_N_ERROR,
.next_nodes = {
#define _(s,n)
},
}
static char * udp_error_strings[]
#define foreach_udp_input_next
static uword udp6_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
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_input_node)
Definition at line 70 of file udp_local.c.
char* udp_error_strings[] |
|
static |
Initial value:= {
#define udp_error(n,s)
udp_error (NO_LISTENER, "no listener for dst port")
udp_error (LENGTH_ERROR, "UDP packets with length errors")
}
Definition at line 399 of file udp_local.c.