mac

package module
v0.0.0-...-e19074e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2020 License: MIT Imports: 2 Imported by: 2

Documentation

Overview

Package mac returns information about IEEE assigned MAC addresses.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assignments

type Assignments map[string]Registration

Assignments is a map of MAC address prefix assignments to Registrations.

func ReadAssignments

func ReadAssignments(file io.Reader) (Assignments, error)

ReadAssignments reads the given CSV file and returns Assignments.

type Registration

type Registration struct {
	List         string // MA-L, MA-M, MA-S
	OUI          string
	Organization string
}

Registration holds registration information for each MAC address prefix.

Directories

Path Synopsis
cmd
mac.jog.li
Code generated by go-bindata.
Code generated by go-bindata.
wtm
wtm (What the MAC) looks up a given MAC address against IEEE registrations.
wtm (What the MAC) looks up a given MAC address against IEEE registrations.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL