Documentation ¶
Overview ¶
Package arp implements the ARP network protocol. It is used to resolve IPv4 addresses into link-local MAC addresses, and advertises IPv4 addresses of its stack with the local network.
Index ¶
Constants ¶
View Source
const ( // ProtocolNumber is the ARP protocol number. ProtocolNumber = header.ARPProtocolNumber )
Variables ¶
This section is empty.
Functions ¶
func NewProtocol ¶
func NewProtocol(s *stack.Stack) stack.NetworkProtocol
NewProtocol returns an ARP network protocol.
Types ¶
type Stats ¶
type Stats struct{}
Stats holds ARP statistics.
func (*Stats) IsNetworkEndpointStats ¶
func (*Stats) IsNetworkEndpointStats()
IsNetworkEndpointStats implements stack.NetworkEndpointStats.
Click to show internal directories.
Click to hide internal directories.