FD.io VPP  v19.08.1-401-g8e4ed521a
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 opaque
 Opaque, for general use. More...
 

Detailed Description

Definition at line 154 of file session_types.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK()

session_::CLIB_CACHE_LINE_ALIGN_MARK ( pad  )

Field Documentation

◆ @348

union { ... }

◆ al_index

u32 session_::al_index

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

Definition at line 190 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 182 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 170 of file session_types.h.

◆ connection_index

u32 session_::connection_index

Index of the transport connection associated to the session.

Definition at line 179 of file session_types.h.

◆ flags

u32 session_::flags

Session flags.

See session_flags_t

Definition at line 176 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 187 of file session_types.h.

◆ opaque

u32 session_::opaque

Opaque, for general use.

Definition at line 194 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 157 of file session_types.h.

◆ session_index

u32 session_::session_index

Index in thread pool where session was allocated.

Definition at line 167 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 164 of file session_types.h.

◆ session_type

session_type_t session_::session_type

Type built from transport and network protocol types.

Definition at line 161 of file session_types.h.

◆ thread_index

u8 session_::thread_index

Index of the thread that allocated the session.

Definition at line 173 of file session_types.h.

◆ tx_fifo

svm_fifo_t* session_::tx_fifo

Definition at line 158 of file session_types.h.


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