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

/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dnic.c281 struct arprequest *arpreply; local
286 arpreply = (struct arprequest *)&nic.packet[ETH_HLEN];
288 if (arpreply->opcode != htons(ARP_REPLY))
290 if (memcmp(arpreply->sipaddr, ptr, sizeof(in_addr)) != 0)
292 memcpy(arptable[ival].node, arpreply->shwaddr, ETH_ALEN);
458 struct arprequest *arpreply; local
463 arpreply = (struct arprequest *)&nic.packet[ETH_HLEN];
464 if (arpreply->opcode != htons(RARP_REPLY))
466 if (memcmp(arpreply->thwaddr, ptr, ETH_ALEN) == 0){
467 memcpy(arptable[ARP_SERVER].node, arpreply
979 struct arprequest *arpreply; local
[all...]

Completed in 19 milliseconds