Lines Matching refs:offer
152 PKT_LIST *offer; in dhcp_requesting() local
176 offer = select_best(dsmp); in dhcp_requesting()
177 if (offer == NULL) { in dhcp_requesting()
230 if (!isv6 && offer->opts[CD_DHCP_TYPE] == NULL) { in dhcp_requesting()
238 if (!dhcp_bound(dsmp, offer)) { in dhcp_requesting()
254 d6o = dhcpv6_pkt_option(offer, NULL, DHCPV6_OPT_STATUS_CODE, in dhcp_requesting()
260 if (!save_server_id(dsmp, offer)) in dhcp_requesting()
268 server_unicast_option(dsmp, offer); in dhcp_requesting()
273 if (offer->opts[CD_MESSAGE] != NULL) { in dhcp_requesting()
275 (char *)offer->opts[CD_MESSAGE]->value, in dhcp_requesting()
276 offer->opts[CD_MESSAGE]->len); in dhcp_requesting()
293 (void) memcpy(&lease, offer->opts[CD_LEASE_TIME]->value, in dhcp_requesting()
300 offer->pkt->yiaddr.s_addr); in dhcp_requesting()
302 offer->opts[CD_SERVER_ID]->value, in dhcp_requesting()
303 offer->opts[CD_SERVER_ID]->len); in dhcp_requesting()
339 free_pkt_entry(offer); in dhcp_requesting()
1069 PKT_LIST *offer; in request_failed() local
1072 if ((offer = select_best(dsmp)) != NULL) { in request_failed()
1073 insque(offer, &dsmp->dsm_recv_pkt_list); in request_failed()