Skip to content

Database of OUI (MAC address manufacturerers) for Rust.

Notifications You must be signed in to change notification settings

jwalton/rs-oui-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oui-data

A Rust library for looking up information from the IEEE OUI database.

Usage

Use the lookup function to lookup a MAC address in the MA-L, MA-M, MA-S, CID, and IAB registries.

let record = oui::lookup("00:00:00:00:00:00").unwrap();
assert_eq!(record.organization(), "XEROX CORPORATION");

Building

This library is largely generated code, derived from data hosted at http://standards-oui.ieee.org.

To build with updated records, run ./update_data.sh to update the CSV files, then just cargo build as usual.

About

Database of OUI (MAC address manufacturerers) for Rust.

Resources

Stars

Watchers

Forks

Packages

No packages published