Crate for raw socketing, can send raw packets and some protocols
Icmp
, Arp
and Adapter
structsIpPacked
which represents eth + (ipv4 | ipv6) headersIcmp
struct```rust use cursock::; use cursock::utils::;
let socket = Socket::new("wlan0").expect("initialize error"); let mut buffer = [0; 1000];
socket.readrawpacket(&mut buffer).expect("read error");
socket.destroy(); ```