Home
last modified time | relevance | path

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

/external/dhcpcd/
Darp.c177 (reply_s == state->offer->yiaddr || in handle_arp_packet()
178 (reply_s == 0 && reply_t == state->offer->yiaddr))) in handle_arp_packet()
179 state->fail.s_addr = state->offer->yiaddr; in handle_arp_packet()
223 state->new->yiaddr, state->new->yiaddr) == -1) in send_arp_announce()
260 if (state->offer->yiaddr) in send_arp_probe()
261 addr.s_addr = state->offer->yiaddr; in send_arp_probe()
Dipv4ll.c52 dhcp->yiaddr = addr; in make_ipv4ll_lease()
105 addr = iface->state->offer->yiaddr; in start_ipv4ll()
Ddhcp.h148 uint32_t yiaddr; /* 'your' client IP address */ member
187 !IN_LINKLOCAL(htonl((m)->yiaddr)) && \
Dbind.c209 if (state->old->yiaddr == state->new->yiaddr && in bind_interface()
Ddhcp.c1408 if (dhcp->yiaddr || dhcp->ciaddr) in configure_env()
1418 if (dhcp->yiaddr || dhcp->ciaddr) { in configure_env()
1421 addr.s_addr = dhcp->yiaddr ? dhcp->yiaddr : dhcp->ciaddr; in configure_env()
1433 addr.s_addr = dhcp->yiaddr & net.s_addr; in configure_env()
1476 if (dhcp->yiaddr) in get_lease()
1477 lease->addr.s_addr = dhcp->yiaddr; in get_lease()
Ddhcpcd.c453 else if (dhcp->yiaddr != 0) { in log_dhcp()
454 addr.s_addr = dhcp->yiaddr; in log_dhcp()
561 (dhcp->yiaddr == INADDR_ANY || dhcp->yiaddr == INADDR_BROADCAST)) in handle_dhcp()
575 lease->addr.s_addr = dhcp->yiaddr; in handle_dhcp()
642 iface->addr.s_addr != state->offer->yiaddr) in handle_dhcp()
646 addr.s_addr = state->offer->yiaddr; in handle_dhcp()
1046 dhcp->yiaddr = addr->s_addr; in dhcp_message_new()
1218 if (iface->state->offer->yiaddr == in start_interface()
1401 ifp->state->new->yiaddr == addr->s_addr) in handle_ifa()
Dshowlease.c337 lease->addr.s_addr = dhcp->yiaddr; in main()
340 lease->net.s_addr = get_netmask(dhcp->yiaddr); in main()
Ddhcpcd_test.cpp59 uint32_t yiaddr; /* 'your' client IP address */ member
Dconfigure.c543 addr = dhcp->yiaddr; in get_subnet_route()
/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/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.c94 uint32_t yiaddr; member
1195 …gstate.send_pkt.yiaddr = getip_from_pool(requested_nip, gstate.rcvd_pkt.chaddr, &reqested_lease, h… in dhcpd_main()
1196 if(!gstate.send_pkt.yiaddr){ in dhcpd_main()
1217 …gstate.send_pkt.yiaddr = getip_from_pool(requested_nip, gstate.rcvd_pkt.chaddr, &reqested_lease, h… in dhcpd_main()
1219 if (!gstate.send_pkt.yiaddr) { in dhcpd_main()
Ddhcp.c161 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.c74 u_int32_t yiaddr; member