FD.io VPP
v17.04-9-g99c0734
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | UDP_PING_REWRITE_LEN 1000 |
Functions | |
u16 | udp_ping_fill_udp_data (udp_ping_t *udp_ping, u16 src_port, u16 dst_port, u8 msg_type, u16 ctx) |
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_create_rewrite (ip46_udp_ping_flow *flow, u16 ctx) |
void | udp_ping_free_flow_data (ip46_udp_ping_flow *flow) |
void | udp_ping_send_ip6_pak (vlib_main_t *vm, ip46_udp_ping_flow *flow) |
Create and send ipv6 udp-ping probe packet. More... | |
#define UDP_PING_REWRITE_LEN 1000 |
Definition at line 24 of file udp_ping_util.c.
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 | ||
) |
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.
void udp_ping_create_rewrite | ( | ip46_udp_ping_flow * | flow, |
u16 | ctx | ||
) |
Definition at line 175 of file udp_ping_util.c.
void udp_ping_free_flow_data | ( | ip46_udp_ping_flow * | flow | ) |
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.