Lines Matching defs:offer
138 * the ACK/NAK. This may be called by the offer timer or
152 PKT_LIST *offer;
158 * called back by the offer wait timer. If so, then drop our hold
163 "dhcp_requesting: offer wait timer on v%d %s",
176 offer = select_best(dsmp);
177 if (offer == NULL) {
230 if (!isv6 && offer->opts[CD_DHCP_TYPE] == NULL) {
238 if (!dhcp_bound(dsmp, offer)) {
254 d6o = dhcpv6_pkt_option(offer, NULL, DHCPV6_OPT_STATUS_CODE,
260 if (!save_server_id(dsmp, offer))
265 * (offer) has the unicast option, then use the address
268 server_unicast_option(dsmp, offer);
273 if (offer->opts[CD_MESSAGE] != NULL) {
275 (char *)offer->opts[CD_MESSAGE]->value,
276 offer->opts[CD_MESSAGE]->len);
293 (void) memcpy(&lease, offer->opts[CD_LEASE_TIME]->value,
300 offer->pkt->yiaddr.s_addr);
302 offer->opts[CD_SERVER_ID]->value,
303 offer->opts[CD_SERVER_ID]->len);
338 /* all done with the offer */
339 free_pkt_entry(offer);
452 * compute_points_v4(): compute the number of "points" for a given v4 offer.
524 * select_best(): selects the best offer from a list of IPv4 OFFER packets or
539 * pick out the best offer. point system.
1069 PKT_LIST *offer;
1072 if ((offer = select_best(dsmp)) != NULL) {
1073 insque(offer, &dsmp->dsm_recv_pkt_list);