aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/snat/snat.api
diff options
context:
space:
mode:
authorMartin <magalik@cisco.com>2017-03-08 03:31:02 -0800
committerMartin <magalik@cisco.com>2017-03-08 04:38:37 -0800
commit6b7fcda46689bf540538f839c870a9981752fc2c (patch)
tree64bc0f5c009c5aea52ce2e3e0eab69cc0a0aa683 /src/plugins/snat/snat.api
parent3f844d0bc900e5db40ba74724e2b61e7943682d3 (diff)
SNAT: user_session_dump is_ip4 and vat unformating added
Change-Id: I0ffab147c3218a75b7c3bb829983f538c7b637ee Signed-off-by: Martin <magalik@cisco.com>
Diffstat (limited to 'src/plugins/snat/snat.api')
-rw-r--r--src/plugins/snat/snat.api2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/snat/snat.api b/src/plugins/snat/snat.api
index 8ff69b25742..612830f9a6e 100644
--- a/src/plugins/snat/snat.api
+++ b/src/plugins/snat/snat.api
@@ -387,12 +387,14 @@ define snat_user_details {
/** \brief S-NAT user's sessions
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
+ @param is_ip4 - 1 if address type is IPv4
@param user_ip - IP address of the user to dump
@param vrf_id - VRF_ID
*/
define snat_user_session_dump {
u32 client_index;
u32 context;
+ u8 is_ip4;
u8 ip_address[16];
u32 vrf_id;
};