arp

package
v2.10.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendGratuitous

func SendGratuitous(arp *Gratuitous) error

SendGratuitous sends a gratuitous ARP message via the specified interface.

func SetupLog

func SetupLog(debuglog log, errorlog log, infolog log)

SetupLog sets up the logging for this subpackage otherwise there is no logging.

Types

type Gratuitous

type Gratuitous struct {
	IfaceName string
	IP        net.IP
}

Gratuitous encapsulates a request to send a gratuitous ARP message.

Jump to

Keyboard shortcuts

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