32 #include <ioam/udp-ping/udp_ping.api_enum.h> 33 #include <ioam/udp-ping/udp_ping.api_types.h> 35 #define REPLY_MSG_ID_BASE sm->msg_id_base 44 vl_api_udp_ping_add_del_reply_t *rmp;
71 vl_api_udp_ping_export_reply_t *rmp;
79 #include <ioam/udp-ping/udp_ping.api.c> static void vl_api_udp_ping_export_t_handler(vl_api_udp_ping_export_t *mp)
static void vl_api_udp_ping_add_del_t_handler(vl_api_udp_ping_add_del_t *mp)
udp-ping main data-structure.
clib_error_t * udp_ping_flow_create(u8 del)
vl_api_address_t dst_ip_address
Udp-probe export add/del request.
#define VLIB_INIT_FUNCTION(x)
ip46_type_t ip_address_decode(const vl_api_address_t *in, ip46_address_t *out)
Decode/Encode for struct/union types.
u16 msg_id_base
API message ID base.
udp_ping_main_t udp_ping_main
static clib_error_t * udp_ping_api_init(vlib_main_t *vm)
vl_api_address_t src_ip_address
static void setup_message_id_table(api_main_t *am)
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)
UDP-Probe Add/Delete request.