4 ms·
You can do something similar with `libpnet` in rust: #[packet] struct Dns { id: u16be, qr: u1, opcode: u4, aa: u1, tc: u1,
by plhk 10y ago
You can do something similar with `libpnet` in rust:
#[packet]
struct Dns {
id: u16be,
qr: u1,
opcode: u4,
aa: u1,
tc: u1,
...
#[payload]
data: Vec<u8>,
}
- baq 10y agoi don't know what to say, so i'll just leave this here: <3