Home
last modified time | relevance | path

Searched refs:ciaddr (Results 1 – 12 of 12) sorted by relevance

/external/dnsmasq/src/
Drfc2131.c195 mess->ciaddr.s_addr = 0; in dhcp_reply()
289 if (mess->giaddr.s_addr || subnet_addr.s_addr || mess->ciaddr.s_addr) in dhcp_reply()
308 addr = mess->ciaddr; in dhcp_reply()
752 mess->yiaddr = mess->ciaddr; in dhcp_reply()
753 mess->ciaddr.s_addr = 0; in dhcp_reply()
788 if (mess_type == DHCPDISCOVER || mess->ciaddr.s_addr == 0) in dhcp_reply()
790 mess->ciaddr.s_addr = 0; in dhcp_reply()
866 if (!(context = narrow_context(context, mess->ciaddr, netid)) || in dhcp_reply()
871 if (lease && lease->addr.s_addr == mess->ciaddr.s_addr) in dhcp_reply()
876 log_packet("DHCPRELEASE", &mess->ciaddr, emac, emac_len, iface_name, message, mess->xid); in dhcp_reply()
[all …]
Ddhcp.c273 else if (mess->ciaddr.s_addr) in dhcp_packet()
279 if ((!is_inform && dest.sin_addr.s_addr != mess->ciaddr.s_addr) || in dhcp_packet()
283 dest.sin_addr = mess->ciaddr; 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
163 packet.ciaddr = lease; in main()
Ddhcp_release.c70 struct in_addr ciaddr, yiaddr, siaddr, giaddr; member
297 packet.ciaddr = lease; in main()
/external/dhcpcd-6.8.2/
Ddhcp.h169 uint32_t ciaddr; /* (previously allocated) client IP */ member
Ddhcp.c743 dhcp->ciaddr = state->addr.s_addr; in make_message()
746 dhcp->ciaddr = lease->addr.s_addr; in make_message()
760 dhcp->ciaddr == 0 && in make_message()
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()
1438 lease->addr.s_addr = dhcp->ciaddr; in get_lease()
1719 from.s_addr = dhcp->ciaddr; in send_message()
2677 astate->src_addr.s_addr = state->offer->ciaddr; in start_unicast_arp()
3026 (dhcp->ciaddr == INADDR_ANY || dhcp->ciaddr == INADDR_BROADCAST) && in dhcp_handledhcp()
/external/toybox/toys/pending/
Ddhcp.c157 uint32_t ciaddr; member
781 cli.sin_addr.s_addr = state->pdhcp.ciaddr; in send_app()
1023 if (state->status == STATE_RENEWING) memcpy(&state->pdhcp.ciaddr, &state->ipaddr.s_addr, 4); in dhcpc_sendmsg()
1037 memcpy(&state->pdhcp.ciaddr, &state->ipaddr.s_addr, 4); in dhcpc_sendmsg()
Ddhcpd.c145 uint32_t ciaddr; member
934 packet.iph.daddr = (broadcast || (gstate.rcvd.rcvd_pkt.ciaddr == 0))? in send_packet()
935 INADDR_BROADCAST : gstate.rcvd.rcvd_pkt.ciaddr; in send_packet()
/external/wpa_supplicant_8/src/drivers/
Ddriver_wired.c74 u_int32_t ciaddr; member
/external/dnsmasq/
DCHANGELOG216 Reply to DHCPINFORM requests even when the supplied ciaddr
DCHANGELOG.archive928 No longer assume that ciaddr is zero in received DHCPDISCOVER
2286 of the request and not to the address in ciaddr. This