Lines Matching refs:ciaddr

192       /* Some buggy clients set ciaddr when they shouldn't, so clear that here since
195 mess->ciaddr.s_addr = 0;
286 use the ciaddr. This is necessary because a machine which got a lease via a
287 relay won't use the relay to renew. If matching a ciaddr fails but we have a context
289 if (mess->giaddr.s_addr || subnet_addr.s_addr || mess->ciaddr.s_addr)
307 /* If ciaddr is in the hardware derived set of contexts, leave that unchanged */
308 addr = mess->ciaddr;
752 mess->yiaddr = mess->ciaddr;
753 mess->ciaddr.s_addr = 0;
788 if (mess_type == DHCPDISCOVER || mess->ciaddr.s_addr == 0)
790 mess->ciaddr.s_addr = 0;
866 if (!(context = narrow_context(context, mess->ciaddr, netid)) ||
871 if (lease && lease->addr.s_addr == mess->ciaddr.s_addr)
876 log_packet("DHCPRELEASE", &mess->ciaddr, emac, emac_len, iface_name, message, mess->xid);
1036 if ((lease && mess->ciaddr.s_addr != lease->addr.s_addr) ||
1045 mess->yiaddr = mess->ciaddr;
1130 mess->ciaddr.s_addr == 0 || is_same_net(context->local, mess->ciaddr, context->netmask))
1133 mess->ciaddr.s_addr = 0;
1244 log_packet("DHCPINFORM", &mess->ciaddr, emac, emac_len, iface_name, message, mess->xid);
1246 if (message || mess->ciaddr.s_addr == 0)
1250 context = narrow_context(context, mess->ciaddr, netid);
1255 (lease = lease_find_by_addr(mess->ciaddr)) &&
1260 hostname = host_from_dns(mess->ciaddr);
1262 log_packet("DHCPACK", &mess->ciaddr, emac, emac_len, iface_name, hostname, mess->xid);
1292 do_options(context, mess, end, req_options, hostname, get_domain(mess->ciaddr),