Categorygithub.com/mostlygeek/arp
repositorypackage
0.0.0-20170424181311-541a2129847a
Repository: https://github.com/mostlygeek/arp.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

golang library for looking up MAC address by IP address. It currently supports different methods for retrieving the ARP cache from the system depending if running on Linux, OSX or Windows.

I've only tested this library on OSX and Linux.

For Linux, /proc/net/arp is used. For OSX (or other unix systems) and Windows, exec.Command is used to call the arp utility and parse its output.