nf_hist::tracked::trim_history_to_size

Trims the history such that size is less than or equal to max_size

Synopsis

Declared in <nf/hist.h>

uint64_t
trim_history_to_size(uint64_t max_size);

Return Value

the new size

Parameters

Name

Description

max_size

the maximum size for the history to have after trimming (actions must be kept whole so the new byte count will likely be less)

Created with MrDocs