Documentation ¶
Overview ¶
Package index provides functionality related to OUIs (organizationally unique identifiers). OUIs are 24-bit numbers that uniquely identifies a vendor, manufacturer, or other organization. They are purchased from the Institute of Electrical and Electronics Engineers (IEEE) Registration Authority by the assignee (IEEE term for the vendor, manufacturer, or other organization).
Only assignment from MA-L registry assigns new OUI.
References:
* https://gitlab.com/wireshark/wireshark/-/raw/master/manuf * https://en.wikipedia.org/wiki/Organizationally_unique_identifier
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assignment ¶
type Assignment string
Assignment is either a MAC addresses (most common?), Subnetwork Access Protocol identifiers, World Wide Names for Fibre Channel devices or vendor blocks in EDID.
type EDIDVendorBlock ¶
type EDIDVendorBlock Assignment // https://en.wikipedia.org/wiki/Extended_Display_Identification_Data
type FibreChannelDevice ¶
type FibreChannelDevice Assignment // https://en.wikipedia.org/wiki/Fibre_Channel
type MACAddress ¶
type MACAddress Assignment // https://en.wikipedia.org/wiki/MAC_address
type PublicListingURL ¶
type PublicListingURL string
const ( OUIURL PublicListingURL = "http://standards-oui.ieee.org/oui/oui.csv" CIDURL PublicListingURL = "http://standards-oui.ieee.org/cid/cid.csv" IABURL PublicListingURL = "http://standards-oui.ieee.org/iab/iab.csv" MAMURL PublicListingURL = "http://standards-oui.ieee.org/oui28/mam.csv" OUI36URL PublicListingURL = "http://standards-oui.ieee.org/oui36/oui36.csv" RawGitHubURL PublicListingURL = "https://raw.githubusercontent.com/picatz/manuf/main/manuf.csv" )
type Record ¶
type Record struct { Registry Registry Assignment Assignment OrganizationName string OrganizationAddress string }
Record contains information for a organizationally unique identifier (OUI), a 24-bit number that uniquely identifies a vendor, manufacturer, or other organization.
Only assignment from "MA-L" registry assigns new OUI.
type Records ¶
type Records []*Record
func HTTPGetAllRecords ¶
func HTTPGetRecords ¶
func RecordsFromFile ¶
type Registry ¶
type Registry string
Registry is an IEEE public OUI listing.
const ( RegistryMA_L Registry = "MA-L" // http://standards-oui.ieee.org/oui/oui.csv RegistryMA_M Registry = "MA-M" // http://standards-oui.ieee.org/oui28/mam.csv RegistryMA_S Registry = "MA-S" // http://standards-oui.ieee.org/oui36/oui36.csv RegistryIAB Registry = "IAB" // http://standards-oui.ieee.org/iab/iab.csv RegistryCID Registry = "CID" // http://standards-oui.ieee.org/cid/cid.csv )
type SubnetworkAccessProtocolIdentifier ¶
type SubnetworkAccessProtocolIdentifier Assignment // https://en.wikipedia.org/wiki/Subnetwork_Access_Protocol
type WorldWideName ¶
type WorldWideName Assignment // https://en.wikipedia.org/wiki/World_Wide_Name