Lines Matching refs:opt_iter
220 coap_opt_iterator_t opt_iter;
223 coap_option_iterator_init(old_pdu, &opt_iter, COAP_OPT_ALL);
224 while ((option = coap_option_next(&opt_iter))) {
225 if (drop_options && coap_option_filter_get(drop_options, opt_iter.number))
227 if (!coap_add_option_internal(pdu, opt_iter.number,
430 coap_opt_iterator_t opt_iter;
438 coap_option_iterator_init(pdu, &opt_iter, COAP_OPT_ALL);
439 while ((option = coap_option_next(&opt_iter))) {
440 if (opt_iter.number == number) {
452 next_option = coap_option_next(&opt_iter);
478 coap_option_iterator_init(pdu, &opt_iter, COAP_OPT_ALL);
479 while ((option = coap_option_next(&opt_iter))) {
480 if (opt_iter.number == number) {
485 next_option = coap_option_next(&opt_iter);
568 coap_opt_iterator_t opt_iter;
580 coap_option_iterator_init(pdu, &opt_iter, COAP_OPT_ALL);
581 while ((option = coap_option_next(&opt_iter))) {
582 if (opt_iter.number > number) {
586 prev_number = opt_iter.number;
595 opt_delta = opt_iter.number - number;
607 coap_option_iterator_init(pdu, &opt_iter, COAP_OPT_ALL);
608 while ((option = coap_option_next(&opt_iter))) {
609 if (opt_iter.number > number) {
662 coap_opt_iterator_t opt_iter;
668 option = coap_check_option(pdu, number, &opt_iter);
682 option = coap_check_option(pdu, number, &opt_iter);
735 coap_opt_iterator_t opt_iter;
737 if (coap_check_option(pdu, COAP_OPTION_HOP_LIMIT, &opt_iter) == NULL) {