Searched refs:eptimerfd (Results 1 – 4 of 4) sorted by relevance
/third_party/libcoap/include/coap3/ |
D | coap_net_internal.h | 141 int eptimerfd; /**< Internal FD for timeout */ member
|
/third_party/libcoap/src/ |
D | net.c | 544 c->eptimerfd = timerfd_create(CLOCK_REALTIME, TFD_NONBLOCK); in coap_new_context() 545 if (c->eptimerfd == -1) { in coap_new_context() 561 ret = epoll_ctl(c->epfd, EPOLL_CTL_ADD, c->eptimerfd, &event); in coap_new_context() 670 if (context->eptimerfd != -1) { in coap_free_context() 675 ret = epoll_ctl(context->epfd, EPOLL_CTL_DEL, context->eptimerfd, &event); in coap_free_context() 682 close(context->eptimerfd); in coap_free_context() 683 context->eptimerfd = -1; in coap_free_context() 1023 if (context->eptimerfd != -1) { in coap_wait_ack() 1036 ret = timerfd_settime(context->eptimerfd, 0, &new_value, NULL); in coap_wait_ack() 1871 else if (ctx->eptimerfd != -1) { in coap_io_do_epoll() [all …]
|
D | resource.c | 1007 if (r->context->eptimerfd != -1) { 1014 ret = timerfd_settime(r->context->eptimerfd, 0, &new_value, NULL);
|
D | coap_io.c | 1108 if (ctx->eptimerfd != -1) { 1126 ret = timerfd_settime(ctx->eptimerfd, 0, &new_value, NULL);
|