Lines Matching +full:576 +full:i
262 size_t i, pointer; in find_search_domain_name_len() local
266 i = *offset; in find_search_domain_name_len()
267 while (i < option->len) { in find_search_domain_name_len()
268 label_len = option->data[i]; in find_search_domain_name_len()
274 *offset = i + 1; in find_search_domain_name_len()
278 if (i + 1 >= option->len) { in find_search_domain_name_len()
286 option->data[i + 1]; in find_search_domain_name_len()
303 *offset = i + 2; in find_search_domain_name_len()
307 if (i + label_len >= option->len) { in find_search_domain_name_len()
320 i += label_len + 1; in find_search_domain_name_len()
333 size_t i, pointer; in expand_search_domain_name() local
341 i = *offset; in expand_search_domain_name()
343 while (i < option->len) { in expand_search_domain_name()
344 label_len = option->data[i]; in expand_search_domain_name()
350 *offset = i + 1; in expand_search_domain_name()
356 option->data[i + 1]; in expand_search_domain_name()
360 *offset = i + 2; in expand_search_domain_name()
366 memcpy(cursor, option->data + i + 1, label_len); in expand_search_domain_name()
370 i += label_len + 1; in expand_search_domain_name()
395 * up to the minimum IP MTU size (576 bytes). in cons_options()
413 main_buffer_size = 576 - DHCP_FIXED_LEN; in cons_options()
531 int bufix = 0, option_stored[256], i, ix, tto; in store_options() local
540 for (i = 0; i < priority_len; i++) { in store_options()
542 int code = priority_list[i]; in store_options()
638 int i, j, k, opleft = sizeof(optbuf); in pretty_print_option() local
653 for (i = 0; dhcp_options[code].format[i]; i++) { in pretty_print_option()
657 &(dhcp_options[code].format[i])); in pretty_print_option()
661 fmtbuf[i] = dhcp_options[code].format[i]; in pretty_print_option()
662 switch (dhcp_options[code].format[i]) { in pretty_print_option()
665 fmtbuf[i] = 0; in pretty_print_option()
674 fmtbuf[i] = 't'; in pretty_print_option()
677 fmtbuf[i] = 'x'; in pretty_print_option()
682 fmtbuf[i + 1] = 0; in pretty_print_option()
685 fmtbuf[i] = 't'; in pretty_print_option()
686 fmtbuf[i + 1] = 0; in pretty_print_option()
689 case 'I': in pretty_print_option()
708 &(dhcp_options[code].format[i])); in pretty_print_option()
737 for (i = 0; i < numhunk; i++) { in pretty_print_option()
776 case 'I': in pretty_print_option()
854 if (i + 1 < numhunk) { in pretty_print_option()
873 int i; in do_packet() local
898 for (i = 0; i < 256; i++) in do_packet()
899 free(tp.options[i].data); in do_packet()