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) |
|
static uword | udp4_local (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
static uword | udp6_local (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (udp4_local_node, udp4_local) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (udp6_local_node, udp6_local) |
|
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) |
|
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_local_next |
Value:_ (PUNT4, "ip4-punt") \
_ (PUNT6, "ip6-punt") \
_ (DROP4, "ip4-drop") \
_ (DROP6, "ip6-drop") \
_ (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, |
#define udp_local_next_drop |
( |
|
is_ip4 | ) |
((is_ip4) ? UDP_LOCAL_NEXT_DROP4 : UDP_LOCAL_NEXT_DROP6) |
#define udp_local_next_punt |
( |
|
is_ip4 | ) |
((is_ip4) ? UDP_LOCAL_NEXT_PUNT4 : UDP_LOCAL_NEXT_PUNT6) |
Enumerator |
---|
UDP_LOCAL_N_NEXT |
|
Definition at line 34 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),
.next_nodes = {
#define _(s,n)
},
}
static char * udp_error_strings[]
#define foreach_udp_local_next
uword unformat_udp_header(unformat_input_t *input, va_list *args)
u8 * format_udp_rx_trace(u8 *s, va_list *args)
static uword udp4_local(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
(constructor) VLIB_REGISTER_NODE (udp4_local_node)
Definition at line 66 of file udp_local.c.
Initial value:= {
.name = "ip6-udp-lookup",
.vector_size =
sizeof (
u32),
.next_nodes = {
#define _(s,n)
},
}
static char * udp_error_strings[]
static uword udp6_local(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
#define foreach_udp_local_next
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 67 of file udp_local.c.
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")
}
for(i=1;i<=collision_buckets;i++)
Definition at line 401 of file udp_local.c.