| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Public Attributes | List of all members
fifo_string_cache_t Struct Reference

`#include <fifo_string_cache.h>`

## Public Attributes
GHashTable * | set
GSList * | head
GSList * | tail
unsigned | max_entries

## Detailed Description

A string cache with FIFO eviction. The cache tracks insertion order so that the oldest entry can be removed when max_entries is exceeded.

## Member Data Documentation

## ◆ head

GSList* fifo_string_cache_t::head

Head of the FIFO queue (oldest entry).

## ◆ max_entries

unsigned fifo_string_cache_t::max_entries

Maximum number of entries, or 0 for unlimited.

## ◆ set

GHashTable* fifo_string_cache_t::set

Hash table for O(1) lookup.

## ◆ tail

GSList* fifo_string_cache_t::tail

Tail of the FIFO queue (newest entry).

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

- /builds/wireshark/wireshark/epan/fifo_string_cache.h