extract_acks

Function extract_acks 

Source
pub fn extract_acks(raw: &[u8]) -> (Option<u64>, SmallVec<[u64; 8]>)
Expand description

Fast-path extraction of Sequence and Ack fields from a raw LpPacket.

Scans for Sequence (0x51) and Ack (0x0344) TLVs without allocating Bytes. Returns (tx_sequence, acks). Used only for reliability-enabled faces.