Skip to content

fengyc/arp-parse-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Rust libray of parsing and building ARP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages