Skip to content

PeerSlot ​

Struct

Source: NetSession.h

Description ​

One fixed peer table row.

A slot is never freed: a timeout only clears online, so a returning peer keeps its index and its accumulated state.

Properties ​

NameTypeDescription
addressNetAddressIdentity: the peer's source MAC.
lastSeenMsuint32_tSession time of the last accepted frame.
uptimeMsuint32_tUptime last advertised by HELLO.
nextTxSequenceuint32_tNext reliable sequence to assign.
rxHighestSequint32_tNewest reliable sequence accepted.
rxWindowuint64_tAccepted older sequences, bit 0 = highest.
bootIduint16_tPeer's boot generation from HELLO.
nodeIduint8_tApplication label from HELLO.
usedboolfalse when the slot was never allocated.
onlineboolfalse after BYE or the peer timeout.

Released under the MIT License.