Lines Matching refs:yiaddr
1298 if (dhcp->yiaddr || dhcp->ciaddr) in dhcp_env()
1334 if (dhcp->yiaddr || dhcp->ciaddr) { in dhcp_env()
1337 addr.s_addr = dhcp->yiaddr ? dhcp->yiaddr : dhcp->ciaddr; in dhcp_env()
1353 addr.s_addr = dhcp->yiaddr & net.s_addr; in dhcp_env()
1435 if (dhcp->yiaddr) in get_lease()
1436 lease->addr.s_addr = dhcp->yiaddr; in get_lease()
2152 if (state->old->yiaddr == state->new->yiaddr && in dhcp_bind()
2163 if (state->old && state->old->yiaddr == state->new->yiaddr && in dhcp_bind()
2247 dhcp->yiaddr = addr->s_addr; in dhcp_message_new()
2496 } else if (ad && dhcp->yiaddr != 0) { in log_dhcp1()
2497 addr.s_addr = dhcp->yiaddr; in log_dhcp1()
2641 astate->src_addr.s_addr = state->offer->yiaddr; in dhcp_probe_gw()
2674 if (state->offer->yiaddr) in start_unicast_arp()
2675 astate->src_addr.s_addr = state->offer->yiaddr; in start_unicast_arp()
2766 (amsg->sip.s_addr == state->offer->yiaddr || in dhcp_arp_conflicted()
2768 amsg->tip.s_addr == state->offer->yiaddr)))) in dhcp_arp_conflicted()
2775 astate->failed.s_addr = state->offer->yiaddr; in dhcp_arp_conflicted()
2776 state->failed.s_addr = state->offer->yiaddr; in dhcp_arp_conflicted()
2979 if (type == DHCP_OFFER && dhcp->yiaddr == 0) { in dhcp_handledhcp()
3027 (dhcp->yiaddr == INADDR_ANY || dhcp->yiaddr == INADDR_BROADCAST)) in dhcp_handledhcp()
3053 if (dhcp->yiaddr == state->failed.s_addr && in dhcp_handledhcp()
3063 lease->addr.s_addr = dhcp->yiaddr; in dhcp_handledhcp()
3139 addr.s_addr = state->offer->yiaddr; in dhcp_handledhcp()
3151 dhcp->yiaddr == state->failed.s_addr) in dhcp_handledhcp()
3152 && state->addr.s_addr != state->offer->yiaddr) in dhcp_handledhcp()
3154 addr.s_addr = state->offer->yiaddr; in dhcp_handledhcp()
3623 addr.s_addr = state->offer->yiaddr; in dhcp_start1()
3661 if (state->offer->yiaddr == state->addr.s_addr) { in dhcp_start1()