Home
last modified time | relevance | path

Searched refs:coap_packet_t (Results 1 – 8 of 8) sorted by relevance

/net-tools-3.7.0/libcoap/include/coap/
Dcoap_io.h30 struct coap_packet_t;
31 typedef struct coap_packet_t coap_packet_t; typedef
97 ssize_t coap_network_read(coap_endpoint_t *ep, coap_packet_t **packet);
106 void coap_free_packet(coap_packet_t *packet);
114 void coap_packet_populate_endpoint(coap_packet_t *packet,
120 void coap_packet_copy_source(coap_packet_t *packet, coap_address_t *target);
126 void coap_packet_get_memmapped(coap_packet_t *packet,
135 struct pbuf *coap_packet_extract_pbuf(coap_packet_t *packet);
143 struct coap_packet_t { struct
164 struct coap_packet_t { argument
Dlwippools.h51 LWIP_MEMPOOL(COAP_PACKET, MEMP_NUM_COAPPACKET, sizeof(coap_packet_t), "COAP_PACKET")
Dnet.h129 ssize_t (*network_read)(coap_endpoint_t *ep, coap_packet_t **packet);
380 coap_packet_t *packet);
/net-tools-3.7.0/libcoap/src/
Dcoap_io_lwip.c14 void coap_packet_populate_endpoint(coap_packet_t *packet, coap_endpoint_t *target) in coap_packet_populate_endpoint()
18 void coap_packet_copy_source(coap_packet_t *packet, coap_address_t *target) in coap_packet_copy_source()
23 void coap_packet_get_memmapped(coap_packet_t *packet, unsigned char **address, size_t *length) in coap_packet_get_memmapped()
29 void coap_free_packet(coap_packet_t *packet) in coap_free_packet()
36 struct pbuf *coap_packet_extract_pbuf(coap_packet_t *packet) in coap_packet_extract_pbuf()
55 coap_packet_t *packet = coap_malloc_type(COAP_PACKET, sizeof(coap_packet_t)); in coap_recv()
Dcoap_io.c41 struct coap_packet_t { struct
346 static coap_packet_t *
348 coap_packet_t *packet; in coap_malloc_packet()
349 const size_t need = sizeof(coap_packet_t) + COAP_MAX_PDU_SIZE; in coap_malloc_packet()
351 packet = (coap_packet_t *)coap_malloc(need); in coap_malloc_packet()
359 coap_free_packet(coap_packet_t *packet) { in coap_free_packet()
364 static inline coap_packet_t *
366 return (coap_packet_t *)coap_malloc_type(COAP_PACKET, 0); in coap_malloc_packet()
370 coap_free_packet(coap_packet_t *packet) { in coap_free_packet()
376 coap_get_max_packetlength(const coap_packet_t *packet UNUSED_PARAM) { in coap_get_max_packetlength()
[all …]
Dmem.c60 #define COAP_MAX_PACKET_SIZE (sizeof(coap_packet_t) + COAP_MAX_PDU_SIZE)
Dnet.c825 coap_packet_t *packet; in coap_read()
850 coap_packet_t *packet) { in coap_handle_message()
/net-tools-3.7.0/
Dcoap-client.c1073 coap_packet_t *packet; in read_data_from_net()
1521 coap_packet_t **packet) in my_coap_network_read()