summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/transport.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2022-02-10 11:57:06 -0800
committerFlorin Coras <florin.coras@gmail.com>2022-02-10 21:17:16 +0000
commit0bce71eee3f144b7ad15cd008ccc9e646d6663f4 (patch)
treed9f4798fd127d48cbf7bf9d5b17aaf5cd5473cd9 /src/vnet/session/transport.h
parentefeea5b111db9075ffdab73191f6343f6872bfb2 (diff)
session: use transport endpoint cfg for listen
Makes it similar to connects. Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I38c328670054e1a9ba4dc4ea8fe7519a5a09e8be
Diffstat (limited to 'src/vnet/session/transport.h')
-rw-r--r--src/vnet/session/transport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/session/transport.h b/src/vnet/session/transport.h
index 02ab540f6a2..633bb1ecfd0 100644
--- a/src/vnet/session/transport.h
+++ b/src/vnet/session/transport.h
@@ -72,7 +72,7 @@ typedef struct _transport_proto_vft
/*
* Setup
*/
- u32 (*start_listen) (u32 session_index, transport_endpoint_t * lcl);
+ u32 (*start_listen) (u32 session_index, transport_endpoint_cfg_t *lcl);
u32 (*stop_listen) (u32 conn_index);
int (*connect) (transport_endpoint_cfg_t * rmt);
void (*half_close) (u32 conn_index, u32 thread_index);
@@ -140,7 +140,7 @@ void transport_half_close (transport_proto_t tp, u32 conn_index,
void transport_close (transport_proto_t tp, u32 conn_index, u8 thread_index);
void transport_reset (transport_proto_t tp, u32 conn_index, u8 thread_index);
u32 transport_start_listen (transport_proto_t tp, u32 session_index,
- transport_endpoint_t * tep);
+ transport_endpoint_cfg_t *tep);
u32 transport_stop_listen (transport_proto_t tp, u32 conn_index);
void transport_cleanup (transport_proto_t tp, u32 conn_index,
u8 thread_index);