BD ARP entry use common API types
[vpp.git] / src / vnet / l2 / l2_bd.h
index 226e30e..987569a 100644 (file)
@@ -20,6 +20,8 @@
 
 #include <vlib/vlib.h>
 #include <vnet/vnet.h>
+#include <vnet/ip/ip6_packet.h>
+#include <vnet/ethernet/mac_address.h>
 
 typedef enum l2_bd_port_type_t_
 {
@@ -198,7 +200,9 @@ bd_find_or_add_bd_index (bd_main_t * bdm, u32 bd_id)
 }
 
 u32 bd_add_del_ip_mac (u32 bd_index,
-                      u8 * ip_addr, u8 * mac_addr, u8 is_ip6, u8 is_add);
+                      ip46_type_t type,
+                      const ip46_address_t * ip_addr,
+                      const mac_address_t * mac, u8 is_add);
 
 #endif