func NewARPReply(senderMAC, targetMAC ethernet.MAC, senderIP, targetIP Address) ARPPacket {
	return ARPPacket{
		HardwareType:          ARPHardwareEthernet,
		ProtocolType:          ARPProtocolIPv4,
		HardwareAddressLength: 6,
		ProtocolAddressLength: 4,
		Operation:             ARPReply,
		SenderHardwareAddress: senderMAC,
		TargetHardwareAddress: targetMAC,
		SenderProtocolAddress: senderIP,
		TargetProtocolAddress: targetIP,
	}
}
// NewARPReply constructs an ARP reply packet.
NewARPReply constructs an ARP reply packet.
// NewARPReply constructs an ARP reply packet .
func NewARPReply(senderMAC, targetMAC ethernet.MAC, senderIP, targetIP Address) ARPPacket {
	return ARPPacket{
		HardwareType:          ARPHardwareEthernet,
		ProtocolType:          ARPProtocolIPv4,
		HardwareAddressLength: 6,
		ProtocolAddressLength: 4,
		Operation:             ARPReply,
		SenderHardwareAddress: senderMAC,
		TargetHardwareAddress: targetMAC,
		SenderProtocolAddress: senderIP,
		TargetProtocolAddress: targetIP,
	}
}
func NewARPReply ( senderMAC , targetMAC ethernet . MAC , senderIP , targetIP Address ) ARPPacket { return ARPPacket { HardwareType : ARPHardwareEthernet , ProtocolType : ARPProtocolIPv4 , HardwareAddressLength : 6 , ProtocolAddressLength : 4 , Operation : ARPReply , SenderHardwareAddress : senderMAC , TargetHardwareAddress : targetMAC , SenderProtocolAddress : senderIP , TargetProtocolAddress : targetIP , } }
NewARPReply constructs an ARP reply packet.
NewARPReply constructs an ARP reply packet .