Skip to main content

iter_pcapng

Function iter_pcapng 

Source
pub fn iter_pcapng<R: Read>(
    reader: R,
) -> Result<impl Iterator<Item = Result<PacketInfo, PcapError>>, PcapError>
Expand description

Iterate over packets in a PCAPng file.

Uses default timestamp resolution (microseconds) and zero offset. Full IDB-aware timestamp decoding is deferred to a later phase.