Crate pcap_rs

Source
Expand description

This crate provides simple functions to parse pcap files.

This implementation is based on the documentation available on wireshark’s wiki.

Modules§

iter
A nice and simple iterator over the file.

Structs§

Header
Header of the pcap file.
Record
A single Record in the file.

Enums§

LinkType
Enumerates all frame format supported by pcap.

Functions§

parse_header
Parses a header.
parse_record