16 #ifndef PLUGINS_IOAM_PLUGIN_IOAM_UDP_PING_UDP_PING_H_ 17 #define PLUGINS_IOAM_PLUGIN_IOAM_UDP_PING_UDP_PING_H_ 21 #define MAX_PING_RETRIES 5 23 #define EVENT_SIG_RECHECK 2 124 u16 start_src_port,
u16 end_src_port,
125 u16 start_dst_port,
u16 end_dst_port,
126 u16 interval,
u8 fault_det,
u8 is_disable);
udp-ping main data-structure.
clib_error_t * udp_ping_flow_create(u8 del)
ioam_analyser_data_t analyse_data
Analysed data.
ip46_udp_ping_flow * ip46_flow
Vector od udp-ping data.
u16 start_dst_port
Defines start port of the dest port range.
u16 interval
Interval for which ping packet to be sent.
udp_ping_flow udp_data
Per flow data.
u16 end_src_port
Defines end port of the src port range.
u32 pak_sent
No of packets sent for this flow.
f64 next_send_time
Time at which next udp-ping probe has to be sent out.
vnet_main_t * vnet_main
Pointer to vnet main for convenience.
u16 start_src_port
Defines start port of the src port range.
u8 * ping_rewrite
UDP ping packet.
u16 msg_id_base
API message ID base.
udp_ping_main_t udp_ping_main
ip46_address_t dst
Remote destination IPv4/6 address to be used.
u32 flow_ctx
This is used by ioam e2e for identifying flow and add seq number.
void ip46_udp_ping_set_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, u8 is_disable)
u16 end_dst_port
Defines end port of the dest port range.
vlib_main_t * vlib_main
Pointer to VLib main for the node - ipfix-collector.
u64 timer_interval
Stores the time interval at which process node has to wake up.
u8 fault_det
To enable fault detection/isolation in network.
ip46_address_t src
Local source IPv4/6 address to be used.
u16 rewrite_len
Ping packet rewrite string len.
u16 retry
Number of times ping response was dropped.
udp_ping_flow_data * stats
Ping statistics.