FD.io VPP  v21.06-3-gbb25fbf28
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 116 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 121 of file http_static.h.

◆ filename

u8* file_data_cache_t::filename

Name of the file.

Definition at line 119 of file http_static.h.

◆ inuse

int file_data_cache_t::inuse

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

Definition at line 128 of file http_static.h.

◆ last_used

f64 file_data_cache_t::last_used

Last time the cache entry was used.

Definition at line 123 of file http_static.h.

◆ next_index

u32 file_data_cache_t::next_index

Cache LRU links.

Definition at line 125 of file http_static.h.

◆ prev_index

u32 file_data_cache_t::prev_index

Definition at line 126 of file http_static.h.


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