Searched refs:opt_delta (Results 1 – 1 of 1) sorted by relevance
318 size_t opt_delta; in coap_remove_option() local343 opt_delta = decode_this.delta + decode_next.delta; in coap_remove_option()344 if (opt_delta <= 12) { in coap_remove_option()346 next_option[0] = (next_option[0] & 0x0f) + (coap_opt_t)(opt_delta << 4); in coap_remove_option()348 else if (opt_delta <= 269 && decode_next.delta <= 12) { in coap_remove_option()352 next_option[1] = (coap_opt_t)(opt_delta - 13); in coap_remove_option()354 else if (opt_delta <= 269) { in coap_remove_option()356 next_option[1] = (coap_opt_t)(opt_delta - 13); in coap_remove_option()385 next_option[1] = (coap_opt_t)((opt_delta - 269) >> 8); in coap_remove_option()386 next_option[2] = (opt_delta - 269) & 0xff; in coap_remove_option()[all …]