rust-manuf
rust-manuf is rust library provides Ethernet vendor codes, and well-known MAC addresses
Usage
To use rust-manuf, first add this to your Cargo.toml:
[]
= "0.1"
Then, add this to your crate root:
extern crate manuf;
Use vendor to find name and description base on an ethernet (MAC) address.
assert_eq!;
Use prefix to find vendor's prefix and mask for the ethernet (MAC) address.
assert!;
use parse to extract verdor's information from a manuf file.
let f = open.unwrap;
let r = new;
for in parse
Note: The manuf file was generated by the Wireshark project.
License
Released under the terms of the MIT license.