Home
last modified time | relevance | path

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

/net-tools-latest/libcoap/include/coap/
Dcoap_io.h39 typedef struct coap_endpoint_t { struct
57 } coap_endpoint_t; argument
62 coap_endpoint_t *coap_new_endpoint(const coap_address_t *addr, int flags);
64 void coap_free_endpoint(coap_endpoint_t *ep);
80 const coap_endpoint_t *local_interface,
97 ssize_t coap_network_read(coap_endpoint_t *ep, coap_packet_t **packet);
115 coap_endpoint_t *target);
147 const coap_endpoint_t *interface;
166 const coap_endpoint_t *local_interface;
Dnet.h37 coap_endpoint_t local_if; /**< the local address interface */
63 const coap_endpoint_t *local_interface,
91 coap_endpoint_t *endpoint; /**< the endpoint used for listening */
125 const coap_endpoint_t *local_interface,
129 ssize_t (*network_read)(coap_endpoint_t *ep, coap_packet_t **packet);
222 const coap_endpoint_t *local_interface,
262 const coap_endpoint_t *local_interface,
286 const coap_endpoint_t *local_interface,
307 const coap_endpoint_t *local_interface,
327 const coap_endpoint_t *local_interface,
[all …]
Dsubscribe.h56 coap_endpoint_t local_if; /**< local communication interface */
Dlwippools.h50 LWIP_MEMPOOL(COAP_ENDPOINT, MEMP_NUM_COAPENDPOINT, sizeof(coap_endpoint_t), "COAP_ENDPOINT")
Dresource.h44 const coap_endpoint_t *,
296 const coap_endpoint_t *local_interface,
/net-tools-latest/libcoap/src/
Dcoap_io_lwip.c14 void coap_packet_populate_endpoint(coap_packet_t *packet, coap_endpoint_t *target) in coap_packet_populate_endpoint()
54 coap_endpoint_t *ep = (coap_endpoint_t*)arg; in coap_recv()
67 coap_endpoint_t *coap_new_endpoint(const coap_address_t *addr, int flags) { in coap_new_endpoint()
68 coap_endpoint_t *result; in coap_new_endpoint()
73 result = coap_malloc_type(COAP_ENDPOINT, sizeof(coap_endpoint_t)); in coap_new_endpoint()
93 void coap_free_endpoint(coap_endpoint_t *ep) in coap_free_endpoint()
Dcoap_io.c45 const coap_endpoint_t *interface;
60 static inline struct coap_endpoint_t *
62 static struct coap_endpoint_t ep; in coap_malloc_contiki_endpoint()
73 coap_free_contiki_endpoint(struct coap_endpoint_t *ep) { in coap_free_contiki_endpoint()
77 coap_endpoint_t *
79 struct coap_endpoint_t *ep = coap_malloc_contiki_endpoint(); in coap_new_endpoint()
82 memset(ep, 0, sizeof(struct coap_endpoint_t)); in coap_new_endpoint()
99 coap_free_endpoint(coap_endpoint_t *ep) { in coap_free_endpoint()
109 static inline struct coap_endpoint_t *
111 return (struct coap_endpoint_t *)coap_malloc(sizeof(struct coap_endpoint_t)); in coap_malloc_posix_endpoint()
[all …]
Dnet.c535 const coap_endpoint_t *local_interface, in coap_send_ack()
555 const coap_endpoint_t *local_interface, in coap_send_impl()
586 const coap_endpoint_t *local_interface, in coap_send_impl()
617 const coap_endpoint_t *local_interface, in coap_send()
626 const coap_endpoint_t *local_interface, in coap_send_error()
647 const coap_endpoint_t *local_interface, in coap_send_message_type()
703 const coap_endpoint_t *local_interface, in coap_send_confirmed()
Dresource.c542 const coap_endpoint_t *local_interface,
/net-tools-latest/libcoap/examples/
Dcoap-server.c71 const coap_endpoint_t *local_interface UNUSED_PARAM, in hnd_get_index()
94 const coap_endpoint_t *local_interface UNUSED_PARAM, in hnd_get_time()
161 const coap_endpoint_t *local_interface UNUSED_PARAM, in hnd_put_time()
197 const coap_endpoint_t *local_interface UNUSED_PARAM, in hnd_delete_time()
212 const coap_endpoint_t *local_interface UNUSED_PARAM, in hnd_get_async()
249 const coap_endpoint_t *local_if, in check_async()
Dcoap-rd.c98 const coap_endpoint_t *local_interface UNUSED_PARAM, in hnd_get_resource()
126 const coap_endpoint_t *local_interface UNUSED_PARAM, in hnd_put_resource()
204 const coap_endpoint_t *local_interface UNUSED_PARAM, in hnd_delete_resource()
226 const coap_endpoint_t *local_interface UNUSED_PARAM, in hnd_get_rd()
390 const coap_endpoint_t *local_interface UNUSED_PARAM, in hnd_post_rd()
Dclient.c179 const coap_endpoint_t *local_interface, in clear_obs()
316 const coap_endpoint_t *local_interface, in message_handler()
/net-tools-latest/libcoap/examples/contiki/
Dserver.c93 const coap_endpoint_t *local_interface, in hnd_get_time()
/net-tools-latest/
Dcoap-client.c908 memcpy(&node->local_if, ctx->endpoint, sizeof(coap_endpoint_t)); in dispatch_data()
1205 const coap_endpoint_t *endpoint, in read_blocks()
1336 const coap_endpoint_t *endpoint, in coap_message_handler()
1506 const coap_endpoint_t *endpoint, in my_coap_network_send()
1520 static ssize_t my_coap_network_read(coap_endpoint_t *endpoint, in my_coap_network_read()