uniumwifi / arp

ARP table tools for golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 or OSX.

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

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

About

ARP table tools for golang

License:MIT License


Languages

Language:Go 100.0%