Home
last modified time | relevance | path

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

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