| Crates.io | arp-parse |
| lib.rs | arp-parse |
| version | 0.1.0 |
| created_at | 2021-11-26 04:23:35.660891+00 |
| updated_at | 2021-11-26 04:23:35.660891+00 |
| description | ARP parsing and building library |
| homepage | |
| repository | https://github.com/fengyc/arp-parse-rs/ |
| max_upload_size | |
| id | 487891 |
| size | 15,474 |
RFC826 ARP packet parsing and building.
Parse arp frame
let buff = [...];
let slice = arp_parse::parse(&buff).unwrap();
let op_code = slice.op_code();
...
Build arp frame
let mut buff = [...];
let builder = ARPSliceBuilder::new(buff).unwrap();
There are some examples in test cases.
MIT