Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
DB is a IEEE MA-L (MAC Address Block Large, formerly known as OUI) database.
func NewDB ¶
NewDB loads a database from the cached version in dir, if any, and asynchronously triggers an update. Use WaitUntilLoaded() to ensure Lookup() will work, or use Lookup() opportunistically at any time.
func (*DB) Lookup ¶
Lookup returns the organization name for the specified assignment, if found. Assignment is a large MAC address block assignment, e.g. f0:9f:c2.
func (*DB) WaitUntilLoaded ¶
WaitUntilLoaded blocks until the database was loaded.
Click to show internal directories.
Click to hide internal directories.