Lines Matching refs:s_addr
246 iface->state->lease.addr.s_addr = 0;
347 a = iface->addr.s_addr;
348 iface->addr.s_addr = 0;
352 iface->addr.s_addr = a;
353 from.s_addr = dhcp->ciaddr;
354 if (from.s_addr)
355 to.s_addr = state->lease.server.s_addr;
357 to.s_addr = 0;
358 if (to.s_addr && to.s_addr != INADDR_BROADCAST) {
426 if (iface->addr.s_addr == 0) {
428 iface->state->lease.addr.s_addr = 0;
454 addr.s_addr = dhcp->yiaddr;
575 lease->addr.s_addr = dhcp->yiaddr;
579 lease->server.s_addr = INADDR_ANY;
642 iface->addr.s_addr != state->offer->yiaddr)
646 addr.s_addr = state->offer->yiaddr;
685 i = whitelisted_ip(iface->state->options, from.s_addr);
692 blacklisted_ip(iface->state->options, from.s_addr) == 1)
700 iface->dst.s_addr != from.s_addr)
980 !IN_LINKLOCAL(htonl(iface->addr.s_addr)))
982 if (IN_LINKLOCAL(htonl(iface->state->fail.s_addr)))
1025 iface->state->lease.server.s_addr = 0;
1046 dhcp->yiaddr = addr->s_addr;
1048 if (mask && mask->s_addr != INADDR_ANY) {
1050 *p++ = sizeof(mask->s_addr);
1051 memcpy(p, &mask->s_addr, sizeof(mask->s_addr));
1052 p+= sizeof(mask->s_addr);
1065 if (ifo->req_addr.s_addr != INADDR_ANY)
1101 iface->addr.s_addr = iface->state->options->req_addr.s_addr;
1102 iface->net.s_addr = iface->state->options->req_mask.s_addr;
1146 iface->state->lease.server.s_addr = 0;
1219 iface->addr.s_addr)
1237 iface->state->lease.addr.s_addr = 0;
1391 if (addr->s_addr == INADDR_ANY)
1401 ifp->state->new->yiaddr == addr->s_addr)
1413 ifo->req_addr.s_addr != INADDR_ANY)
1419 ifp->dst.s_addr = dst ? dst->s_addr : INADDR_ANY;
1431 ifp->state->lease.server.s_addr =
1432 dst ? dst->s_addr : INADDR_ANY;
1459 iface->addr.s_addr != ifo->req_addr.s_addr) ||
1743 iface->addr.s_addr != 0 &&