diff options
author | Florin Coras <fcoras@cisco.com> | 2018-12-27 11:53:11 -0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2018-12-28 20:41:44 +0000 |
commit | 5a2ec8fc41d14ffc5275ab88761c1fb7e0420a33 (patch) | |
tree | 428fcbd4923da925981717fcfba87fdd55be494b /src/vnet/session/session.h | |
parent | fa915f8180d620b5325789200e08fec674d390ba (diff) |
session: free session after transport and app confirm
In addition to that, a bit of refactoring.
Change-Id: Iea1eabc2167bcdef185ec53bc09bae087c5398e6
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/session.h')
-rw-r--r-- | src/vnet/session/session.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/vnet/session/session.h b/src/vnet/session/session.h index 3b729234967..e3c73000edf 100644 --- a/src/vnet/session/session.h +++ b/src/vnet/session/session.h @@ -611,18 +611,18 @@ void stream_session_init_fifos_pointers (transport_connection_t * tc, u32 rx_pointer, u32 tx_pointer); int stream_session_accept_notify (transport_connection_t * tc); -void stream_session_disconnect_notify (transport_connection_t * tc); -void stream_session_delete_notify (transport_connection_t * tc); -void session_stream_close_notify (transport_connection_t * tc); -void stream_session_reset_notify (transport_connection_t * tc); +void session_transport_closing_notify (transport_connection_t * tc); +void session_transport_delete_notify (transport_connection_t * tc); +void session_transport_closed_notify (transport_connection_t * tc); +void session_transport_reset_notify (transport_connection_t * tc); int stream_session_accept (transport_connection_t * tc, u32 listener_index, u8 notify); int session_open (u32 app_index, session_endpoint_t * tep, u32 opaque); int session_listen (stream_session_t * s, session_endpoint_cfg_t * sep); int session_stop_listen (stream_session_t * s); -void stream_session_disconnect (stream_session_t * s); -void stream_session_disconnect_transport (stream_session_t * s); -void stream_session_cleanup (stream_session_t * s); +void session_close (stream_session_t * s); +void session_transport_close (stream_session_t * s); +void session_transport_cleanup (stream_session_t * s); int session_send_io_evt_to_thread (svm_fifo_t * f, session_evt_type_t evt_type); int session_send_io_evt_to_thread_custom (void *data, u32 thread_index, |