func NewARPRequest(senderMAC ethernet.MAC, senderIP, targetIP Address) ARPPacket {
	return ARPPacket{
		HardwareType:          ARPHardwareEthernet,
		ProtocolType:          ARPProtocolIPv4,
		HardwareAddressLength: 6,
		ProtocolAddressLength: 4,
		Operation:             ARPRequest,
		SenderHardwareAddress: senderMAC,
		SenderProtocolAddress: senderIP,
		TargetProtocolAddress: targetIP,
	}
}
// NewARPRequest creates an ARP request packet.
NewARPRequest creates an ARP request packet.
// NewARPRequest creates an ARP request packet .
func NewARPRequest(senderMAC ethernet.MAC, senderIP, targetIP Address) ARPPacket {
	return ARPPacket{
		HardwareType:          ARPHardwareEthernet,
		ProtocolType:          ARPProtocolIPv4,
		HardwareAddressLength: 6,
		ProtocolAddressLength: 4,
		Operation:             ARPRequest,
		SenderHardwareAddress: senderMAC,
		SenderProtocolAddress: senderIP,
		TargetProtocolAddress: targetIP,
	}
}
func NewARPRequest ( senderMAC ethernet . MAC , senderIP , targetIP Address ) ARPPacket { return ARPPacket { HardwareType : ARPHardwareEthernet , ProtocolType : ARPProtocolIPv4 , HardwareAddressLength : 6 , ProtocolAddressLength : 4 , Operation : ARPRequest , SenderHardwareAddress : senderMAC , SenderProtocolAddress : senderIP , TargetProtocolAddress : targetIP , } }
NewARPRequest creates an ARP request packet.
NewARPRequest creates an ARP request packet .