Searched refs:ep (Results 1 – 4 of 4) sorted by relevance
62 static struct coap_endpoint_t ep; in coap_malloc_contiki_endpoint() local68 return &ep; in coap_malloc_contiki_endpoint()73 coap_free_contiki_endpoint(struct coap_endpoint_t *ep) { in coap_free_contiki_endpoint() argument79 struct coap_endpoint_t *ep = coap_malloc_contiki_endpoint(); in coap_new_endpoint() local81 if (ep) { in coap_new_endpoint()82 memset(ep, 0, sizeof(struct coap_endpoint_t)); in coap_new_endpoint()83 ep->handle.conn = udp_new(NULL, 0, NULL); in coap_new_endpoint()85 if (!ep->handle.conn) { in coap_new_endpoint()86 coap_free_endpoint(ep); in coap_new_endpoint()90 coap_address_init(&ep->addr); in coap_new_endpoint()[all …]
54 coap_endpoint_t *ep = (coap_endpoint_t*)arg; in coap_recv() local62 coap_handle_message(ep->context, packet); in coap_recv()93 void coap_free_endpoint(coap_endpoint_t *ep) in coap_free_endpoint() argument95 udp_remove(ep->pcb); in coap_free_endpoint()96 coap_free_type(COAP_ENDPOINT, ep); in coap_free_endpoint()
64 void coap_free_endpoint(coap_endpoint_t *ep);97 ssize_t coap_network_read(coap_endpoint_t *ep, coap_packet_t **packet);
129 ssize_t (*network_read)(coap_endpoint_t *ep, coap_packet_t **packet);