pub fn rdpcap(path: impl AsRef<Path>) -> Result<Vec<CapturedPacket>>Expand description
Read all packets from a PCAP file into memory.
This is the simple Scapy-like API. For large files, use PcapIterator instead.
pub fn rdpcap(path: impl AsRef<Path>) -> Result<Vec<CapturedPacket>>Read all packets from a PCAP file into memory.
This is the simple Scapy-like API. For large files, use PcapIterator instead.