FD.io VPP  v19.04.4-rc0-5-ge88582fac
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 {
   u32   listener_index
 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 137 of file session_types.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK()

session_::CLIB_CACHE_LINE_ALIGN_MARK ( pad  )

Field Documentation

◆ @323

union { ... }

◆ al_index

u32 session_::al_index

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

Definition at line 173 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 165 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 153 of file session_types.h.

◆ connection_index

u32 session_::connection_index

Index of the transport connection associated to the session.

Definition at line 162 of file session_types.h.

◆ flags

u32 session_::flags

Session flags.

See session_flags_t

Definition at line 159 of file session_types.h.

◆ listener_index

u32 session_::listener_index

Parent listener session index if the result of an accept.

Definition at line 170 of file session_types.h.

◆ opaque

u32 session_::opaque

Opaque, for general use.

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

◆ session_index

u32 session_::session_index

Index in thread pool where session was allocated.

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

◆ session_type

session_type_t session_::session_type

Type built from transport and network protocol types.

Definition at line 144 of file session_types.h.

◆ thread_index

u8 session_::thread_index

Index of the thread that allocated the session.

Definition at line 156 of file session_types.h.

◆ tx_fifo

svm_fifo_t* session_::tx_fifo

Definition at line 141 of file session_types.h.


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