ouidata v0.1.0 Ouidata

The Ouidata module provides data from the Wireshark OUI database.

A list of OUIs and vendors is provided. As well as functions for finding out specific vendors from OUis.

Link to this section Summary

Functions

Gets a matching OUI entry.

Gets a MAC address vendor.

Gets a MAC address vendor.

Returns ouidata release version as a string.

vendor_list provides a list of all the known addresses and their vendors.

Link to this section Types

Link to this type

oui()
oui() :: %{address: String.t(), vendor: String.t(), comment: String.t()}

Link to this section Functions

Gets a matching OUI entry.

Returns nil if not found.

Example

Ouidata.get("00:00:69:AB:AB:AB")
%{comment: "Concord Communications Inc", id: "00:00:69", vendor: "ConcordC"}
Link to this function

get_comment(address)

Gets a MAC address vendor.

Returns nil if not found.

Example

Ouidata.get_comment("00:00:69:AB:AB:AB")
"Concord Communications Inc"
Link to this function

get_vendor(address)

Gets a MAC address vendor.

Returns nil if not found.

Example

Ouidata.get_vendor("00:00:69:AB:AB:AB")
"ConcordC"
Link to this function

ouidata_version()
ouidata_version() :: String.t()

Returns ouidata release version as a string.

Example:

Ouidata.ouidata_version
"20190416"
Link to this function

vendor_list()
vendor_list() :: [oui()]

vendor_list provides a list of all the known addresses and their vendors.