FD.io VPP
v20.01-48-g3e0dafb74
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | http_static_main_t |
struct | http_session_t |
Application session. More... | |
struct | file_data_cache_t |
In-memory file data cache entry. More... | |
struct | http_static_server_main_t |
Main data structure. More... | |
Enumerations | |
enum | http_session_state_t { HTTP_STATE_CLOSED, HTTP_STATE_ESTABLISHED, HTTP_STATE_OK_SENT, HTTP_STATE_CLOSED, HTTP_STATE_ESTABLISHED, HTTP_STATE_OK_SENT, HTTP_STATE_SEND_MORE_DATA, HTTP_STATE_N_STATES } |
Session States. More... | |
enum | http_state_machine_called_from_t { CALLED_FROM_RX, CALLED_FROM_TX, CALLED_FROM_TIMER } |
enum | http_builtin_method_type_t { HTTP_BUILTIN_METHOD_GET = 0, HTTP_BUILTIN_METHOD_POST } |
Functions | |
int | http_static_server_enable_api (u32 fifo_size, u32 cache_limit, u32 prealloc_fifos, u32 private_segment_size, u8 *www_root, u8 *uri) |
API helper function for vl_api_http_static_enable_t messages. More... | |
void | http_static_server_register_builtin_handler (void *fp, char *url, int type) |
Register a builtin GET or POST handler. More... | |
Variables | |
http_static_main_t | http_static_main |
http_static_server_main_t | http_static_server_main |
Enumerator | |
---|---|
HTTP_BUILTIN_METHOD_GET | |
HTTP_BUILTIN_METHOD_POST |
Definition at line 73 of file http_static.h.
enum http_session_state_t |
Session States.
Definition at line 52 of file http_static.h.
Enumerator | |
---|---|
CALLED_FROM_RX | |
CALLED_FROM_TX | |
CALLED_FROM_TIMER |
Definition at line 66 of file http_static.h.
int http_static_server_enable_api | ( | u32 | fifo_size, |
u32 | cache_limit, | ||
u32 | prealloc_fifos, | ||
u32 | private_segment_size, | ||
u8 * | www_root, | ||
u8 * | uri | ||
) |
API helper function for vl_api_http_static_enable_t messages.
Definition at line 1333 of file static_server.c.
void http_static_server_register_builtin_handler | ( | void * | fp, |
char * | url, | ||
int | type | ||
) |
Register a builtin GET or POST handler.
Definition at line 540 of file static_server.c.
http_static_main_t http_static_main |
Definition at line 37 of file http_static.c.
http_static_server_main_t http_static_server_main |
Definition at line 33 of file static_server.c.