Lines Matching defs:bootpreply
528 struct bootp_t *bootpreply;
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->bp_siaddr.s_addr;
564 arptable[ARP_GATEWAY].ipaddr.s_addr = bootpreply->bp_giaddr.s_addr;
566 bootfile = bootpreply->bp_file;
567 memcpy((char *)rfc1533_venddata, (char *)(bootpreply->bp_vend), len);