X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fip%2Fping.h;h=3f7488fbeac468bb4b58e7d8d19c5f5c37574048;hb=71612d61930e57e7c8ebf9e5647b15a4b23720b2;hp=1887314a93c0252c6713df8f04312aa9705a562d;hpb=61459c9be0f620f738cf049b1b33e1a2d13dc9a6;p=vpp.git diff --git a/src/vnet/ip/ping.h b/src/vnet/ip/ping.h index 1887314a93c..3f7488fbeac 100644 --- a/src/vnet/ip/ping.h +++ b/src/vnet/ip/ping.h @@ -32,6 +32,7 @@ typedef enum SEND_PING_ALLOC_FAIL, SEND_PING_NO_INTERFACE, SEND_PING_NO_TABLE, + SEND_PING_NO_SRC_ADDRESS, } send_ip46_ping_result_t; /* @@ -42,6 +43,7 @@ typedef struct ping_run_t u16 icmp_id; u16 curr_seq; uword cli_process_id; + uword cli_thread_index; } ping_run_t; typedef struct ping_main_t @@ -54,7 +56,7 @@ typedef struct ping_main_t ping_run_t *ping_run_by_icmp_id; } ping_main_t; -ping_main_t ping_main; +extern ping_main_t ping_main; #define PING_DEFAULT_DATA_LEN 60 #define PING_DEFAULT_INTERVAL 1.0