From 5d82d2f1495e189c4687a6462850cbbb3ea38b17 Mon Sep 17 00:00:00 2001 From: Mohsin Kazmi Date: Mon, 13 Aug 2018 19:17:54 +0200 Subject: l2: arp termination dump VPP-1368 Change-Id: I6373f76ba87184a91b517712eafb4ee1f5cea59e Signed-off-by: Mohsin Kazmi --- src/vnet/l2/l2.api | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'src/vnet/l2/l2.api') diff --git a/src/vnet/l2/l2.api b/src/vnet/l2/l2.api index 05b250bd885..ae639682a38 100644 --- a/src/vnet/l2/l2.api +++ b/src/vnet/l2/l2.api @@ -459,6 +459,32 @@ autoreply define bd_ip_mac_add_del u8 mac_address[6]; }; +/** \brief bridge domain IP to MAC entry details structure + @param bd_id - bridge domain table id + @param is_ipv6 - if non-zero, ipv6 address, else ipv4 address + @param ip_address - ipv4 or ipv6 address + @param mac_address - MAC address +*/ +define bd_ip_mac_details +{ + u32 context; + u32 bd_id; + u8 is_ipv6; + u8 ip_address[16]; + u8 mac_address[6]; +}; + +/** \brief Dump bridge domain IP to MAC entries + @param client_index - opaque cookie to identify the sender + @param bd_id - bridge domain identifier +*/ +define bd_ip_mac_dump +{ + u32 client_index; + u32 context; + u32 bd_id; +}; + /** \brief L2 interface ethernet flow point filtering enable/disable request @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request -- cgit 1.2.3-korg