1 unstable release
0.1.0 | Nov 26, 2021 |
---|
#12 in #arp
11KB
194 lines
arp-parse
RFC826 ARP packet parsing and building.
Examples
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.
License
MIT
lib.rs
:
ARP package parsing and building.
Dependencies
~115KB