FD.io VPP
v20.01-48-g3e0dafb74
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_flag |
#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_bits_ | session_flag_bits_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 364 of file session_types.h.
#define FIFO_EVENT_APP_TX SESSION_IO_EVT_TX |
Definition at line 365 of file session_types.h.
#define FIFO_EVENT_BUILTIN_RX SESSION_IO_EVT_BUILTIN_RX |
Definition at line 367 of file session_types.h.
#define FIFO_EVENT_BUILTIN_TX SESSION_IO_EVT_BUILTIN_TX |
Definition at line 368 of file session_types.h.
#define FIFO_EVENT_DISCONNECT SESSION_CTRL_EVT_CLOSE |
Definition at line 366 of file session_types.h.
#define foreach_session_ctrl_evt |
Definition at line 341 of file session_types.h.
#define foreach_session_endpoint_fields |
Definition at line 26 of file session_types.h.
#define foreach_session_flag |
Definition at line 151 of file session_types.h.
#define foreach_session_state |
Definition at line 129 of file session_types.h.
#define SESSION_CONN_HDR_LEN 45 |
Definition at line 420 of file session_types.h.
#define SESSION_CONN_ID_LEN 37 |
Definition at line 419 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 78 of file session_types.h.
#define SESSION_ENDPOINT_NULL |
Definition at line 68 of file session_types.h.
#define session_endpoint_to_transport | ( | _sep | ) | ((transport_endpoint_t *)_sep) |
Definition at line 94 of file session_types.h.
#define session_endpoint_to_transport_cfg | ( | _sep | ) | ((transport_endpoint_cfg_t *)_sep) |
Definition at line 95 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 53 of file session_types.h.
#define SESSION_MSG_NULL { } |
Definition at line 400 of file session_types.h.
#define TRANSPORT_ENDPOINT_NULL |
Definition at line 60 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_bits_ session_flag_bits_t |
typedef enum session_flags_ session_flags_t |
typedef u64 session_handle_t |
Definition at line 118 of file session_types.h.
typedef u8 session_type_t |
Definition at line 117 of file session_types.h.
Enumerator | |
---|---|
SESSION_CLEANUP_TRANSPORT | |
SESSION_CLEANUP_SESSION |
Definition at line 120 of file session_types.h.
enum session_evt_type_t |
Definition at line 309 of file session_types.h.
enum session_flags_ |
Enumerator | |
---|---|
foreach_session_flag |
Definition at line 166 of file session_types.h.
enum session_flags_bits_ |
Enumerator | |
---|---|
SESSION_N_FLAGS |
Definition at line 158 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 370 of file session_types.h.
enum session_state_t |
Enumerator | |
---|---|
SESSION_N_STATES |
Definition at line 143 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 105 of file session_types.h.
|
inlinestatic |
Definition at line 112 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 250 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 296 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 256 of file session_types.h.
|
inlinestatic |
Definition at line 264 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" | |||
) |