gopacket: github.com/google/gopacket/macs Index | Files

package macs

import "github.com/google/gopacket/macs"

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.

Index

Package Files

doc.go valid_mac_prefixes.go

Variables

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 1 packages. Updated 2019-09-15. Refresh now. Tools for package owners.