Searched defs:bootpreply (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dnic.c528 struct bootp_t *bootpreply; local
534 bootpreply = (struct bootp_t *)
543 if (bootpreply->bp_op != BOOTP_REPLY)
545 if (bootpreply->bp_xid != xid)
547 if (memcmp((char *)&bootpreply->bp_siaddr, (char *)&zeroIP, sizeof(in_addr)) == 0)
549 if ((memcmp(broadcast, bootpreply->bp_hwaddr, ETH_ALEN) != 0) &&
550 (memcmp(arptable[ARP_CLIENT].node, bootpreply->bp_hwaddr, ETH_ALEN) != 0)) {
557 memcpy((char *)dhcpack_buf, (char *)bootpreply, dhcpack_length);
560 arptable[ARP_CLIENT].ipaddr.s_addr = bootpreply->bp_yiaddr.s_addr;
562 arptable[ARP_SERVER].ipaddr.s_addr = bootpreply
[all...]

Completed in 35 milliseconds