Lines Matching refs:requested_ip
226 struct in_addr *requested_ip) in dhcpv4_find_requested_ip_option() argument
241 memcpy(requested_ip, opt, sizeof(struct in_addr)); in dhcpv4_find_requested_ip_option()
998 struct in_addr requested_ip; in dhcpv4_handle_discover() local
1001 &requested_ip); in dhcpv4_handle_discover()
1008 &requested_ip) && in dhcpv4_handle_discover()
1107 struct in_addr requested_ip, server_id, ciaddr, giaddr; in dhcpv4_handle_request() local
1135 &requested_ip); in dhcpv4_handle_request()
1149 if (net_ipv4_addr_cmp(&slot->addr, &requested_ip) && in dhcpv4_handle_request()
1184 ret = dhcpv4_find_requested_ip_option(options, optlen, &requested_ip); in dhcpv4_handle_request()
1192 if (!net_if_ipv4_addr_mask_cmp(ctx->iface, &requested_ip)) { in dhcpv4_handle_request()
1211 if (net_ipv4_addr_cmp(&selected->addr, &requested_ip)) { in dhcpv4_handle_request()
1282 struct in_addr requested_ip, server_id; in dhcpv4_handle_decline() local
1303 &requested_ip); in dhcpv4_handle_decline()
1310 net_sprint_ipv4_addr(&requested_ip)); in dhcpv4_handle_decline()
1315 if (net_ipv4_addr_cmp(&slot->addr, &requested_ip) && in dhcpv4_handle_decline()