Home
last modified time | relevance | path

Searched refs:COAP_MESSAGE_SIZE_OFFSET_TCP16 (Results 1 – 2 of 2) sorted by relevance

/third_party/libcoap/include/coap3/
Dcoap_pdu_internal.h39 #define COAP_MESSAGE_SIZE_OFFSET_TCP16 269 /* 13 + 256 */ macro
44 #define COAP_MAX_MESSAGE_SIZE_TCP8 (COAP_MESSAGE_SIZE_OFFSET_TCP16-1) /* 268 */
/third_party/libcoap/src/
Dcoap_pdu.c968 size = ((size_t)data[1] << 8) + data[2] + COAP_MESSAGE_SIZE_OFFSET_TCP16; in coap_pdu_parse_size()
1472 pdu->token[-3] = (uint8_t)((len - COAP_MESSAGE_SIZE_OFFSET_TCP16) >> 8); in coap_pdu_encode_header()
1473 pdu->token[-2] = (uint8_t)(len - COAP_MESSAGE_SIZE_OFFSET_TCP16); in coap_pdu_encode_header()