Home
last modified time | relevance | path

Searched refs:eptimerfd (Results 1 – 4 of 4) sorted by relevance

/third_party/libcoap/include/coap3/
Dcoap_net_internal.h141 int eptimerfd; /**< Internal FD for timeout */ member
/third_party/libcoap/src/
Dnet.c544 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 …]
Dresource.c1007 if (r->context->eptimerfd != -1) {
1014 ret = timerfd_settime(r->context->eptimerfd, 0, &new_value, NULL);
Dcoap_io.c1108 if (ctx->eptimerfd != -1) {
1126 ret = timerfd_settime(ctx->eptimerfd, 0, &new_value, NULL);