From 16aa7f83c74017a35bbeb47d09d8cc3e731ae6b1 Mon Sep 17 00:00:00 2001 From: Jon Loeliger Date: Fri, 30 Mar 2018 13:34:47 -0500 Subject: DSLite: Implement new API call DSLITE_ADDRESS_DUMP. Change-Id: I92ca28d3007f7ea43cd3e8b20659e400dfa6c75c Signed-off-by: Jon Loeliger --- src/plugins/nat/nat.api | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/plugins/nat/nat.api') diff --git a/src/plugins/nat/nat.api b/src/plugins/nat/nat.api index 1a960173c43..69b6045c4cb 100644 --- a/src/plugins/nat/nat.api +++ b/src/plugins/nat/nat.api @@ -1211,6 +1211,24 @@ autoreply define dslite_add_del_pool_addr_range { u8 is_add; }; +/** \brief Dump DS-Lite addresses + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request +*/ +define dslite_address_dump { + u32 client_index; + u32 context; +}; + +/** \brief DS-Lite address details response + @param context - sender context, to match reply w/ request + @param ip_address - IPv4 address +*/ +define dslite_address_details { + u32 context; + u8 ip_address[4]; +}; + /** \brief Set AFTR IPv6 and IPv4 addresses @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request -- cgit 1.2.3-korg