summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip.api
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2018-05-18 02:27:10 -0700
committerDamjan Marion <dmarion.lists@gmail.com>2018-05-18 13:03:05 +0000
commit9e2f91548b46ed9fb5fba4a7918eef7d93f9eab3 (patch)
tree09ddf41b6ae5b6c34f4ec12974247e8313c42279 /src/vnet/ip/ip.api
parent8c3f8a29374deed5a67a5fd084f186413f6183d7 (diff)
IP unnumbered dump
Change-Id: I4f245fd225bcc563fafee2696cd039477d661c57 Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src/vnet/ip/ip.api')
-rw-r--r--src/vnet/ip/ip.api24
1 files changed, 23 insertions, 1 deletions
diff --git a/src/vnet/ip/ip.api b/src/vnet/ip/ip.api
index d59297b1c20..7f4f030882d 100644
--- a/src/vnet/ip/ip.api
+++ b/src/vnet/ip/ip.api
@@ -19,7 +19,7 @@
called through a shared memory interface.
*/
-option version = "1.2.3";
+option version = "1.2.4";
import "vnet/fib/fib_types.api";
/** \brief Add / del table request
@@ -525,6 +525,28 @@ define ip_address_dump
u8 is_ipv6;
};
+/** \brief IP unnumbered configurations
+ @param sw_if_index The interface that has unnumbered configuration
+ @param ip_sw_if_index The IP interface that it is unnnumbered to
+*/
+define ip_unnumbered_details
+{
+ u32 client_index;
+ u32 context;
+ u32 sw_if_index;
+ u32 ip_sw_if_index;
+};
+
+/** \brief Dump IP unnumbered configurations
+ @param sw_if_index ~0 for all interfaces, else the interface desired
+*/
+define ip_unnumbered_dump
+{
+ u32 client_index;
+ u32 context;
+ u32 sw_if_index;
+};
+
define ip_details
{
u32 sw_if_index;