Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Drfc2131.c428 mess->yiaddr = config->addr; in dhcp_reply()
446 if (!address_allocate(context, &mess->yiaddr, mess->chaddr, mess->hlen, netid, now)) in dhcp_reply()
450 mess->yiaddr = lease->addr; in dhcp_reply()
453 if (!message && !(context = narrow_context(context, mess->yiaddr, netid))) in dhcp_reply()
472 (!(lease = lease_allocate(mess->yiaddr)))) in dhcp_reply()
477 logaddr = &mess->yiaddr; in dhcp_reply()
489 do_options(context, mess, end, NULL, hostname, get_domain(mess->yiaddr), in dhcp_reply()
752 mess->yiaddr = mess->ciaddr; in dhcp_reply()
773 log_packet("PXE", &mess->yiaddr, emac, emac_len, iface_name, (char *)mess->file, mess->xid); in dhcp_reply()
787 mess->yiaddr.s_addr = 0; in dhcp_reply()
[all …]
Dbpf.c198 ip.ip_dst.s_addr = mess->yiaddr.s_addr; in send_via_bpf()
Ddhcp.c309 dest.sin_addr = mess->yiaddr; in dhcp_packet()
334 dest.sin_addr = mess->yiaddr; in dhcp_packet()
Ddnsmasq.h567 struct in_addr ciaddr, yiaddr, siaddr, giaddr; member
/external/dhcpcd-6.8.2/
Dipv4ll.c55 dhcp->yiaddr = addr; in ipv4ll_make_lease()
246 if (state->offer && IN_LINKLOCAL(ntohl(state->offer->yiaddr))) { in ipv4ll_start()
247 astate->addr.s_addr = state->offer->yiaddr; in ipv4ll_start()
Ddhcp.c1298 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()
[all …]
Ddhcp.h170 uint32_t yiaddr; /* 'your' client IP address */ member
283 !IN_LINKLOCAL(htonl((m)->yiaddr)) && \
/external/dnsmasq/contrib/wrt/
Ddhcp_lease_time.c65 struct in_addr ciaddr, yiaddr, siaddr, giaddr; member
Ddhcp_release.c70 struct in_addr ciaddr, yiaddr, siaddr, giaddr; member
/external/toybox/toys/pending/
Ddhcpd.c146 uint32_t yiaddr; member
2013 gstate.send.send_pkt.yiaddr = getip_from_pool(requested_nip, in dhcpd_main()
2015 if(!gstate.send.send_pkt.yiaddr){ in dhcpd_main()
2040 gstate.send.send_pkt.yiaddr = getip_from_pool(requested_nip, in dhcpd_main()
2043 if (!gstate.send.send_pkt.yiaddr) { in dhcpd_main()
Ddhcp.c158 uint32_t yiaddr; member
1199 memcpy(&presult->ipaddr.s_addr, &state->pdhcp.yiaddr, 4); in dhcpc_parsemsg()
1366 memcpy(&state->ipaddr.s_addr,&state->pdhcp.yiaddr, 4); in dhcp_main()
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch482 mess->yiaddr = lease->addr;
488 (!(lease = lease_allocate(mess->yiaddr))))
/external/wpa_supplicant_8/src/drivers/
Ddriver_wired.c75 u_int32_t yiaddr; member