FD.io VPP
v19.08.2-294-g37e99c22d
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | session_ |
struct | session_rpc_args_t |
struct | session_dgram_pre_hdr_ |
struct | session_dgram_header_ |
Macros | |
#define | SESSION_INVALID_INDEX ((u32)~0) |
#define | SESSION_INVALID_HANDLE ((u64)~0) |
#define | SESSION_CTRL_MSG_MAX_SIZE 84 |
#define | foreach_session_endpoint_fields |
#define | SESSION_IP46_ZERO |
#define | TRANSPORT_ENDPOINT_NULL |
#define | SESSION_ENDPOINT_NULL |
#define | SESSION_ENDPOINT_CFG_NULL |
#define | session_endpoint_to_transport(_sep) ((transport_endpoint_t *)_sep) |
#define | session_endpoint_to_transport_cfg(_sep) ((transport_endpoint_cfg_t *)_sep) |
#define | foreach_session_state |
#define | foreach_session_ctrl_evt |
#define | FIFO_EVENT_APP_RX SESSION_IO_EVT_RX |
#define | FIFO_EVENT_APP_TX SESSION_IO_EVT_TX |
#define | FIFO_EVENT_DISCONNECT SESSION_CTRL_EVT_CLOSE |
#define | FIFO_EVENT_BUILTIN_RX SESSION_IO_EVT_BUILTIN_RX |
#define | FIFO_EVENT_BUILTIN_TX SESSION_IO_EVT_BUILTIN_TX |
#define | SESSION_MSG_NULL { } |
#define | SESSION_CONN_ID_LEN 37 |
#define | SESSION_CONN_HDR_LEN 45 |
Typedefs | |
typedef struct _session_endpoint | session_endpoint_t |
typedef struct _session_endpoint_cfg | session_endpoint_cfg_t |
typedef u8 | session_type_t |
typedef u64 | session_handle_t |
typedef enum session_flags_ | session_flags_t |
typedef struct session_ | session_t |
typedef struct session_dgram_pre_hdr_ | session_dgram_pre_hdr_t |
typedef struct session_dgram_header_ | session_dgram_hdr_t |
#define FIFO_EVENT_APP_RX SESSION_IO_EVT_RX |
Definition at line 342 of file session_types.h.
#define FIFO_EVENT_APP_TX SESSION_IO_EVT_TX |
Definition at line 343 of file session_types.h.
#define FIFO_EVENT_BUILTIN_RX SESSION_IO_EVT_BUILTIN_RX |
Definition at line 345 of file session_types.h.
#define FIFO_EVENT_BUILTIN_TX SESSION_IO_EVT_BUILTIN_TX |
Definition at line 346 of file session_types.h.
#define FIFO_EVENT_DISCONNECT SESSION_CTRL_EVT_CLOSE |
Definition at line 344 of file session_types.h.
#define foreach_session_ctrl_evt |
Definition at line 320 of file session_types.h.
#define foreach_session_endpoint_fields |
Definition at line 26 of file session_types.h.
#define foreach_session_state |
Definition at line 125 of file session_types.h.
#define SESSION_CONN_HDR_LEN 45 |
Definition at line 398 of file session_types.h.
#define SESSION_CONN_ID_LEN 37 |
Definition at line 397 of file session_types.h.
#define SESSION_CTRL_MSG_MAX_SIZE 84 |
Definition at line 24 of file session_types.h.
#define SESSION_ENDPOINT_CFG_NULL |
Definition at line 75 of file session_types.h.
#define SESSION_ENDPOINT_NULL |
Definition at line 65 of file session_types.h.
#define session_endpoint_to_transport | ( | _sep | ) | ((transport_endpoint_t *)_sep) |
Definition at line 90 of file session_types.h.
#define session_endpoint_to_transport_cfg | ( | _sep | ) | ((transport_endpoint_cfg_t *)_sep) |
Definition at line 91 of file session_types.h.
#define SESSION_INVALID_HANDLE ((u64)~0) |
Definition at line 23 of file session_types.h.
#define SESSION_INVALID_INDEX ((u32)~0) |
Definition at line 22 of file session_types.h.
#define SESSION_IP46_ZERO |
Definition at line 50 of file session_types.h.
#define SESSION_MSG_NULL { } |
Definition at line 378 of file session_types.h.
#define TRANSPORT_ENDPOINT_NULL |
Definition at line 57 of file session_types.h.
typedef struct session_dgram_header_ session_dgram_hdr_t |
typedef struct session_dgram_pre_hdr_ session_dgram_pre_hdr_t |
typedef struct _session_endpoint_cfg session_endpoint_cfg_t |
typedef struct _session_endpoint session_endpoint_t |
typedef enum session_flags_ session_flags_t |
typedef u64 session_handle_t |
Definition at line 114 of file session_types.h.
typedef u8 session_type_t |
Definition at line 113 of file session_types.h.
Enumerator | |
---|---|
SESSION_CLEANUP_TRANSPORT | |
SESSION_CLEANUP_SESSION |
Definition at line 116 of file session_types.h.
enum session_evt_type_t |
Definition at line 290 of file session_types.h.
enum session_flags_ |
Enumerator | |
---|---|
SESSION_F_RX_EVT | |
SESSION_F_PROXY | |
SESSION_F_CUSTOM_TX |
Definition at line 147 of file session_types.h.
enum session_mq_rings_e |
Enumerator | |
---|---|
SESSION_MQ_IO_EVT_RING | |
SESSION_MQ_CTRL_EVT_RING | |
SESSION_MQ_N_RINGS |
Definition at line 348 of file session_types.h.
enum session_state_t |
Enumerator | |
---|---|
SESSION_N_STATES |
Definition at line 139 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 101 of file session_types.h.
|
inlinestatic |
Definition at line 108 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 231 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 277 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 237 of file session_types.h.
|
inlinestatic |
Definition at line 245 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
STATIC_ASSERT | ( | sizeof(session_dgram_hdr_t) | = =(SESSION_CONN_ID_LEN+8) , |
"session conn id wrong length" | |||
) |