FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
udp_ping_util.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int udp_ping_create_ip6_pak (u8 *buf, ip6_address_t src, ip6_address_t dst, u16 src_port, u16 dst_port, u8 msg_type, u16 ctx)
 Frame IPv6 udp-ping probe packet. More...
 
int udp_ping_compare_flow (ip46_address_t src, ip46_address_t dst, u16 start_src_port, u16 end_src_port, u16 start_dst_port, u16 end_dst_port, ip46_udp_ping_flow *flow)
 
void udp_ping_populate_flow (ip46_address_t src, ip46_address_t dst, u16 start_src_port, u16 end_src_port, u16 start_dst_port, u16 end_dst_port, u16 interval, u8 fault_det, ip46_udp_ping_flow *flow)
 
void udp_ping_free_flow_data (ip46_udp_ping_flow *flow)
 
void udp_ping_create_rewrite (ip46_udp_ping_flow *flow, u16 ctx)
 
void udp_ping_send_ip6_pak (vlib_main_t *vm, ip46_udp_ping_flow *flow)
 Create and send ipv6 udp-ping probe packet. More...
 
static void udp_ping_create_reply_from_probe_ip6 (ip6_header_t *ip, ip6_hop_by_hop_header_t *hbh, udp_ping_t *udp)
 Create and send ipv6 udp-ping response packet. More...
 

Function Documentation

int udp_ping_compare_flow ( ip46_address_t  src,
ip46_address_t  dst,
u16  start_src_port,
u16  end_src_port,
u16  start_dst_port,
u16  end_dst_port,
ip46_udp_ping_flow flow 
)

Definition at line 139 of file udp_ping_util.c.

+ Here is the caller graph for this function:

int udp_ping_create_ip6_pak ( u8 buf,
ip6_address_t  src,
ip6_address_t  dst,
u16  src_port,
u16  dst_port,
u8  msg_type,
u16  ctx 
)

Frame IPv6 udp-ping probe packet.

Creates IPv6 UDP-Ping probe packet along with iOAM headers.

Definition at line 61 of file udp_ping_util.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void udp_ping_create_reply_from_probe_ip6 ( ip6_header_t ip,
ip6_hop_by_hop_header_t hbh,
udp_ping_t udp 
)
inlinestatic

Create and send ipv6 udp-ping response packet.

Definition at line 48 of file udp_ping_util.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void udp_ping_create_rewrite ( ip46_udp_ping_flow flow,
u16  ctx 
)

Definition at line 175 of file udp_ping_util.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void udp_ping_free_flow_data ( ip46_udp_ping_flow flow)

Definition at line 218 of file udp_ping_util.c.

+ Here is the caller graph for this function:

void udp_ping_populate_flow ( ip46_address_t  src,
ip46_address_t  dst,
u16  start_src_port,
u16  end_src_port,
u16  start_dst_port,
u16  end_dst_port,
u16  interval,
u8  fault_det,
ip46_udp_ping_flow flow 
)

Definition at line 158 of file udp_ping_util.c.

+ Here is the caller graph for this function:

void udp_ping_send_ip6_pak ( vlib_main_t vm,
ip46_udp_ping_flow flow 
)

Create and send ipv6 udp-ping probe packet.

Definition at line 240 of file udp_ping_util.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: