Searched refs:COAP_MAX_PDU_SIZE (Results 1 – 14 of 14) sorted by relevance
/net-tools-3.4.0/libcoap/src/ |
D | pdu.c | 82 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()
|
D | mem.c | 60 #define COAP_MAX_PACKET_SIZE (sizeof(coap_packet_t) + COAP_MAX_PDU_SIZE)
|
D | block.c | 18 #if (COAP_MAX_PDU_SIZE - 6) < (1 << (COAP_MAX_BLOCK_SZX + 4))
|
D | coap_io.c | 349 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()
|
D | debug.c | 376 unsigned char buf[COAP_MAX_PDU_SIZE]; /* need some space for output creation */ in coap_show_pdu()
|
D | resource.c | 630 response = coap_pdu_init(COAP_MESSAGE_CON, 0, 0, COAP_MAX_PDU_SIZE);
|
D | net.c | 1162 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/ |
D | pdu.h | 26 #ifndef COAP_MAX_PDU_SIZE 27 #define COAP_MAX_PDU_SIZE 1400 /* maximum size of a CoAP PDU */ macro
|
D | option.h | 374 coap_opt_encode((opt), COAP_MAX_PDU_SIZE, (val), NULL, 0)
|
/net-tools-3.4.0/libcoap/tests/ |
D | test_wellknown.c | 133 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()
|
D | test_error_response.c | 324 pdu = coap_pdu_init(0, 0, 0, COAP_MAX_PDU_SIZE); in t_error_response_tests_create()
|
D | test_pdu.c | 625 pdu = coap_pdu_init(0, 0, 0, COAP_MAX_PDU_SIZE); in t_pdu_tests_create()
|
/net-tools-3.4.0/libcoap/examples/contiki/ |
D | coap-observer.c | 136 COAP_MAX_PDU_SIZE); in PROCESS_THREAD()
|
/net-tools-3.4.0/libcoap/examples/ |
D | client.c | 190 COAP_MAX_PDU_SIZE); in clear_obs()
|