Lines Matching refs:opt_delta
287 uint8_t opt_delta; in encode_option() local
293 delta_size = encode_extended_option(code, &opt_delta, &delta_ext); in encode_option()
296 option_header_set_delta(&opt, opt_delta); in encode_option()
534 uint16_t max_len, uint16_t *opt_delta, uint16_t *opt_len, in parse_option() argument
593 if (u16_add_overflow(*opt_delta, delta, opt_delta) || in parse_option()
620 option->delta = *opt_delta; in parse_option()
656 uint16_t opt_delta, in remove_middle_option() argument
666 &opt_delta, &opt_len, &option); in remove_middle_option()
687 uint16_t opt_delta = 0; in coap_packet_remove_option() local
712 &opt_delta, &opt_len, &option); in coap_packet_remove_option()
717 if (opt_delta == code) { in coap_packet_remove_option()
721 if (opt_delta > code) { in coap_packet_remove_option()
725 previous_code = opt_delta; in coap_packet_remove_option()
732 r = remove_middle_option(cpkt, offset, opt_delta, previous_offset, previous_code); in coap_packet_remove_option()
1393 uint16_t opt_delta = 0; in insert_option() local
1402 &opt_delta, &opt_len, &option); in insert_option()
1407 if (opt_delta > code) { in insert_option()
1411 last_opt = opt_delta; in insert_option()