Lines Matching refs:start
269 unsigned char *start, save; in show_options() local
279 start = cp; in show_options()
282 while (start < end) { in show_options()
283 if (*start == CD_PAD) { in show_options()
284 start++; in show_options()
287 if (*start == CD_END) in show_options()
290 save = *start++; in show_options()
299 if (*start != 4) { in show_options()
303 start++; in show_options()
305 &start); in show_options()
334 if ((*start % 4) != 0) { in show_options()
339 items = *start++ / 4; in show_options()
341 option_types[save], &start); in show_options()
355 display_ascii("%s = %s", option_types[save], &start); in show_options()
368 &start); in show_options()
381 &start); in show_options()
388 &start); in show_options()
395 display_ascii_hex(option_types[save], &start); in show_options()
399 "Boot file size", &start); in show_options()
402 if ((*start % 8) != 0) { in show_options()
406 items = *start++ / 8; in show_options()
411 &start); in show_options()
413 &start); in show_options()
418 if (*start % 2 != 0) { in show_options()
426 items = *start / sizeof (ushort_t); in show_options()
427 ++start; in show_options()
429 if (IS_P2ALIGNED(start, in show_options()
432 s_buf = *(ushort_t *)start; in show_options()
435 start, sizeof (short)); in show_options()
440 start += sizeof (ushort_t); in show_options()
445 if ((*start % 8) != 0) { in show_options()
448 *start); in show_options()
450 items = *start++ / 8; in show_options()
452 memcpy((char *)&tmp, start, in show_options()
455 start += sizeof (ulong_t); in show_options()
456 memcpy((char *)&tmp, start, in show_options()
461 start += sizeof (ulong_t); in show_options()
466 i = *start++; in show_options()
474 vend = (uchar_t *)((uchar_t *)start + i); in show_options()
475 while (start < vend && *start != CD_END) { in show_options()
476 if (*start == CD_PAD) { in show_options()
477 start++; in show_options()
481 "\t(%.2d) %.2d octets", *start, in show_options()
482 *(uchar_t *)((uchar_t *)start + 1)); in show_options()
483 start++; in show_options()
484 display_ascii_hex(scratch, &start); in show_options()
486 start = vend; /* in case CD_END found */ in show_options()
489 if (*start != 1) { in show_options()
495 start++; in show_options()
496 switch (*start) { in show_options()
516 type, *start); in show_options()
517 start++; in show_options()
521 if (*start != 1) { in show_options()
525 start++; in show_options()
526 nooverload = *start++; in show_options()
530 if (*start < 1 || *start > 7) { in show_options()
534 start++; in show_options()
537 show_msgtype(*start)); in show_options()
538 start++; in show_options()
542 opt_len = *start++; in show_options()
547 if (*start < OPTIONS_ARRAY_SIZE) { in show_options()
548 prmpt = option_types[*start]; in show_options()
552 ITAB_CONS_SNOOP, *start); in show_options()
554 if (*start >= DHCP_SITE_OPT && in show_options()
555 *start <= DHCP_END_SITE) { in show_options()
566 "\t%2d (%s)", *start, prmpt); in show_options()
567 start++; in show_options()
572 opt_len = *start++; in show_options()
589 decoded_opt = inittab_decode(entry, start, in show_options()
596 start--; in show_options()
597 display_ascii_hex("\tValue =", &start); in show_options()
601 start += opt_len; in show_options()