Searched refs:encode_option (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/subsys/net/lib/coap/ |
D | coap.c | 281 static int encode_option(struct coap_packet *cpkt, uint16_t code, const uint8_t *value, in encode_option() function 367 r = encode_option(cpkt, code, value, len, cpkt->hdr_len + cpkt->opt_len); in coap_packet_append_option() 675 r = encode_option(cpkt, option.delta - previous_code, option.value, option.len, in remove_middle_option() 1424 r = encode_option(cpkt, new_option_delta, value, len, last_offset); in insert_option() 1431 r = encode_option(cpkt, option.delta - code, option.value, option.len, last_offset + r); in insert_option()
|