Expand description
Packet index types for two-pass chronological sorting.
PacketIndex is exactly 20 bytes — a minimal record that lets the second
pass seek directly to each packet without buffering payloads.
IndexStore abstracts over in-memory and on-disk storage so the first
pass can switch modes transparently.
Structs§
- File
Packet Index - A
PacketIndexentry annotated with the index of its source file. - Packet
Index - Minimal per-packet record built during the first pass.
Enums§
- Index
Store - Storage backend for the first-pass packet index.
Functions§
- read_
packet_ at - Seek
filetooffset, read the 16-byte PCAP record header to recoveroriglen, then readcaplenbytes of packet data. - sidecar_
path - Derive the
.idxsidecar path by appending.idxto the input path.