Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArpReply ¶
type ArpReply struct {
SenderMacAddress tcpip.LinkAddress
SenderIPAddress tcpip.Address
TargetMacAddress tcpip.LinkAddress
TargetIPAddress tcpip.Address
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ArpRequest ¶
func (c *Client) ArpRequest(ctx context.Context, ipAddress string, linkAddress tcpip.LinkAddress) (*ArpReply, error)
ArpRequest sends an ARP request to the given IP address. if linkAddress is empty, the ARP request will be broadcast.
Click to show internal directories.
Click to hide internal directories.