Lines Matching refs:opt_iter
448 coap_opt_iterator_t opt_iter; in coap_option_check_critical() local
451 coap_option_iterator_init(pdu, &opt_iter, COAP_OPT_ALL); in coap_option_check_critical()
453 while (coap_option_next(&opt_iter)) { in coap_option_check_critical()
461 if (opt_iter.type & 0x01) { in coap_option_check_critical()
463 switch (opt_iter.type) { in coap_option_check_critical()
477 if (coap_option_filter_get(ctx->known_options, opt_iter.type) <= 0) { in coap_option_check_critical()
478 debug("unknown critical option %d\n", opt_iter.type); in coap_option_check_critical()
484 if (coap_option_filter_set(unknown, opt_iter.type) == -1) { in coap_option_check_critical()
1034 coap_opt_iterator_t opt_iter; in coap_new_error_response() local
1061 coap_option_iterator_init(request, &opt_iter, opts); in coap_new_error_response()
1067 while((option = coap_option_next(&opt_iter))) { in coap_new_error_response()
1068 unsigned short delta = opt_iter.type - opt_type; in coap_new_error_response()
1093 opt_type = opt_iter.type; in coap_new_error_response()
1108 coap_option_iterator_init(request, &opt_iter, opts); in coap_new_error_response()
1109 while((option = coap_option_next(&opt_iter))) in coap_new_error_response()
1110 coap_add_option(response, opt_iter.type, in coap_new_error_response()
1149 coap_opt_iterator_t opt_iter; in coap_wellknown_response() local
1173 query_filter = coap_check_option(request, COAP_OPTION_URI_QUERY, &opt_iter); in coap_wellknown_response()
1335 coap_opt_iterator_t opt_iter; in no_response() local
1341 nores = coap_check_option(request, COAP_OPTION_NORESPONSE, &opt_iter); in no_response()
1426 coap_opt_iterator_t opt_iter; in handle_request() local
1432 observe = coap_check_option(node->pdu, COAP_OPTION_OBSERVE, &opt_iter); in handle_request()