Lines Matching refs:offer
153 PKT_LIST *offer; in dhcp_requesting() local
177 offer = select_best(dsmp); in dhcp_requesting()
178 if (offer == NULL) { in dhcp_requesting()
231 if (!isv6 && offer->opts[CD_DHCP_TYPE] == NULL) { in dhcp_requesting()
239 if (!dhcp_bound(dsmp, offer)) { in dhcp_requesting()
249 save_domainname(dsmp, offer); in dhcp_requesting()
257 d6o = dhcpv6_pkt_option(offer, NULL, DHCPV6_OPT_STATUS_CODE, in dhcp_requesting()
263 if (!save_server_id(dsmp, offer)) in dhcp_requesting()
271 server_unicast_option(dsmp, offer); in dhcp_requesting()
276 if (offer->opts[CD_MESSAGE] != NULL) { in dhcp_requesting()
278 (char *)offer->opts[CD_MESSAGE]->value, in dhcp_requesting()
279 offer->opts[CD_MESSAGE]->len); in dhcp_requesting()
296 (void) memcpy(&lease, offer->opts[CD_LEASE_TIME]->value, in dhcp_requesting()
304 offer->pkt->yiaddr.s_addr); in dhcp_requesting()
306 offer->opts[CD_SERVER_ID]->value, in dhcp_requesting()
307 offer->opts[CD_SERVER_ID]->len); in dhcp_requesting()
344 free_pkt_entry(offer); in dhcp_requesting()
1074 PKT_LIST *offer; in request_failed() local
1077 if ((offer = select_best(dsmp)) != NULL) { in request_failed()
1078 insque(offer, &dsmp->dsm_recv_pkt_list); in request_failed()