|
typedef | CLIB_PACKED (struct{svm_fifo_t *fifo;u8 event_type;u16 event_id;u32 enqueue_length;}) session_fifo_event_t |
|
static session_manager_main_t * | vnet_get_session_manager_main () |
|
static session_manager_t * | session_manager_get (u32 index) |
|
static unix_shared_memory_queue_t * | session_manager_get_vpp_event_queue (u32 thread_index) |
|
static session_manager_t * | connects_session_manager_get (session_manager_main_t *smm, session_type_t session_type) |
|
void | session_manager_get_segment_info (u32 index, u8 **name, u32 *size) |
|
int | session_manager_flush_enqueue_events (u32 thread_index) |
| Flushes queue of sessions that are to be notified of new data enqueued events. More...
|
|
int | session_manager_add_first_segment (session_manager_main_t *smm, session_manager_t *sm, u32 segment_size, u8 **segment_name) |
|
void | session_manager_del (session_manager_main_t *smm, session_manager_t *sm) |
|
void | connects_session_manager_init (session_manager_main_t *smm, u8 session_type) |
|
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) |
|
static stream_session_t * | stream_session_get_tsi (u64 ti_and_si, u32 thread_index) |
|
static stream_session_t * | stream_session_get (u64 si, u32 thread_index) |
|
static stream_session_t * | stream_session_get_if_valid (u64 si, u32 thread_index) |
|
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_enqueue (transport_connection_t *tc) |
|
static u32 | stream_session_fifo_size (transport_connection_t *tc) |
|
int | stream_session_enqueue_data (transport_connection_t *tc, u8 *data, u16 len, u8 queue_event) |
|
u32 | 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) |
|
void | stream_session_connect_notify (transport_connection_t *tc, u8 sst, u8 is_fail) |
|
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 (u8 sst, ip46_address_t *addr, u16 port_host_byte_order, u32 api_client_index) |
|
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...
|
|
int | stream_session_start_listen (u32 server_index, ip46_address_t *ip, u16 port) |
|
void | stream_session_stop_listen (u32 server_index) |
|
u8 * | format_stream_session (u8 *s, va_list *args) |
| Format stream session as per the following format. More...
|
|
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) |
|