gopacket: Index | Files

package macs

import ""

Package macs provides an in-memory mapping of all valid Ethernet MAC address prefixes to their associated organization.

The ValidMACPrefixMap map maps 3-byte prefixes to organization strings. It can be updated using 'go run gen.go' in this directory.


Package Files

doc.go valid_mac_prefixes.go


var ValidMACPrefixMap = validMACPrefixMap

ValidMACPrefixMap maps a valid MAC address prefix to the name of the organization that owns the rights to use it. We map it to a hidden variable so it won't show up in godoc, since it's a very large map.

Package macs is imported by 2 packages. Updated 2019-09-15. Refresh now. Tools for package owners.