Home
last modified time | relevance | path

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

/third_party/libcoap/include/coap3/
Dcoap_pdu_internal.h38 #define COAP_MESSAGE_SIZE_OFFSET_TCP32 65805 /* 269 + 65536 */ macro
43 #define COAP_MAX_MESSAGE_SIZE_TCP16 (COAP_MESSAGE_SIZE_OFFSET_TCP32-1) /* 65804 */
44 #define COAP_MAX_MESSAGE_SIZE_TCP32 (COAP_MESSAGE_SIZE_OFFSET_TCP32+0xFFFFFFFF)
/third_party/libcoap/src/
Dpdu.c814 + ((size_t)data[3] << 8) + data[4] + COAP_MESSAGE_SIZE_OFFSET_TCP32; in coap_pdu_parse_size()
1195 pdu->token[-5] = (uint8_t)((len - COAP_MESSAGE_SIZE_OFFSET_TCP32) >> 24); in coap_pdu_encode_header()
1196 pdu->token[-4] = (uint8_t)((len - COAP_MESSAGE_SIZE_OFFSET_TCP32) >> 16); in coap_pdu_encode_header()
1197 pdu->token[-3] = (uint8_t)((len - COAP_MESSAGE_SIZE_OFFSET_TCP32) >> 8); in coap_pdu_encode_header()
1198 pdu->token[-2] = (uint8_t)(len - COAP_MESSAGE_SIZE_OFFSET_TCP32); in coap_pdu_encode_header()