rawsock is a Rust library that highly simplifies use of packet capturing libraries such as pcap, wpcap or pf_ring and also libraries with a compatible API, such as npcap. It can help you to send and receive raw socket frames. It also provides a consistent API for using these libraries, so that the internal complexity is hidden.
For now:
Cargo.toml:
toml
[dependencies]
rawsock = { git = "https://github.com/szymonwieloch/rust-rawsock"}
For now:
bash
cargo doc --open
This code is licensed under MIT license.