summaryrefslogtreecommitdiffstats
path: root/src/vnet/l2/l2_bd.h
diff options
context:
space:
mode:
authorJohn Lo <loj@cisco.com>2019-01-07 15:16:33 -0500
committerFlorin Coras <florin.coras@gmail.com>2019-01-07 21:55:28 +0000
commite26c81fc80d1ce9a8746ebf4009149849b04f60f (patch)
tree12157a3247ed9169951e1083f8b50e240eec30c7 /src/vnet/l2/l2_bd.h
parent2500c79423c7d8d35b4e7b8f50060c09f2f857be (diff)
L2 BD API to flush all IP-MAC entries in the specified BD
Implement API/CLI to clear IP-MAC tables used for ARP-termination in the specified bridge domain. The CLI to flush MAC IP tables for a BD is: set bridge-domain arp entry <bd-id> del-all The API added is bd_ip_mac_flush. Change-Id: I34ceb87c0f480c7102f6559312c24081ed485af8 Signed-off-by: John Lo <loj@cisco.com>
Diffstat (limited to 'src/vnet/l2/l2_bd.h')
-rw-r--r--src/vnet/l2/l2_bd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/l2/l2_bd.h b/src/vnet/l2/l2_bd.h
index 987569aad9e..65d3dadab28 100644
--- a/src/vnet/l2/l2_bd.h
+++ b/src/vnet/l2/l2_bd.h
@@ -204,6 +204,8 @@ u32 bd_add_del_ip_mac (u32 bd_index,
const ip46_address_t * ip_addr,
const mac_address_t * mac, u8 is_add);
+void bd_flush_ip_mac (u32 bd_index);
+
#endif
/*