acl: The ACL plugin.
[vpp.git] / vnet / vnet / ip / ping.h
index 7d2db42..58c6f4b 100644 (file)
@@ -29,6 +29,7 @@ typedef enum {
   SEND_PING_OK = 0,
   SEND_PING_ALLOC_FAIL,
   SEND_PING_NO_INTERFACE,
+  SEND_PING_NO_TABLE,
 } send_ip46_ping_result_t;
 
 /*
@@ -78,19 +79,23 @@ typedef CLIB_PACKED(struct {
 
 
 typedef struct {
-  u8 packet_data[64];
-} icmp4_input_trace_t;
+  u16 id;
+  u16 seq;
+  u8 bound;
+} icmp_echo_trace_t;
 
 
 
 
 typedef enum {
-  ICMP6_ECHO_REPLY_NEXT_NORMAL,
+  ICMP6_ECHO_REPLY_NEXT_DROP,
+  ICMP6_ECHO_REPLY_NEXT_PUNT,
   ICMP6_ECHO_REPLY_N_NEXT,
 } icmp6_echo_reply_next_t;
 
 typedef enum {
-  ICMP4_ECHO_REPLY_NEXT_NORMAL,
+  ICMP4_ECHO_REPLY_NEXT_DROP,
+  ICMP4_ECHO_REPLY_NEXT_PUNT,
   ICMP4_ECHO_REPLY_N_NEXT,
 } icmp4_echo_reply_next_t;