README ¶ IpFromMac IpFromMac is a golang library to retrieve IPv4 address from a MAC address. The library is based on the arpscan example from the gopacket library. Installation Directly as a go package: import "github.com/ubiant/ipfrommac" With the getIpFromMac command: git clone https://github.com/ubiant/ipfrommac.git cd ipfrommac go build ./cmd/getIpFromMac Usage ./getIpFromMac interface_name mac_address Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func IpFromMac(ifaceName string, mac string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func IpFromMac ¶ func IpFromMac(ifaceName string, mac string) (string, error) Types ¶ This section is empty. Source Files ¶ View all Source files ipfrommac.go Directories ¶ Show internal Expand all Path Synopsis cmd getIpFromMac Click to show internal directories. Click to hide internal directories.