arptable

package
v1.2.7-sp7 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoRefresh

func AutoRefresh(t time.Duration)

func CacheLastUpdate

func CacheLastUpdate() time.Time

func CacheUpdate

func CacheUpdate()

func CacheUpdateCount

func CacheUpdateCount() int
func Search(ip string) string

Search looks up the MAC address for an IP address in the arpx table

func SearchHardware

func SearchHardware(ip string) (net.HardwareAddr, error)

func StopAutoRefresh

func StopAutoRefresh()

Types

type ArpTable

type ArpTable map[string]string

func Table

func Table() ArpTable

Jump to

Keyboard shortcuts

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