|
typedef | CLIB_PACKED (struct{union{svm_fifo_t *fifo;u64 session_handle;rpc_args_t rpc_args;};u8 event_type;u16 event_id;}) session_fifo_event_t |
|
static session_manager_main_t * | vnet_get_session_manager_main () |
|
stream_session_t * | stream_session_lookup_listener4 (ip4_address_t *lcl, u16 lcl_port, u8 proto) |
|
stream_session_t * | stream_session_lookup4 (ip4_address_t *lcl, ip4_address_t *rmt, u16 lcl_port, u16 rmt_port, u8 proto, u32 thread_index) |
| Looks up a session based on the 5-tuple passed as argument. More...
|
|
stream_session_t * | stream_session_lookup_listener6 (ip6_address_t *lcl, u16 lcl_port, u8 proto) |
|
stream_session_t * | stream_session_lookup6 (ip6_address_t *lcl, ip6_address_t *rmt, u16 lcl_port, u16 rmt_port, u8, u32 thread_index) |
|
transport_connection_t * | stream_session_lookup_transport4 (ip4_address_t *lcl, ip4_address_t *rmt, u16 lcl_port, u16 rmt_port, u8 proto, u32 thread_index) |
|
transport_connection_t * | stream_session_lookup_transport6 (ip6_address_t *lcl, ip6_address_t *rmt, u16 lcl_port, u16 rmt_port, u8 proto, u32 thread_index) |
|
stream_session_t * | stream_session_lookup_listener (ip46_address_t *lcl, u16 lcl_port, u8 proto) |
|
void | stream_session_table_add_for_tc (transport_connection_t *tc, u64 value) |
|
int | stream_session_table_del_for_tc (transport_connection_t *tc) |
|
static stream_session_t * | stream_session_get_tsi (u64 ti_and_si, u32 thread_index) |
|
static stream_session_t * | stream_session_get (u32 si, u32 thread_index) |
|
static stream_session_t * | stream_session_get_if_valid (u64 si, u32 thread_index) |
|
static u64 | stream_session_handle (stream_session_t *s) |
|
static u32 | stream_session_index_from_handle (u64 handle) |
|
static u32 | stream_session_thread_from_handle (u64 handle) |
|
static void | stream_session_parse_handle (u64 handle, u32 *index, u32 *thread_index) |
|
static stream_session_t * | stream_session_get_from_handle (u64 handle) |
|
static stream_session_t * | stream_session_listener_get (u8 sst, u64 si) |
|
static u32 | stream_session_get_index (stream_session_t *s) |
|
static u32 | stream_session_max_rx_enqueue (transport_connection_t *tc) |
|
static u32 | stream_session_rx_fifo_size (transport_connection_t *tc) |
|
u32 | stream_session_tx_fifo_max_dequeue (transport_connection_t *tc) |
|
int | stream_session_enqueue_data (transport_connection_t *tc, vlib_buffer_t *b, u32 offset, u8 queue_event, u8 is_in_order) |
|
int | stream_session_peek_bytes (transport_connection_t *tc, u8 *buffer, u32 offset, u32 max_bytes) |
|
u32 | stream_session_dequeue_drop (transport_connection_t *tc, u32 max_bytes) |
|
int | stream_session_connect_notify (transport_connection_t *tc, u8 sst, u8 is_fail) |
|
void | stream_session_init_fifos_pointers (transport_connection_t *tc, u32 rx_pointer, u32 tx_pointer) |
| Init fifo tail and head pointers. More...
|
|
void | stream_session_accept_notify (transport_connection_t *tc) |
|
void | stream_session_disconnect_notify (transport_connection_t *tc) |
| Notification from transport that connection is being closed. More...
|
|
void | stream_session_delete_notify (transport_connection_t *tc) |
| Notification from transport that connection is being deleted. More...
|
|
void | stream_session_reset_notify (transport_connection_t *tc) |
| Notify application that connection has been reset. More...
|
|
int | stream_session_accept (transport_connection_t *tc, u32 listener_index, u8 sst, u8 notify) |
| Accept a stream session. More...
|
|
int | stream_session_open (u32 app_index, session_type_t st, transport_endpoint_t *tep, transport_connection_t **tc) |
| Ask transport to open connection to remote transport endpoint. More...
|
|
int | stream_session_listen (stream_session_t *s, transport_endpoint_t *tep) |
| Ask transport to listen on local transport endpoint. More...
|
|
int | stream_session_stop_listen (stream_session_t *s) |
| Ask transport to stop listening on local transport endpoint. More...
|
|
void | stream_session_disconnect (stream_session_t *s) |
| Disconnect session and propagate to transport. More...
|
|
void | stream_session_cleanup (stream_session_t *s) |
| Cleanup transport and session state. More...
|
|
void | session_send_session_evt_to_thread (u64 session_handle, fifo_event_type_t evt_type, u32 thread_index) |
|
u8 * | format_stream_session (u8 *s, va_list *args) |
| Format stream session as per the following format. More...
|
|
int | send_session_connected_callback (u32 app_index, u32 api_context, stream_session_t *s, u8 is_fail) |
|
void | session_register_transport (u8 type, const transport_proto_vft_t *vft) |
|
transport_proto_vft_t * | session_get_transport_vft (u8 type) |
|
clib_error_t * | vnet_session_enable_disable (vlib_main_t *vm, u8 is_en) |
|
static unix_shared_memory_queue_t * | session_manager_get_vpp_event_queue (u32 thread_index) |
|
int | session_manager_flush_enqueue_events (u32 thread_index) |
| Flushes queue of sessions that are to be notified of new data enqueued events. More...
|
|
static u64 | listen_session_get_handle (stream_session_t *s) |
|
static stream_session_t * | listen_session_get_from_handle (u64 handle) |
|
static stream_session_t * | listen_session_new (session_type_t type) |
|
static stream_session_t * | listen_session_get (session_type_t type, u32 index) |
|
static void | listen_session_del (stream_session_t *s) |
|
static u8 | session_manager_is_enabled () |
|