Home
last modified time | relevance | path

Searched refs:arpreply (Results 1 – 1 of 1) sorted by relevance

/external/grub/netboot/
Dmain.c744 struct arprequest *arpreply; in await_reply() local
778 arpreply = (struct arprequest *) &nic.packet[ETH_HLEN]; in await_reply()
780 if (arpreply->opcode == htons (ARP_REPLY) in await_reply()
781 && ! grub_memcmp (arpreply->sipaddr, ptr, sizeof (in_addr)) in await_reply()
785 arpreply->shwaddr, in await_reply()
790 grub_memmove ((char *) &tmp, arpreply->tipaddr, in await_reply()
793 if (arpreply->opcode == htons (ARP_REQUEST) in await_reply()
796 arpreply->opcode = htons (ARP_REPLY); in await_reply()
797 grub_memmove (arpreply->tipaddr, arpreply->sipaddr, in await_reply()
799 grub_memmove (arpreply->thwaddr, (char *) arpreply->shwaddr, in await_reply()
[all …]