Documentation
¶
Overview ¶
Package oui provides functions to generate hardware vendor names from hardware addresses
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BroadcastMAC = net.HardwareAddr{0xff, 0xff, 0xff, 0xff, 0xff, 0xff} LocalhostMAC = net.HardwareAddr{0x00, 0x00, 0x00, 0x00, 0x00, 0x00} )
Functions ¶
func VendorFromMAC ¶
func VendorFromMAC(hw net.HardwareAddr) string
VendorFromMAC returns the hardware vendor of a net.HardwareAddr.
func VendorWithMAC ¶
func VendorWithMAC(hw net.HardwareAddr) string
VendorWithMAC concatenates vendor with MAC address (e.g. Next_01:02:03)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.