FD.io VPP  v21.01.1
Vector Packet Processing
udp_local.h File Reference
+ Include dependency graph for udp_local.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define foreach_udp4_dst_port
 
#define foreach_udp6_dst_port
 

Enumerations

enum  udp_dst_port_t { foreach_udp6_dst_port }
 
enum  udp6_dst_port_t { foreach_udp6_dst_port }
 

Functions

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)
 
u8 udp_is_valid_dst_port (udp_dst_port_t dst_port, u8 is_ip4)
 

Macro Definition Documentation

◆ foreach_udp4_dst_port

#define foreach_udp4_dst_port
Value:
_ (53, dns) \
_ (67, dhcp_to_server) \
_ (68, dhcp_to_client) \
_ (500, ikev2) \
_ (2152, GTPU) \
_ (3784, bfd4) \
_ (3785, bfd_echo4) \
_ (4341, lisp_gpe) \
_ (4342, lisp_cp) \
_ (4500, ipsec) \
_ (4739, ipfix) \
_ (4789, vxlan) \
_ (4789, vxlan6) \
_ (48879, vxlan_gbp) \
_ (4790, VXLAN_GPE) \
_ (6633, vpath_3) \
_ (6081, geneve) \
_ (53053, dns_reply)

Definition at line 21 of file udp_local.h.

◆ foreach_udp6_dst_port

foreach_udp6_dst_port
Value:
_ (53, dns6) \
_ (547, dhcpv6_to_server) \
_ (546, dhcpv6_to_client) \
_ (2152, GTPU6) \
_ (3784, bfd6) \
_ (3785, bfd_echo6) \
_ (4341, lisp_gpe6) \
_ (4342, lisp_cp6) \
_ (48879, vxlan6_gbp) \
_ (4790, VXLAN6_GPE) \
_ (6633, vpath6_3) \
_ (6081, geneve6) \
_ (8138, BIER) \
_ (53053, dns_reply6)

Definition at line 42 of file udp_local.h.

Enumeration Type Documentation

◆ udp6_dst_port_t

Enumerator
foreach_udp6_dst_port 

Definition at line 65 of file udp_local.h.

◆ udp_dst_port_t

Enumerator
foreach_udp6_dst_port 

Definition at line 58 of file udp_local.h.

Function Documentation

◆ udp_is_valid_dst_port()

u8 udp_is_valid_dst_port ( udp_dst_port_t  dst_port,
u8  is_ip4 
)

Definition at line 529 of file udp_local.c.

+ Here is the caller graph for this function:

◆ udp_register_dst_port()

void udp_register_dst_port ( vlib_main_t vm,
udp_dst_port_t  dst_port,
u32  node_index,
u8  is_ip4 
)

Definition at line 468 of file udp_local.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ udp_unregister_dst_port()

void udp_unregister_dst_port ( vlib_main_t vm,
udp_dst_port_t  dst_port,
u8  is_ip4 
)

Definition at line 506 of file udp_local.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: