Home
last modified time | relevance | path

Searched refs:max_delta (Results 1 – 3 of 3) sorted by relevance

/net-tools-3.7.0/libcoap/src/
Dpdu.c37 pdu->max_delta = 0; in coap_pdu_clear()
162 pdu->max_delta = 0; in coap_add_token()
178 if (type < pdu->max_delta) { in coap_add_option()
187 type - pdu->max_delta, data, len); in coap_add_option()
194 pdu->max_delta = type; in coap_add_option()
210 if (type < pdu->max_delta) { in coap_add_option_later()
219 type - pdu->max_delta, NULL, len); in coap_add_option_later()
226 pdu->max_delta = type; in coap_add_option_later()
/net-tools-3.7.0/libcoap/tests/
Dtest_pdu.c323 CU_ASSERT(pdu->max_delta == 3); in t_encode_pdu4()
331 CU_ASSERT(pdu->max_delta == 11); in t_encode_pdu4()
338 CU_ASSERT(pdu->max_delta == 11); in t_encode_pdu4()
345 CU_ASSERT(pdu->max_delta == 8000); in t_encode_pdu4()
378 CU_ASSERT(pdu->max_delta == 1); in t_encode_pdu5()
386 CU_ASSERT(pdu->max_delta == 17); in t_encode_pdu5()
487 CU_ASSERT(pdu->max_delta == 4); in t_encode_pdu9()
494 CU_ASSERT(pdu->max_delta == 5); in t_encode_pdu9()
502 CU_ASSERT(pdu->max_delta == 35); in t_encode_pdu9()
573 CU_ASSERT(pdu->max_delta == 8); in t_encode_pdu10()
[all …]
/net-tools-3.7.0/libcoap/include/coap/
Dpdu.h233 unsigned short max_delta; /**< highest option number */ member