FD.io VPP  v20.01-48-g3e0dafb74
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 115 of file http_static.h.

Field Documentation

◆ data

u8* file_data_cache_t::data

Contents of the file, as a u8 * vector.

Definition at line 120 of file http_static.h.

◆ filename

u8* file_data_cache_t::filename

Name of the file.

Definition at line 118 of file http_static.h.

◆ inuse

int file_data_cache_t::inuse

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

Definition at line 127 of file http_static.h.

◆ last_used

f64 file_data_cache_t::last_used

Last time the cache entry was used.

Definition at line 122 of file http_static.h.

◆ next_index

u32 file_data_cache_t::next_index

Cache LRU links.

Definition at line 124 of file http_static.h.

◆ prev_index

u32 file_data_cache_t::prev_index

Definition at line 125 of file http_static.h.


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