FD.io VPP  v19.08-27-gf4dcae4
Vector Packet Processing
file_data_cache_t Struct Reference

In-memory file data cache entry. More...

Data Fields

u8filename
 Name of the file. More...
 
u8data
 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...
 

Detailed Description

In-memory file data cache entry.

Definition at line 93 of file static_server.c.

Field Documentation

u8* file_data_cache_t::data

Contents of the file, as a u8 * vector.

Definition at line 98 of file static_server.c.

u8* file_data_cache_t::filename

Name of the file.

Definition at line 96 of file static_server.c.

int file_data_cache_t::inuse

Reference count, so we don't recycle while referenced.

Definition at line 105 of file static_server.c.

f64 file_data_cache_t::last_used

Last time the cache entry was used.

Definition at line 100 of file static_server.c.

u32 file_data_cache_t::next_index

Cache LRU links.

Definition at line 102 of file static_server.c.

u32 file_data_cache_t::prev_index

Definition at line 103 of file static_server.c.


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