Searched refs:eptimerfd (Results 1 – 3 of 3) sorted by relevance
/third_party/libcoap/include/coap3/ |
D | coap_net_internal.h | 175 int eptimerfd; /**< Internal FD for timeout */ member
|
/third_party/libcoap/src/ |
D | coap_net.c | 500 c->eptimerfd = timerfd_create(CLOCK_REALTIME, TFD_NONBLOCK); in coap_new_context() 501 if (c->eptimerfd == -1) { in coap_new_context() 516 ret = epoll_ctl(c->epfd, EPOLL_CTL_ADD, c->eptimerfd, &event); in coap_new_context() 630 if (context->eptimerfd != -1) { in coap_free_context() 635 ret = epoll_ctl(context->epfd, EPOLL_CTL_DEL, context->eptimerfd, &event); in coap_free_context() 641 close(context->eptimerfd); in coap_free_context() 642 context->eptimerfd = -1; in coap_free_context() 2190 } else if (ctx->eptimerfd != -1) { in coap_io_do_epoll() 2199 if (read(ctx->eptimerfd, &count, sizeof(count)) == -1) { in coap_io_do_epoll()
|
D | coap_io.c | 611 if (context->eptimerfd != -1) { 628 ret = timerfd_settime(context->eptimerfd, 0, &new_value, NULL); 1321 if (ctx->eptimerfd != -1) { 1339 ret = timerfd_settime(ctx->eptimerfd, 0, &new_value, NULL);
|