Module counter_map

Module counter_map 

Source
Expand description

The device node’s persisted frame-counter map, shared via umsh-journal-store (see that crate’s counter module for the contract and tests).

Structs§

CounterMap
MapFull
The map was full and the context could not be added.

Constants§

ENCODED_MAX
Upper bound of CounterMap::encode’s output.
MAX_ENTRIES
One TX boundary for the device identity plus RX boundaries for MAX_DEV_PEERS (8) peers, with slack for a stale generation of entries surviving until the next journal clear (identity provisioning and CMD_CLEAR both clear the journal).
MAX_KEY_LEN
Longest stored context: mac.rx: (7) + 32-byte key, with headroom.