parse_pcap

Function parse_pcap 

Source
pub fn parse_pcap<P: AsRef<Path>>(
    pcap_path: P,
) -> Result<Vec<NetworkPacket>, PcapError>
Expand description

Parse a PCAP file using tshark and return a vector of NetworkPackets