Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewARPResponder ¶
func NewNDPResponder ¶
Types ¶
type Responder ¶
type Responder interface { // InterfaceName returns the name of the network interface which the raw sockets binds on. InterfaceName() string // AddIP assigns the IP to the responder. AddIP(net.IP) error // RemoveIP removes the IP from the responder. RemoveIP(net.IP) error // Run starts the responder. Run(<-chan struct{}) }
Responder is an interface to handle ARP (IPv4)/NS (IPv6) queries using raw sockets.
Click to show internal directories.
Click to hide internal directories.