![]() |
FD.io VPP
v20.01-48-g3e0dafb74
Vector Packet Processing
|
In-memory file data cache entry. More...
Data Fields | |
| u8 * | filename |
| Name of the file. More... | |
| u8 * | data |
| Contents of the file, as a u8 * vector. More... | |
| f64 | last_used |
| Last time the cache entry was used. More... | |
| u32 | next_index |
| Cache LRU links. More... | |
| u32 | prev_index |
| int | inuse |
| Reference count, so we don't recycle while referenced. More... | |
In-memory file data cache entry.
Definition at line 115 of file http_static.h.
| u8* file_data_cache_t::data |
Contents of the file, as a u8 * vector.
Definition at line 120 of file http_static.h.
| u8* file_data_cache_t::filename |
Name of the file.
Definition at line 118 of file http_static.h.
| int file_data_cache_t::inuse |
Reference count, so we don't recycle while referenced.
Definition at line 127 of file http_static.h.
| f64 file_data_cache_t::last_used |
Last time the cache entry was used.
Definition at line 122 of file http_static.h.
| u32 file_data_cache_t::next_index |
Cache LRU links.
Definition at line 124 of file http_static.h.
| u32 file_data_cache_t::prev_index |
Definition at line 125 of file http_static.h.