aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session.api
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2017-10-14 18:56:41 -0700
committerDave Wallace <dwallacelf@gmail.com>2017-10-17 08:09:55 +0000
commitade70e459deeaf143e5321603176c3fd3ee1503b (patch)
treed549ef60b705b304d1b0d0349d2b5a661fdccfed /src/vnet/session/session.api
parent0178efd690515a8410fb9b6e1fd96c3483871598 (diff)
session: return local transport endpoint in connect reply
Change-Id: I7794d5a0774017da4c1c15f45783a18754994ac8 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/session.api')
-rw-r--r--src/vnet/session/session.api6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vnet/session/session.api b/src/vnet/session/session.api
index 12a5d10429c..fee98c2c8ff 100644
--- a/src/vnet/session/session.api
+++ b/src/vnet/session/session.api
@@ -303,6 +303,9 @@ define connect_session {
@param segment_name_length - non-zero if the client needs to attach to
the fifo segment
@param segment_name - set if the client needs to attach to the segment
+ @param lcl_ip - local ip for connection
+ @param is_ip4 - flag to indicate if ip is v4 or v6
+ @param lcl_port - local port
*/
define connect_session_reply {
u32 context;
@@ -314,6 +317,9 @@ define connect_session_reply {
u32 segment_size;
u8 segment_name_length;
u8 segment_name[128];
+ u8 lcl_ip[16];
+ u8 is_ip4;
+ u16 lcl_port;
};
/** \brief enable/disable session layer