aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/l2/l2.api
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2018-08-13 19:17:54 +0200
committerJohn Lo <loj@cisco.com>2018-08-17 21:57:36 +0000
commit5d82d2f1495e189c4687a6462850cbbb3ea38b17 (patch)
treed6bd64ef6907b06ef9d4cfd04d88c03fa4d74283 /src/vnet/l2/l2.api
parentb3655e5592e3e8e48eb087632f3fa71915891a9f (diff)
l2: arp termination dump
VPP-1368 Change-Id: I6373f76ba87184a91b517712eafb4ee1f5cea59e Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/l2/l2.api')
-rw-r--r--src/vnet/l2/l2.api26
1 files changed, 26 insertions, 0 deletions
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