FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
http_session_t Struct Reference

Application session. More...

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 
 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 

Data Fields

foreach_app_session_field u32 thread_index
 rx thread index More...
 
u8rx_buf
 rx buffer More...
 
u32 vpp_session_index
 vpp session index, handle More...
 
u64 vpp_session_handle
 
u32 timer_handle
 Timeout timer handle. More...
 
u8path
 Fully-resolved file path. More...
 
u8data
 File data, a vector. More...
 
u32 data_offset
 Current data send offset. More...
 
int free_data
 Need to free data in detach_cache_entry. More...
 
u32 cache_pool_index
 File cache pool index. More...
 
http_state_machine_called_from_t called_from
 state machine called from... More...
 

Detailed Description

Application session.

Definition at line 40 of file http_server.c.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK() [1/2]

http_session_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

◆ CLIB_CACHE_LINE_ALIGN_MARK() [2/2]

http_session_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Field Documentation

◆ cache_pool_index

u32 http_session_t::cache_pool_index

File cache pool index.

Definition at line 108 of file http_static.h.

◆ called_from

http_state_machine_called_from_t http_session_t::called_from

state machine called from...

Definition at line 110 of file http_static.h.

◆ data

u8* http_session_t::data

File data, a vector.

Definition at line 101 of file http_static.h.

◆ data_offset

u32 http_session_t::data_offset

Current data send offset.

Definition at line 103 of file http_static.h.

◆ free_data

int http_session_t::free_data

Need to free data in detach_cache_entry.

Definition at line 105 of file http_static.h.

◆ path

u8* http_session_t::path

Fully-resolved file path.

Definition at line 99 of file http_static.h.

◆ rx_buf

u8 * http_session_t::rx_buf

rx buffer

Definition at line 47 of file http_server.c.

◆ thread_index

foreach_app_session_field u32 http_session_t::thread_index

rx thread index

Definition at line 46 of file http_server.c.

◆ timer_handle

u32 http_session_t::timer_handle

Timeout timer handle.

Definition at line 50 of file http_server.c.

◆ vpp_session_handle

u64 http_session_t::vpp_session_handle

Definition at line 49 of file http_server.c.

◆ vpp_session_index

u32 http_session_t::vpp_session_index

vpp session index, handle

Definition at line 48 of file http_server.c.


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