FD.io VPP
v21.10.1-2-g0a485f517
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_ |
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_ft_action_ | session_ft_action_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 |
typedef enum session_error_p_ | session_error_p_t |
typedef enum session_error_ | session_error_t |
#define FIFO_EVENT_APP_RX SESSION_IO_EVT_RX |
Definition at line 393 of file session_types.h.
#define FIFO_EVENT_APP_TX SESSION_IO_EVT_TX |
Definition at line 394 of file session_types.h.
#define FIFO_EVENT_BUILTIN_RX SESSION_IO_EVT_BUILTIN_RX |
Definition at line 396 of file session_types.h.
#define FIFO_EVENT_BUILTIN_TX SESSION_IO_EVT_BUILTIN_TX |
Definition at line 397 of file session_types.h.
#define FIFO_EVENT_DISCONNECT SESSION_CTRL_EVT_CLOSE |
Definition at line 395 of file session_types.h.
#define foreach_session_ctrl_evt |
Definition at line 365 of file session_types.h.
#define foreach_session_endpoint_fields |
Definition at line 27 of file session_types.h.
#define foreach_session_error |
Definition at line 454 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_CLI_ID_LEN "60" |
Definition at line 507 of file session_types.h.
#define SESSION_CLI_STATE_LEN "15" |
Definition at line 508 of file session_types.h.
#define SESSION_CONN_HDR_LEN 45 |
Definition at line 449 of file session_types.h.
#define SESSION_CONN_ID_LEN 37 |
Definition at line 448 of file session_types.h.
#define SESSION_CTRL_MSG_MAX_SIZE 86 |
Definition at line 24 of file session_types.h.
#define SESSION_ENDPOINT_CFG_NULL |
Definition at line 77 of file session_types.h.
#define SESSION_ENDPOINT_NULL |
Definition at line 67 of file session_types.h.
#define session_endpoint_to_transport | ( | _sep | ) | ((transport_endpoint_t *)_sep) |
Definition at line 87 of file session_types.h.
#define session_endpoint_to_transport_cfg | ( | _sep | ) | ((transport_endpoint_cfg_t *)_sep) |
Definition at line 88 of file session_types.h.
#define SESSION_ERROR_NEW_SEG_NO_SPACE SESSION_E_SEG_NO_SPACE2 |
Definition at line 513 of file session_types.h.
#define SESSION_ERROR_NO_SPACE SESSION_E_SEG_NO_SPACE |
Definition at line 512 of file session_types.h.
#define SESSION_ERROR_SEG_CREATE SESSION_E_SEG_CREATE |
Definition at line 511 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 52 of file session_types.h.
#define SESSION_MSG_NULL { } |
Definition at line 429 of file session_types.h.
#define SESSION_NODE_FRAME_SIZE 128 |
Definition at line 25 of file session_types.h.
#define TRANSPORT_ENDPOINT_NULL |
Definition at line 59 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_error_p_ session_error_p_t |
typedef enum session_error_ session_error_t |
typedef enum session_flags_bits_ session_flag_bits_t |
typedef enum session_flags_ session_flags_t |
typedef enum session_ft_action_ session_ft_action_t |
typedef u64 session_handle_t |
Definition at line 111 of file session_types.h.
typedef u8 session_type_t |
Definition at line 110 of file session_types.h.
Enumerator | |
---|---|
SESSION_CLEANUP_TRANSPORT | |
SESSION_CLEANUP_SESSION |
Definition at line 113 of file session_types.h.
enum session_error_ |
Enumerator | |
---|---|
foreach_session_error |
Definition at line 500 of file session_types.h.
enum session_error_p_ |
Enumerator | |
---|---|
SESSION_N_ERRORS |
Definition at line 492 of file session_types.h.
enum session_evt_type_t |
Definition at line 326 of file session_types.h.
enum session_flags_ |
Enumerator | |
---|---|
foreach_session_flag |
Definition at line 168 of file session_types.h.
enum session_flags_bits_ |
Enumerator | |
---|---|
SESSION_N_FLAGS |
Definition at line 160 of file session_types.h.
enum session_ft_action_ |
Enumerator | |
---|---|
SESSION_FT_ACTION_ENQUEUED | |
SESSION_FT_ACTION_DEQUEUED | |
SESSION_FT_ACTION_N_ACTIONS |
Definition at line 119 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 399 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 98 of file session_types.h.
|
inlinestatic |
Definition at line 105 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 283 of file session_types.h.
|
inlinestatic |
Definition at line 321 of file session_types.h.
|
inlinestatic |
Definition at line 315 of file session_types.h.
Definition at line 255 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 301 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 261 of file session_types.h.
|
inlinestatic |
Definition at line 269 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" | |||
) |