Searched refs:COAP_MESSAGE_SIZE_OFFSET_TCP16 (Results 1 – 2 of 2) sorted by relevance
39 #define COAP_MESSAGE_SIZE_OFFSET_TCP16 269 /* 13 + 256 */ macro44 #define COAP_MAX_MESSAGE_SIZE_TCP8 (COAP_MESSAGE_SIZE_OFFSET_TCP16-1) /* 268 */
968 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()