Lines Matching refs:coap_endpoint_t
45 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()
115 coap_free_posix_endpoint(struct coap_endpoint_t *ep) { in coap_free_posix_endpoint()
119 coap_endpoint_t *
123 struct coap_endpoint_t *ep; in coap_new_endpoint()
167 memset(ep, 0, sizeof(struct coap_endpoint_t)); in coap_new_endpoint()
193 return (coap_endpoint_t *)ep; in coap_new_endpoint()
197 coap_free_endpoint(coap_endpoint_t *ep) { in coap_free_endpoint()
201 coap_free_posix_endpoint((struct coap_endpoint_t *)ep); in coap_free_endpoint()
239 const coap_endpoint_t *local_interface, in coap_network_send()
244 struct coap_endpoint_t *ep = in coap_network_send()
245 (struct coap_endpoint_t *)local_interface; in coap_network_send()
381 coap_packet_populate_endpoint(coap_packet_t *packet, coap_endpoint_t *target) in coap_packet_populate_endpoint()
412 coap_network_read(coap_endpoint_t *ep, coap_packet_t **packet) { in coap_network_read()