Home
last modified time | relevance | path

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

/third_party/libcoap/src/
Dcoap_pdu.c276 else if (pdu->actual_token.length < COAP_TOKEN_EXT_2B_BIAS) in coap_pdu_resize()
318 } else if (len < COAP_TOKEN_EXT_2B_BIAS) { in coap_add_token()
344 pdu->token[0] = (uint8_t)((len - COAP_TOKEN_EXT_2B_BIAS) >> 8); in coap_add_token()
345 pdu->token[1] = (uint8_t)((len - COAP_TOKEN_EXT_2B_BIAS) & 0xff); in coap_add_token()
373 } else if (len < COAP_TOKEN_EXT_2B_BIAS) { in coap_update_token()
414 pdu->token[0] = (uint8_t)((len - COAP_TOKEN_EXT_2B_BIAS) >> 8); in coap_update_token()
415 pdu->token[1] = (uint8_t)((len - COAP_TOKEN_EXT_2B_BIAS) & 0xff); in coap_update_token()
985 COAP_TOKEN_EXT_2B_BIAS + 2; in coap_pdu_parse_size()
1035 COAP_TOKEN_EXT_2B_BIAS + 2; in coap_pdu_parse_header()
1413 } else if (pdu->actual_token.length < COAP_TOKEN_EXT_2B_BIAS) { in coap_pdu_encode_header()
/third_party/libcoap/include/coap3/
Dcoap_pdu_internal.h57 #define COAP_TOKEN_EXT_2B_BIAS 269 /* 13 + 256 */ macro