oui_query v0.1.0 OuiQuery

Documentation for OuiQuery.

Link to this section Summary

Functions

Gets the comment string for the OUI given a MAC address

Gets the latest Wireshark OUI database

Gets the URL to the latest Wireshark OUI database

Gets the vendor string for the OUI given a MAC address

Parses OUI database

Link to this section Functions

Link to this function get_comment(db, mac)

Gets the comment string for the OUI given a MAC address.

Examples

iex> OuiQuery.get_db |> OuiQuery.get_comment("80:00:0b:29:56:d5")
"Intel Corporate"

Gets the latest Wireshark OUI database

Gets the URL to the latest Wireshark OUI database

Examples

iex> OuiQuery.get_db_url()
"https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob_plain;f=manuf"
Link to this function get_vendor(db, mac)

Gets the vendor string for the OUI given a MAC address.

Examples

iex> OuiQuery.get_db |> OuiQuery.get_vendor("80:00:0b:29:56:d5")
"IntelCor"

Parses OUI database