Searched refs:opt_delta (Results 1 – 1 of 1) sorted by relevance
433 size_t opt_delta; in coap_remove_option() local458 opt_delta = decode_this.delta + decode_next.delta; in coap_remove_option()459 if (opt_delta < 13) { in coap_remove_option()461 next_option[0] = (next_option[0] & 0x0f) + (coap_opt_t)(opt_delta << 4); in coap_remove_option()462 } else if (opt_delta < 269 && decode_next.delta < 13) { in coap_remove_option()466 next_option[1] = (coap_opt_t)(opt_delta - 13); in coap_remove_option()467 } else if (opt_delta < 269) { in coap_remove_option()469 next_option[1] = (coap_opt_t)(opt_delta - 13); in coap_remove_option()497 next_option[1] = (coap_opt_t)((opt_delta - 269) >> 8); in coap_remove_option()498 next_option[2] = (opt_delta - 269) & 0xff; in coap_remove_option()[all …]