FD.io VPP
v21.01.1
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 391 of file session_types.h.
#define FIFO_EVENT_APP_TX SESSION_IO_EVT_TX |
Definition at line 392 of file session_types.h.
#define FIFO_EVENT_BUILTIN_RX SESSION_IO_EVT_BUILTIN_RX |
Definition at line 394 of file session_types.h.
#define FIFO_EVENT_BUILTIN_TX SESSION_IO_EVT_BUILTIN_TX |
Definition at line 395 of file session_types.h.
#define FIFO_EVENT_DISCONNECT SESSION_CTRL_EVT_CLOSE |
Definition at line 393 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 452 of file session_types.h.
#define foreach_session_flag |
Definition at line 159 of file session_types.h.
#define foreach_session_state |
Definition at line 137 of file session_types.h.
#define SESSION_CLI_ID_LEN "60" |
Definition at line 499 of file session_types.h.
#define SESSION_CLI_STATE_LEN "15" |
Definition at line 500 of file session_types.h.
#define SESSION_CONN_HDR_LEN 45 |
Definition at line 447 of file session_types.h.
#define SESSION_CONN_ID_LEN 37 |
Definition at line 446 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 79 of file session_types.h.
#define SESSION_ENDPOINT_NULL |
Definition at line 69 of file session_types.h.
#define session_endpoint_to_transport | ( | _sep | ) | ((transport_endpoint_t *)_sep) |
Definition at line 95 of file session_types.h.
#define session_endpoint_to_transport_cfg | ( | _sep | ) | ((transport_endpoint_cfg_t *)_sep) |
Definition at line 96 of file session_types.h.
#define SESSION_ERROR_NEW_SEG_NO_SPACE SESSION_E_SEG_NO_SPACE2 |
Definition at line 505 of file session_types.h.
#define SESSION_ERROR_NO_SPACE SESSION_E_SEG_NO_SPACE |
Definition at line 504 of file session_types.h.
#define SESSION_ERROR_SEG_CREATE SESSION_E_SEG_CREATE |
Definition at line 503 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 54 of file session_types.h.
#define SESSION_MSG_NULL { } |
Definition at line 427 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 61 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 119 of file session_types.h.
typedef u8 session_type_t |
Definition at line 118 of file session_types.h.
Enumerator | |
---|---|
SESSION_CLEANUP_TRANSPORT | |
SESSION_CLEANUP_SESSION |
Definition at line 121 of file session_types.h.
enum session_error_ |
Enumerator | |
---|---|
foreach_session_error |
Definition at line 492 of file session_types.h.
enum session_error_p_ |
Enumerator | |
---|---|
SESSION_N_ERRORS |
Definition at line 484 of file session_types.h.
enum session_evt_type_t |
Definition at line 330 of file session_types.h.
enum session_flags_ |
Enumerator | |
---|---|
foreach_session_flag |
Definition at line 175 of file session_types.h.
enum session_flags_bits_ |
Enumerator | |
---|---|
SESSION_N_FLAGS |
Definition at line 167 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 127 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 397 of file session_types.h.
enum session_state_t |
Enumerator | |
---|---|
SESSION_N_STATES |
Definition at line 151 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 106 of file session_types.h.
|
inlinestatic |
Definition at line 113 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 287 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 259 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 305 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 265 of file session_types.h.
|
inlinestatic |
Definition at line 273 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" | |||
) |