Module port_slab

Source
Expand description

Data structure helper to keep data associated with netdevice ports.

Structs§

OccupiedEntry
An occupied entry in a PortSlab.
PortSlab
A data structure that is keyed on Port, guarantees O(1) lookup and takes into account salted port identifiers.
SaltMismatchEntry
A mismatched salt entry in a PortSlab.
VacantEntry
A vacant slot in a PortSlab.

Enums§

Entry
An entry obtained from PortSlab::entry.
RemoveOutcome
Observable outcomes from PortSlab::remove.