diff options
Diffstat (limited to 'src/vnet/session')
-rw-r--r-- | src/vnet/session/application_local.c | 2 | ||||
-rw-r--r-- | src/vnet/session/session.c | 4 | ||||
-rw-r--r-- | src/vnet/session/transport.c | 2 | ||||
-rw-r--r-- | src/vnet/session/transport.h | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/vnet/session/application_local.c b/src/vnet/session/application_local.c index 83def8eb730..8590d041600 100644 --- a/src/vnet/session/application_local.c +++ b/src/vnet/session/application_local.c @@ -820,7 +820,7 @@ ct_connect (app_worker_t * client_wrk, session_t * ll, } static u32 -ct_start_listen (u32 app_listener_index, transport_endpoint_t * tep) +ct_start_listen (u32 app_listener_index, transport_endpoint_cfg_t *tep) { session_endpoint_cfg_t *sep; ct_connection_t *ct; diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c index 42f24d2fb21..108fa361d26 100644 --- a/src/vnet/session/session.c +++ b/src/vnet/session/session.c @@ -1468,12 +1468,12 @@ session_open (session_endpoint_cfg_t *rmt, session_handle_t *rsh) int session_listen (session_t * ls, session_endpoint_cfg_t * sep) { - transport_endpoint_t *tep; + transport_endpoint_cfg_t *tep; int tc_index; u32 s_index; /* Transport bind/listen */ - tep = session_endpoint_to_transport (sep); + tep = session_endpoint_to_transport_cfg (sep); s_index = ls->session_index; tc_index = transport_start_listen (session_get_transport_proto (ls), s_index, tep); diff --git a/src/vnet/session/transport.c b/src/vnet/session/transport.c index 92df3656a8c..540d6a615ac 100644 --- a/src/vnet/session/transport.c +++ b/src/vnet/session/transport.c @@ -341,7 +341,7 @@ 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) { return tp_vfts[tp].start_listen (session_index, tep); } 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); |