Lines Matching defs:option

680           coap_log_debug("disabled support for critical option %u\n",
723 coap_log_debug("unknown critical option %d\n", opt_iter.number);
736 /* Check for duplicated option RFC 5272 5.4.5 */
1121 /* Need to convert Proxy-Uri to Proxy-Scheme option if needed */
1211 coap_log_debug("Replaced option Q-Block2 with Block2\n");
1219 /* Update the skeletal PDU with the block1 option */
1235 coap_log_debug("Replaced option Q-Block1 with Block1\n");
1243 /* Update the skeletal PDU with the block1 option */
1252 lg_xmit->option = COAP_OPTION_BLOCK1;
1427 /* See if Hop Limit option is being used in return path */
1440 /* Something is bad - need to drop this pdu (TODO or delete option) */
1512 /* Need to convert Proxy-Uri to Proxy-Scheme option if needed */
2373 coap_opt_t *option;
2413 /* Add size of each unknown critical option. As known critical
2417 while ((option = coap_option_next(&opt_iter))) {
2428 /* add coap_opt_length(option) and the number of additional bytes
2429 * required to encode the option length */
2431 size += coap_opt_length(option);
2432 switch (*option & 0x0f) {
2459 while ((option = coap_option_next(&opt_iter))) {
2461 coap_opt_length(option),
2462 coap_opt_value(option));
2466 /* note that diagnostic messages do not need a Content-Format option. */
2580 * notification) or a GET request with the Observe option set to 1.
2610 * in presence of the No-Response option).
2615 * Checks for No-Response option in given @p request and
2630 * containing the No-Response option has long since gone.
2632 * The value of the No-Response option is encoded as
2649 * @param request The CoAP request to check for the No-Response option.
2677 * documentation). When a No-Response option is present and the
2701 /* Handle any mcast suppression specifics if no NoResponse option */
2744 * (class == 0) or the request did not contain a No-Response option.
2764 * specially due to a No-Response option that declares disinterest
2886 /* Cannot handle critical option */
3073 /* check for Observe option RFC7641 and RFC8132 */
3438 coap_opt_t *option;
3447 while ((option = coap_option_next(&opt_iter))) {
3449 coap_session_set_mtu(session, coap_decode_var_bytes(coap_opt_value(option),
3450 coap_opt_length(option)));
3456 coap_decode_var_bytes(coap_opt_value(option),
3457 coap_opt_length(option));