Home
last modified time | relevance | path

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

/dports/net/libcoap/libcoap-4.3.0/include/coap3/
H A 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)
/dports/net/libcoap/libcoap-4.3.0/src/
H A Dpdu.c814 + ((size_t)data[3] << 8) + data[4] + COAP_MESSAGE_SIZE_OFFSET_TCP32; in coap_pdu_parse_size()
1192 pdu->token[-5] = (uint8_t)((len - COAP_MESSAGE_SIZE_OFFSET_TCP32) >> 24); in coap_pdu_encode_header()
1193 pdu->token[-4] = (uint8_t)((len - COAP_MESSAGE_SIZE_OFFSET_TCP32) >> 16); in coap_pdu_encode_header()
1194 pdu->token[-3] = (uint8_t)((len - COAP_MESSAGE_SIZE_OFFSET_TCP32) >> 8); in coap_pdu_encode_header()
1195 pdu->token[-2] = (uint8_t)(len - COAP_MESSAGE_SIZE_OFFSET_TCP32); in coap_pdu_encode_header()