Documentation ¶ Index ¶ func Ping(ctx context.Context, iface *net.Interface, src, dst net.IP) (net.HardwareAddr, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Ping ¶ func Ping(ctx context.Context, iface *net.Interface, src, dst net.IP) (net.HardwareAddr, error) Ping sends an arp ping to the given destination. The call returns after a valid reply was received, after 200 ms passed or after the context expired - whichever happens first. Types ¶ This section is empty. Source Files ¶ View all Source files arpping.go Click to show internal directories. Click to hide internal directories.