FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
session_ Struct Reference
+ Collaboration diagram for session_:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (pad)
 

Data Fields

svm_fifo_trx_fifo
 Pointers to rx/tx buffers. More...
 
svm_fifo_ttx_fifo
 
session_type_t session_type
 Type built from transport and network protocol types. More...
 
volatile u8 session_state
 State in session layer state machine. More...
 
u32 session_index
 Index in thread pool where session was allocated. More...
 
u32 app_wrk_index
 Index of the app worker that owns the session. More...
 
u8 thread_index
 Index of the thread that allocated the session. More...
 
u32 flags
 Session flags. More...
 
u32 connection_index
 Index of the transport connection associated to the session. More...
 
u32 app_index
 Index of application that owns the listener. More...
 
union {
   session_handle_t   listener_handle
 Parent listener session index if the result of an accept. More...
 
   u32   al_index
 App listener index in app's listener pool if a listener. More...
 
   u32   ho_index
 Index in app worker's half-open table if a half-open. More...
 
}; 
 
u32 opaque
 Opaque, for general use. More...
 

Detailed Description

Definition at line 175 of file session_types.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK()

session_::CLIB_CACHE_LINE_ALIGN_MARK ( pad  )

Field Documentation

◆ @514

union { ... }

◆ al_index

u32 session_::al_index

App listener index in app's listener pool if a listener.

Definition at line 211 of file session_types.h.

◆ app_index

u32 session_::app_index

Index of application that owns the listener.

Set only if a listener

Definition at line 203 of file session_types.h.

◆ app_wrk_index

u32 session_::app_wrk_index

Index of the app worker that owns the session.

Definition at line 191 of file session_types.h.

◆ connection_index

u32 session_::connection_index

Index of the transport connection associated to the session.

Definition at line 200 of file session_types.h.

◆ flags

u32 session_::flags

Session flags.

See session_flags_t

Definition at line 197 of file session_types.h.

◆ ho_index

u32 session_::ho_index

Index in app worker's half-open table if a half-open.

Definition at line 214 of file session_types.h.

◆ listener_handle

session_handle_t session_::listener_handle

Parent listener session index if the result of an accept.

Definition at line 208 of file session_types.h.

◆ opaque

u32 session_::opaque

Opaque, for general use.

Definition at line 218 of file session_types.h.

◆ rx_fifo

svm_fifo_t* session_::rx_fifo

Pointers to rx/tx buffers.

Once allocated, these do not move

Definition at line 178 of file session_types.h.

◆ session_index

u32 session_::session_index

Index in thread pool where session was allocated.

Definition at line 188 of file session_types.h.

◆ session_state

volatile u8 session_::session_state

State in session layer state machine.

See session_state_t

Definition at line 185 of file session_types.h.

◆ session_type

session_type_t session_::session_type

Type built from transport and network protocol types.

Definition at line 182 of file session_types.h.

◆ thread_index

u8 session_::thread_index

Index of the thread that allocated the session.

Definition at line 194 of file session_types.h.

◆ tx_fifo

svm_fifo_t* session_::tx_fifo

Definition at line 179 of file session_types.h.


The documentation for this struct was generated from the following file: