Lines Matching defs:opts
20 static coap_opt_filter_t opts; /* option filter used for generating responses */
41 coap_option_filter_clear(&opts);
42 response = coap_new_error_response(pdu, COAP_RESPONSE_CODE(400), &opts);
71 coap_option_filter_clear(&opts);
72 response = coap_new_error_response(pdu, COAP_RESPONSE_CODE(404), &opts);
103 coap_option_filter_clear(&opts);
104 coap_option_filter_set(&opts, 25);
105 response = coap_new_error_response(pdu, code, &opts);
142 coap_option_filter_clear(&opts);
143 coap_option_filter_set(&opts, 25);
144 response = coap_new_error_response(pdu, code, &opts);
183 coap_option_filter_clear(&opts);
184 coap_option_filter_set(&opts, 25);
185 response = coap_new_error_response(pdu, code, &opts);
224 coap_option_filter_clear(&opts);
225 coap_option_filter_set(&opts, 23);
226 response = coap_new_error_response(pdu, code, &opts);
266 coap_option_filter_clear(&opts);
267 coap_option_filter_set(&opts, 23);
268 response = coap_new_error_response(pdu, code, &opts);
306 coap_option_filter_clear(&opts);
307 coap_option_filter_set(&opts, 1001);
308 coap_option_filter_set(&opts, 1014);
309 response = coap_new_error_response(pdu, code, &opts);