FD.io VPP  v19.08-27-gf4dcae4
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 148 of file session_types.h.

Member Function Documentation

session_::CLIB_CACHE_LINE_ALIGN_MARK ( pad  )

Field Documentation

union { ... }
u32 session_::al_index

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

Definition at line 184 of file session_types.h.

u32 session_::app_index

Index of application that owns the listener.

Set only if a listener

Definition at line 176 of file session_types.h.

u32 session_::app_wrk_index

Index of the app worker that owns the session.

Definition at line 164 of file session_types.h.

u32 session_::connection_index

Index of the transport connection associated to the session.

Definition at line 173 of file session_types.h.

u32 session_::flags

Session flags.

See session_flags_t

Definition at line 170 of file session_types.h.

session_handle_t session_::listener_handle

Parent listener session index if the result of an accept.

Definition at line 181 of file session_types.h.

u32 session_::opaque

Opaque, for general use.

Definition at line 188 of file session_types.h.

svm_fifo_t* session_::rx_fifo

Pointers to rx/tx buffers.

Once allocated, these do not move

Definition at line 151 of file session_types.h.

u32 session_::session_index

Index in thread pool where session was allocated.

Definition at line 161 of file session_types.h.

volatile u8 session_::session_state

State in session layer state machine.

See session_state_t

Definition at line 158 of file session_types.h.

session_type_t session_::session_type

Type built from transport and network protocol types.

Definition at line 155 of file session_types.h.

u8 session_::thread_index

Index of the thread that allocated the session.

Definition at line 167 of file session_types.h.

svm_fifo_t* session_::tx_fifo

Definition at line 152 of file session_types.h.


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