Go to the source code of this file.
|
enum | session_state_t {
SESSION_STATE_CREATED,
SESSION_STATE_LISTENING,
SESSION_STATE_CONNECTING,
SESSION_STATE_ACCEPTING,
SESSION_STATE_READY,
SESSION_STATE_OPENED,
SESSION_STATE_TRANSPORT_CLOSING,
SESSION_STATE_CLOSING,
SESSION_STATE_CLOSED_WAITING,
SESSION_STATE_TRANSPORT_CLOSED,
SESSION_STATE_CLOSED,
SESSION_STATE_N_STATES
} |
|
enum | session_flags_ { SESSION_F_RX_EVT = 1,
SESSION_F_PROXY = (1 << 1)
} |
|
enum | session_evt_type_t {
SESSION_IO_EVT_RX,
SESSION_IO_EVT_TX,
SESSION_IO_EVT_TX_FLUSH,
SESSION_IO_EVT_BUILTIN_RX,
SESSION_IO_EVT_BUILTIN_TX,
SESSION_CTRL_EVT_RPC,
SESSION_CTRL_EVT_CLOSE,
SESSION_CTRL_EVT_BOUND,
SESSION_CTRL_EVT_UNLISTEN_REPLY,
SESSION_CTRL_EVT_ACCEPTED,
SESSION_CTRL_EVT_ACCEPTED_REPLY,
SESSION_CTRL_EVT_CONNECTED,
SESSION_CTRL_EVT_CONNECTED_REPLY,
SESSION_CTRL_EVT_DISCONNECTED,
SESSION_CTRL_EVT_DISCONNECTED_REPLY,
SESSION_CTRL_EVT_RESET,
SESSION_CTRL_EVT_RESET_REPLY,
SESSION_CTRL_EVT_REQ_WORKER_UPDATE,
SESSION_CTRL_EVT_WORKER_UPDATE,
SESSION_CTRL_EVT_WORKER_UPDATE_REPLY
} |
|
enum | session_mq_rings_e { SESSION_MQ_IO_EVT_RING,
SESSION_MQ_CTRL_EVT_RING,
SESSION_MQ_N_RINGS
} |
|
◆ FIFO_EVENT_APP_RX
◆ FIFO_EVENT_APP_TX
◆ FIFO_EVENT_BUILTIN_RX
◆ FIFO_EVENT_BUILTIN_TX
◆ FIFO_EVENT_DISCONNECT
◆ foreach_session_endpoint_fields
#define foreach_session_endpoint_fields |
Value:foreach_transport_endpoint_cfg_fields \
Definition at line 24 of file session_types.h.
◆ SESSION_CONN_HDR_LEN
#define SESSION_CONN_HDR_LEN 45 |
◆ SESSION_CONN_ID_LEN
#define SESSION_CONN_ID_LEN 37 |
◆ SESSION_ENDPOINT_CFG_NULL
#define SESSION_ENDPOINT_CFG_NULL |
Value:{ \
.is_ip4 = 0, \
.port = 0, \
.transport_proto = 0, \
.hostname = 0, \
}
#define ENDPOINT_INVALID_INDEX
#define SESSION_IP46_ZERO
#define TRANSPORT_ENDPOINT_NULL
Definition at line 72 of file session_types.h.
◆ SESSION_ENDPOINT_NULL
#define SESSION_ENDPOINT_NULL |
Value:{ \
.is_ip4 = 0, \
.port = 0, \
.transport_proto = 0, \
}
#define ENDPOINT_INVALID_INDEX
#define SESSION_IP46_ZERO
#define TRANSPORT_ENDPOINT_NULL
Definition at line 62 of file session_types.h.
◆ session_endpoint_to_transport
◆ session_endpoint_to_transport_cfg
◆ SESSION_IP46_ZERO
#define SESSION_IP46_ZERO |
Value:{ \
.ip6 = { \
{ 0, 0, }, \
}, \
}
Definition at line 47 of file session_types.h.
◆ SESSION_LISTENER_PREFIX
#define SESSION_LISTENER_PREFIX 0x5FFFFFFF |
◆ SESSION_MSG_NULL
#define SESSION_MSG_NULL { } |
◆ TRANSPORT_ENDPOINT_NULL
#define TRANSPORT_ENDPOINT_NULL |
Value:{ \
.is_ip4 = 0, \
.port = 0, \
}
#define ENDPOINT_INVALID_INDEX
#define SESSION_IP46_ZERO
Definition at line 54 of file session_types.h.
◆ session_dgram_hdr_t
◆ session_dgram_pre_hdr_t
◆ session_endpoint_cfg_t
◆ session_endpoint_t
◆ session_flags_t
◆ session_handle_t
◆ session_t
◆ session_type_t
◆ session_evt_type_t
Enumerator |
---|
SESSION_IO_EVT_RX | |
SESSION_IO_EVT_TX | |
SESSION_IO_EVT_TX_FLUSH | |
SESSION_IO_EVT_BUILTIN_RX | |
SESSION_IO_EVT_BUILTIN_TX | |
SESSION_CTRL_EVT_RPC | |
SESSION_CTRL_EVT_CLOSE | |
SESSION_CTRL_EVT_BOUND | |
SESSION_CTRL_EVT_UNLISTEN_REPLY | |
SESSION_CTRL_EVT_ACCEPTED | |
SESSION_CTRL_EVT_ACCEPTED_REPLY | |
SESSION_CTRL_EVT_CONNECTED | |
SESSION_CTRL_EVT_CONNECTED_REPLY | |
SESSION_CTRL_EVT_DISCONNECTED | |
SESSION_CTRL_EVT_DISCONNECTED_REPLY | |
SESSION_CTRL_EVT_RESET | |
SESSION_CTRL_EVT_RESET_REPLY | |
SESSION_CTRL_EVT_REQ_WORKER_UPDATE | |
SESSION_CTRL_EVT_WORKER_UPDATE | |
SESSION_CTRL_EVT_WORKER_UPDATE_REPLY | |
Definition at line 267 of file session_types.h.
◆ session_flags_
Enumerator |
---|
SESSION_F_RX_EVT | |
SESSION_F_PROXY | |
Definition at line 131 of file session_types.h.
◆ session_mq_rings_e
Enumerator |
---|
SESSION_MQ_IO_EVT_RING | |
SESSION_MQ_CTRL_EVT_RING | |
SESSION_MQ_N_RINGS | |
Definition at line 298 of file session_types.h.
◆ session_state_t
Enumerator |
---|
SESSION_STATE_CREATED | |
SESSION_STATE_LISTENING | |
SESSION_STATE_CONNECTING | |
SESSION_STATE_ACCEPTING | |
SESSION_STATE_READY | |
SESSION_STATE_OPENED | |
SESSION_STATE_TRANSPORT_CLOSING | |
SESSION_STATE_CLOSING | |
SESSION_STATE_CLOSED_WAITING | |
SESSION_STATE_TRANSPORT_CLOSED | |
SESSION_STATE_CLOSED | |
SESSION_STATE_N_STATES | |
Definition at line 115 of file session_types.h.
◆ session_endpoint_fib_proto()
◆ session_endpoint_is_local()
◆ session_endpoint_is_zero()
◆ session_get_fib_proto()
◆ session_get_transport_proto()
◆ session_handle()
◆ session_has_transport()
◆ session_index_from_handle()
◆ session_parse_handle()
◆ session_thread_from_handle()
◆ session_transport_service_type()
◆ session_transport_tx_fn_type()
◆ session_tx_is_dgram()
◆ session_type_from_proto_and_ip()
◆ session_type_is_ip4()
◆ session_type_transport_proto()
◆ STATIC_ASSERT()