arpping

package
v0.0.0-...-11e78ec Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ping

func Ping(ctx context.Context, iface *net.Interface, src, dst net.IP) (net.HardwareAddr, error)

Ping sends an arp ping to the given destination. The call returns after a valid reply was received, after 200 ms passed or after the context expired - whichever happens first.

Types

This section is empty.

Jump to

Keyboard shortcuts

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