FD.io VPP
v20.01-48-g3e0dafb74
Vector Packet Processing
|
Main data structure. More...
Public Member Functions | |
BVT (clib_bihash) name_to_data | |
Hash table which maps file name to file data. More... | |
Data Fields | |
http_session_t ** | sessions |
Per thread vector of session pools. More... | |
clib_rwlock_t | sessions_lock |
Session pool reader writer lock. More... | |
u32 ** | session_to_http_session |
vpp session to http session index map More... | |
int | debug_level |
Enable debug messages. More... | |
svm_msg_q_t ** | vpp_queue |
vpp message/event queue More... | |
file_data_cache_t * | cache_pool |
Unified file data cache pool. More... | |
uword * | get_url_handlers |
Hash tables for built-in GET and POST handlers. More... | |
uword * | post_url_handlers |
u64 | cache_size |
Current cache size. More... | |
u64 | cache_limit |
Max cache size in bytes. More... | |
u64 | cache_evictions |
Number of cache evictions. More... | |
u32 | first_index |
Cache LRU listheads. More... | |
u32 | last_index |
u8 * | www_root |
root path to be served More... | |
svm_queue_t * | vl_input_queue |
Server's event queue. More... | |
u32 | my_client_index |
API client handle. More... | |
u32 | app_index |
Application index. More... | |
u32 | node_index |
Process node index for event scheduling. More... | |
tw_timer_wheel_2t_1w_2048sl_t | tw |
Session cleanup timer wheel. More... | |
clib_spinlock_t | tw_lock |
clib_timebase_t | timebase |
Time base, so we can generate browser cache control http spew. More... | |
u32 | prealloc_fifos |
Number of preallocated fifos, usually 0. More... | |
u32 | private_segment_size |
Private segment size, usually 0. More... | |
u32 | fifo_size |
Size of the allocated rx, tx fifos, roughly 8K or so. More... | |
u8 * | uri |
The bind URI, defaults to tcp://0.0.0.0/80. More... | |
vlib_main_t * | vlib_main |
Main data structure.
Definition at line 133 of file http_static.h.
http_static_server_main_t::BVT | ( | clib_bihash | ) |
Hash table which maps file name to file data.
u32 http_static_server_main_t::app_index |
Application index.
Definition at line 178 of file http_static.h.
u64 http_static_server_main_t::cache_evictions |
Number of cache evictions.
Definition at line 162 of file http_static.h.
u64 http_static_server_main_t::cache_limit |
Max cache size in bytes.
Definition at line 160 of file http_static.h.
file_data_cache_t* http_static_server_main_t::cache_pool |
Unified file data cache pool.
Definition at line 149 of file http_static.h.
u64 http_static_server_main_t::cache_size |
Current cache size.
Definition at line 158 of file http_static.h.
int http_static_server_main_t::debug_level |
Enable debug messages.
Definition at line 143 of file http_static.h.
u32 http_static_server_main_t::fifo_size |
Size of the allocated rx, tx fifos, roughly 8K or so.
Definition at line 195 of file http_static.h.
u32 http_static_server_main_t::first_index |
Cache LRU listheads.
Definition at line 165 of file http_static.h.
uword* http_static_server_main_t::get_url_handlers |
Hash tables for built-in GET and POST handlers.
Definition at line 154 of file http_static.h.
u32 http_static_server_main_t::last_index |
Definition at line 166 of file http_static.h.
u32 http_static_server_main_t::my_client_index |
API client handle.
Definition at line 175 of file http_static.h.
u32 http_static_server_main_t::node_index |
Process node index for event scheduling.
Definition at line 181 of file http_static.h.
uword* http_static_server_main_t::post_url_handlers |
Definition at line 155 of file http_static.h.
u32 http_static_server_main_t::prealloc_fifos |
Number of preallocated fifos, usually 0.
Definition at line 191 of file http_static.h.
u32 http_static_server_main_t::private_segment_size |
Private segment size, usually 0.
Definition at line 193 of file http_static.h.
u32** http_static_server_main_t::session_to_http_session |
vpp session to http session index map
Definition at line 140 of file http_static.h.
http_session_t** http_static_server_main_t::sessions |
Per thread vector of session pools.
Definition at line 136 of file http_static.h.
clib_rwlock_t http_static_server_main_t::sessions_lock |
Session pool reader writer lock.
Definition at line 138 of file http_static.h.
clib_timebase_t http_static_server_main_t::timebase |
Time base, so we can generate browser cache control http spew.
Definition at line 188 of file http_static.h.
tw_timer_wheel_2t_1w_2048sl_t http_static_server_main_t::tw |
Session cleanup timer wheel.
Definition at line 184 of file http_static.h.
clib_spinlock_t http_static_server_main_t::tw_lock |
Definition at line 185 of file http_static.h.
u8* http_static_server_main_t::uri |
The bind URI, defaults to tcp://0.0.0.0/80.
Definition at line 197 of file http_static.h.
svm_queue_t* http_static_server_main_t::vl_input_queue |
Server's event queue.
Definition at line 172 of file http_static.h.
vlib_main_t* http_static_server_main_t::vlib_main |
Definition at line 198 of file http_static.h.
svm_msg_q_t** http_static_server_main_t::vpp_queue |
vpp message/event queue
Definition at line 146 of file http_static.h.
u8* http_static_server_main_t::www_root |
root path to be served
Definition at line 169 of file http_static.h.