{"@context":"https://w3id.org/codemeta/3.0","@type":"SoftwareSourceCode","identifier":"pkg:golang/github.com/run%21zero%21inc/mac-tracker","name":"github.com/runZeroInc/mac-tracker","description":"Package mactracker provides IEEE OUI lookups for MAC addresses.\n\nThe package ships with an embedded database of IEEE OUI/CID/IAB/OUI-28/OUI-36\nregistrations, supplemented by tables for virtual-machine and other\nprivate prefixes.\n\nThe simplest entry point is Lookup, which accepts any common MAC notation:\n\nWhen you already have the address as a byte slice (e.g. from a packet\ncapture), use LookupBytes to avoid an unnecessary string round-trip:\n\nParseMAC converts a string in any common format to an OuiHardwareAddr:\n\nLookup returns a [OUiBlock] with a [Virtual] flag for known virtual-machine prefixes,and you can also check against the virtual table directly with LookupVirtual,\n\nLookupVirtual checks a MAC address against a table of\nhypervisor and cloud-provider prefixes:\n\nLookupOUI searches only the primary IEEE registration table:\n\nLookupOverride searches only the override table for unofficial\nand private registrations:\n\nMaskFromCIDR creates a byte-level mask useful for custom prefix matching:","license":"https://spdx.org/licenses/MIT","codeRepository":"https://github.com/runZeroInc/mac-tracker","url":"https://github.com/runZeroInc/mac-tracker","dateModified":"2026-04-09","datePublished":"2026-04-09","softwareHelp":{"@type":"WebSite","url":"https://pkg.go.dev/github.com/runZeroInc/mac-tracker#section-documentation"},"applicationCategory":"go","runtimePlatform":"go","sameAs":["https://pkg.go.dev/github.com/runZeroInc/mac-tracker"]}