• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/bootp-298/IPConfiguration.bproj/

Lines Matching refs:saved

77     struct saved_pkt		saved;
128 dhcp_info_p->pkt = (uint8_t *)bootp->saved.pkt;
129 dhcp_info_p->pkt_size = bootp->saved.pkt_size;
130 dhcp_info_p->options = &bootp->saved.options;
179 bootp->saved.our_ip);
221 /* ALIGN: saved.pkt is uint32_t aligned, cast ok */
222 struct bootp * reply = (struct bootp *)(void *)bootp->saved.pkt;
225 option = dhcpol_find_with_length(&bootp->saved.options,
231 if (bootp->saved.our_ip.s_addr
232 && reply->bp_yiaddr.s_addr != bootp->saved.our_ip.s_addr) {
237 bootp->saved.our_ip = reply->bp_yiaddr;
238 (void)service_set_address(service_p, bootp->saved.our_ip,
241 if (service_update_router_address(service_p, &bootp->saved.options,
242 bootp->saved.our_ip)
245 bootp->saved.our_ip)) {
261 dhcpol_free(&bootp->saved.options);
264 bootp->saved.our_ip.s_addr = 0;
290 /* ALIGN: saved.pkt is uint32_t aligned, cast ok */
291 struct bootp * reply = (struct bootp *)(void *)bootp->saved.pkt;
316 /* ALIGN: saved.pkt is uint32_t aligned, cast ok */
318 (struct bootp *)(void *)bootp->saved.pkt;
363 bootp->saved.pkt_size = 0;
364 bootp->saved.rating = 0;
366 dhcpol_free(&bootp->saved.options);
441 if (bootp->saved.pkt_size == 0
442 || rating > bootp->saved.rating) {
443 dhcpol_free(&bootp->saved.options);
444 bcopy(pkt->data, bootp->saved.pkt, pkt->size);
445 bootp->saved.pkt_size = pkt->size;
446 bootp->saved.rating = rating;
447 dhcpol_parse_packet(&bootp->saved.options,
448 (void *)bootp->saved.pkt,
449 bootp->saved.pkt_size,
484 dhcpol_free(&bootp->saved.options);
511 dhcpol_init(&bootp->saved.options);
564 dhcpol_free(&bootp->saved.options);
581 if (bootp->saved.pkt_size == 0
582 || bootp->saved.our_ip.s_addr != arpc->ip_addr.s_addr
592 /* ALIGN: saved.pkt is uint32_t aligned, cast ok */
593 reply = (struct bootp *)(void *)bootp->saved.pkt;
649 || bootp->saved.pkt_size == 0) {