FD.io VPP
v20.09-64-g4f7b92f0a
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 390 of file session_types.h.
#define FIFO_EVENT_APP_TX SESSION_IO_EVT_TX |
Definition at line 391 of file session_types.h.
#define FIFO_EVENT_BUILTIN_RX SESSION_IO_EVT_BUILTIN_RX |
Definition at line 393 of file session_types.h.
#define FIFO_EVENT_BUILTIN_TX SESSION_IO_EVT_BUILTIN_TX |
Definition at line 394 of file session_types.h.
#define FIFO_EVENT_DISCONNECT SESSION_CTRL_EVT_CLOSE |
Definition at line 392 of file session_types.h.
#define foreach_session_ctrl_evt |
Definition at line 364 of file session_types.h.
#define foreach_session_endpoint_fields |
Definition at line 26 of file session_types.h.
#define foreach_session_error |
Definition at line 451 of file session_types.h.
#define foreach_session_flag |
Definition at line 158 of file session_types.h.
#define foreach_session_state |
Definition at line 136 of file session_types.h.
#define SESSION_CONN_HDR_LEN 45 |
Definition at line 446 of file session_types.h.
#define SESSION_CONN_ID_LEN 37 |
Definition at line 445 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 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_ERROR_NEW_SEG_NO_SPACE SESSION_E_SEG_NO_SPACE2 |
Definition at line 501 of file session_types.h.
#define SESSION_ERROR_NO_SPACE SESSION_E_SEG_NO_SPACE |
Definition at line 500 of file session_types.h.
#define SESSION_ERROR_SEG_CREATE SESSION_E_SEG_CREATE |
Definition at line 499 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 426 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_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 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_error_ |
Enumerator | |
---|---|
foreach_session_error |
Definition at line 491 of file session_types.h.
enum session_error_p_ |
Enumerator | |
---|---|
SESSION_N_ERRORS |
Definition at line 483 of file session_types.h.
enum session_evt_type_t |
Definition at line 329 of file session_types.h.
enum session_flags_ |
Enumerator | |
---|---|
foreach_session_flag |
Definition at line 174 of file session_types.h.
enum session_flags_bits_ |
Enumerator | |
---|---|
SESSION_N_FLAGS |
Definition at line 166 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 126 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 396 of file session_types.h.
enum session_state_t |
Enumerator | |
---|---|
SESSION_N_STATES |
Definition at line 150 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 286 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 258 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 304 of file session_types.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 264 of file session_types.h.
|
inlinestatic |
Definition at line 272 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" | |||
) |