arping: api to return responder mac address
[vpp.git] / src / plugins / arping / arping.api
index f797b8c..9ec01a9 100644 (file)
@@ -18,6 +18,7 @@
 option version = "1.0.0";
 import "vnet/interface_types.api";
 import "vnet/ip/ip_types.api";
+import "vnet/ethernet/ethernet_types.api";
 
 /** \brief
     @param client_index - opaque cookie to identify the sender
@@ -54,6 +55,28 @@ define arping_reply
   u32 reply_count;
 };
 
+/*
+ * Address Conflict Detection
+ */
+define arping_acd
+{
+  u32 client_index;
+  u32 context;
+  vl_api_address_t address;
+  vl_api_interface_index_t sw_if_index;
+  bool is_garp;
+  u32 repeat [default=1];
+  f64 interval [default=1.0];
+};
+
+define arping_acd_reply
+{
+  u32 context;
+  i32 retval;
+  u32 reply_count;
+  vl_api_mac_address_t mac_address;
+};
+
 /*
  * Local Variables:
  * eval: (c-set-style "gnu")