macll

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

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

Go to latest
Published: Sep 16, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package mac-ll defines functions to convert between a MAC and a IPv6 link-local address. [MAC-48/EUI-64 (IPv6) | RFC7042]

Index

Constants

This section is empty.

Variables

View Source
var (
	Logger *log.Logger = nil
)

Functions

func Forward

func Forward(mac string) (net.IP, error)

Forward converts a MAC to an IPv6 link-local address.

func Reverse

func Reverse(ll string) (string, error)

Reverse converts a IPv6 link-local address to a MAC.

Types

This section is empty.

Jump to

Keyboard shortcuts

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