arp

package
v1.10.4 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotImplemented = errors.New("not implemented")
)

Functions

func PingOverLink(link netlink.Link, src net.IP, dst net.IP) (hwAddr net.HardwareAddr, err error)

PingOverLink performs arping request from 'src' IP address to the 'dst' IP address over the link 'link' and returns the hardware address (MAC) of the destination

Types

type Addr

type Addr struct {
	net.HardwareAddr
}

func (*Addr) Network

func (a *Addr) Network() string

Jump to

Keyboard shortcuts

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