aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat.api
diff options
context:
space:
mode:
authorJon Loeliger <jdl@netgate.com>2018-03-30 13:34:47 -0500
committerOle Trøan <otroan@employees.org>2018-04-05 06:47:48 +0000
commit16aa7f83c74017a35bbeb47d09d8cc3e731ae6b1 (patch)
tree3ba4a5a2ea40ae82b1948ae09789292652bbacab /src/plugins/nat/nat.api
parent7c6df39b50cd4fe27291caa1083da7bb9e18f7a6 (diff)
DSLite: Implement new API call DSLITE_ADDRESS_DUMP.
Change-Id: I92ca28d3007f7ea43cd3e8b20659e400dfa6c75c Signed-off-by: Jon Loeliger <jdl@netgate.com>
Diffstat (limited to 'src/plugins/nat/nat.api')
-rw-r--r--src/plugins/nat/nat.api18
1 files changed, 18 insertions, 0 deletions
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