Home
last modified time | relevance | path

Searched refs:COAP_MAX_PDU_SIZE (Results 1 – 14 of 14) sorted by relevance

/net-tools-3.4.0/libcoap/src/
Dpdu.c82 assert(size <= COAP_MAX_PDU_SIZE); in coap_pdu_init()
84 if (size < sizeof(coap_hdr_t) || size > COAP_MAX_PDU_SIZE) in coap_pdu_init()
123 pdu = coap_pdu_init(0, 0, ntohs(COAP_INVALID_TID), COAP_MAX_PDU_SIZE); in coap_new_pdu()
125 pdu = coap_pdu_init(0, 0, uip_ntohs(COAP_INVALID_TID), COAP_MAX_PDU_SIZE); in coap_new_pdu()
Dmem.c60 #define COAP_MAX_PACKET_SIZE (sizeof(coap_packet_t) + COAP_MAX_PDU_SIZE)
Dblock.c18 #if (COAP_MAX_PDU_SIZE - 6) < (1 << (COAP_MAX_BLOCK_SZX + 4))
Dcoap_io.c349 const size_t need = sizeof(coap_packet_t) + COAP_MAX_PDU_SIZE; in coap_malloc_packet()
377 return COAP_MAX_PDU_SIZE; in coap_get_max_packetlength()
Ddebug.c376 unsigned char buf[COAP_MAX_PDU_SIZE]; /* need some space for output creation */ in coap_show_pdu()
Dresource.c630 response = coap_pdu_init(COAP_MESSAGE_CON, 0, 0, COAP_MAX_PDU_SIZE);
Dnet.c1162 request->hdr->id, COAP_MAX_PDU_SIZE); in coap_wellknown_response()
1419 0, node->pdu->hdr->id, COAP_MAX_PDU_SIZE); in handle_request()
/net-tools-3.4.0/libcoap/include/coap/
Dpdu.h26 #ifndef COAP_MAX_PDU_SIZE
27 #define COAP_MAX_PDU_SIZE 1400 /* maximum size of a CoAP PDU */ macro
Doption.h374 coap_opt_encode((opt), COAP_MAX_PDU_SIZE, (val), NULL, 0)
/net-tools-3.4.0/libcoap/tests/
Dtest_wellknown.c133 static char uris[2 * COAP_MAX_PDU_SIZE]; in t_wellknown3()
265 static char _buf[2 * COAP_MAX_PDU_SIZE]; in t_wkc_tests_create()
Dtest_error_response.c324 pdu = coap_pdu_init(0, 0, 0, COAP_MAX_PDU_SIZE); in t_error_response_tests_create()
Dtest_pdu.c625 pdu = coap_pdu_init(0, 0, 0, COAP_MAX_PDU_SIZE); in t_pdu_tests_create()
/net-tools-3.4.0/libcoap/examples/contiki/
Dcoap-observer.c136 COAP_MAX_PDU_SIZE); in PROCESS_THREAD()
/net-tools-3.4.0/libcoap/examples/
Dclient.c190 COAP_MAX_PDU_SIZE); in clear_obs()