Documentation ¶
Index ¶
- Variables
- func Arp(ifaceName string, target string) (net.HardwareAddr, error)
- func ArpIPAddressesWithContext(ctx context.Context, ifaceName string, addrs string) (map[string]net.HardwareAddr, error)
- func ArpWithContext(ctx context.Context, ifaceName string, target string) (net.HardwareAddr, error)
- func ArpWithPcap(ctx context.Context, ifaceName string, targets string) (map[string]net.HardwareAddr, error)
- func ArpWithPcapFirst(ctx context.Context, ifaceName string, target string) (net.HardwareAddr, error)
- func ArpWithTimeout(timeoutContext time.Duration, ifaceName string, target string) (net.HardwareAddr, error)
- func IsLoopback(t string) bool
- func RouteAndArpWithTimeout(t time.Duration, target string) (net.HardwareAddr, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TargetIsLoopback = utils.Error("loopback") LinkTypeIsNull = utils.Error("link type is null") )
Functions ¶
func ArpWithContext ¶
func ArpWithPcap ¶ added in v1.3.1
func ArpWithPcapFirst ¶ added in v1.3.1
func ArpWithTimeout ¶
func IsLoopback ¶
func RouteAndArpWithTimeout ¶ added in v1.3.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.