arp-parse 0.1.0

ARP parsing and building library
Documentation
  • Coverage
  • 97.06%
    33 out of 34 items documented0 out of 20 items with examples
  • Size
  • Source code size: 15.38 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.06 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • fengyc/arp-parse-rs
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • fengyc

arp-parse

Main

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