Home
last modified time | relevance | path

Searched refs:eloop (Results 1 – 20 of 20) sorted by relevance

/external/wpa_supplicant_8/src/utils/
Deloop_win.c72 static struct eloop_data eloop; variable
77 os_memset(&eloop, 0, sizeof(eloop)); in eloop_init()
78 dl_list_init(&eloop.timeout); in eloop_init()
79 eloop.num_handles = 1; in eloop_init()
80 eloop.handles = os_malloc(eloop.num_handles * in eloop_init()
81 sizeof(eloop.handles[0])); in eloop_init()
82 if (eloop.handles == NULL) in eloop_init()
85 eloop.term_event = CreateEvent(NULL, FALSE, FALSE, NULL); in eloop_init()
86 if (eloop.term_event == NULL) { in eloop_init()
89 os_free(eloop.handles); in eloop_init()
[all …]
Deloop.c47 WPA_TRACE_REF(eloop);
58 WPA_TRACE_REF(eloop);
115 static struct eloop_data eloop; variable
132 wpa_trace_add_ref(&table->table[i], eloop, in eloop_trace_sock_add_ref()
146 wpa_trace_remove_ref(&table->table[i], eloop, in eloop_trace_sock_remove_ref()
163 os_memset(&eloop, 0, sizeof(eloop)); in eloop_init()
164 dl_list_init(&eloop.timeout); in eloop_init()
166 eloop.epollfd = epoll_create1(0); in eloop_init()
167 if (eloop.epollfd < 0) { in eloop_init()
174 eloop.kqueuefd = kqueue(); in eloop_init()
[all …]
DMakefile31 LIB_OBJS += eloop.o
/external/dhcpcd-6.8.2/
Dcontrol.c95 eloop_event_delete(fd->ctx->eloop, fd->fd, 0); in control_delete()
183 eloop_event_add(ctx->eloop, l->fd, in control_handle1()
283 eloop_event_add(ctx->eloop, fd, control_handle, ctx, NULL, NULL); in control_start()
289 eloop_event_add(ctx->eloop, fd, control_handle_unpriv, in control_start()
306 eloop_event_delete(ctx->eloop, ctx->control_fd, 0); in control_stop()
313 eloop_event_delete(ctx->eloop, ctx->control_unpriv_fd, 0); in control_stop()
323 eloop_event_delete(ctx->eloop, l->fd, 0); in control_stop()
402 eloop_event_delete(fd->ctx->eloop, fd->fd, 1); in control_writeone()
430 eloop_event_add(fd->ctx->eloop, fd->fd, in control_queue()
Ddhcpcd.c204 eloop_exit(ctx->eloop, EXIT_FAILURE); in handle_exit_timeout()
250 eloop_timeout_delete(ctx->eloop, handle_exit_timeout, ctx); in dhcpcd_daemonise()
265 eloop_timeout_delete(ctx->eloop, handle_exit_timeout, ctx); in dhcpcd_daemonise()
283 if (eloop_requeue(ctx->eloop) == -1) { in dhcpcd_daemonise()
285 eloop_exit(ctx->eloop, EXIT_FAILURE); in dhcpcd_daemonise()
314 eloop_exit(ctx->eloop, EXIT_SUCCESS); in dhcpcd_daemonise()
349 eloop_q_timeout_delete(ctx->eloop, 0, NULL, ifp); in stop_interface()
356 eloop_exit(ctx->eloop, EXIT_FAILURE); in stop_interface()
598 eloop_timeout_add_tv(ifp->ctx->eloop, &tv, dhcpcd_pollup, ifp); in dhcpcd_pollup()
636 eloop_timeout_delete(ifp->ctx->eloop, dhcpcd_pollup, ifp); in dhcpcd_handlecarrier()
[all …]
Darp.c205 eloop_event_add(ifp->ctx->eloop, state->arp_fd, in arp_open()
244 eloop_timeout_add_sec(ifp->ctx->eloop, ANNOUNCE_WAIT, in arp_announce1()
279 eloop_timeout_add_tv(ifp->ctx->eloop, &tv, arp_probe1, astate); in arp_probe1()
283 eloop_timeout_add_tv(ifp->ctx->eloop, &tv, arp_probed, astate); in arp_probe1()
348 eloop_timeout_delete(astate->iface->ctx->eloop, NULL, astate); in arp_cancel()
357 eloop_timeout_delete(astate->iface->ctx->eloop, NULL, astate); in arp_free()
391 eloop_event_delete(ifp->ctx->eloop, state->arp_fd, 0); in arp_close()
Ddhcp.c1501 eloop_event_delete(ifp->ctx->eloop, state->raw_fd, 0); in dhcp_close()
1765 eloop_timeout_delete(ifp->ctx->eloop, in send_message()
1780 eloop_timeout_add_tv(ifp->ctx->eloop, &tv, callback, ifp); in send_message()
1830 eloop_timeout_delete(ifp->ctx->eloop, NULL, ifp); in dhcp_discover()
1832 eloop_timeout_add_sec(ifp->ctx->eloop, in dhcp_discover()
1836 eloop_timeout_add_sec(ifp->ctx->eloop, in dhcp_discover()
1871 eloop_timeout_delete(ifp->ctx->eloop, NULL, ifp); in dhcp_expire()
1927 eloop_timeout_delete(ifp->ctx->eloop, send_renew, ifp); in dhcp_rebind()
2147 eloop_exit(ifp->ctx->eloop, EXIT_SUCCESS); in dhcp_bind()
2177 eloop_timeout_add_sec(ifp->ctx->eloop, in dhcp_bind()
[all …]
Dipv6nd.c214 eloop_event_add(dctx->eloop, ctx->nd_fd, in ipv6nd_open()
220 eloop_event_delete(dctx->eloop, ctx->nd_fd, 0); in ipv6nd_open()
309 eloop_timeout_add_sec(ifp->ctx->eloop, in ipv6nd_sendrsprobe()
438 eloop_timeout_delete(rap->iface->ctx->eloop, NULL, rap->iface); in ipv6nd_freedrop_ra()
439 eloop_timeout_delete(rap->iface->ctx->eloop, NULL, rap); in ipv6nd_freedrop_ra()
480 eloop_event_delete(ctx->eloop, ctx->ipv6->nd_fd, 0); in ipv6nd_free()
675 eloop_timeout_add_tv(ifp->ctx->eloop, &tv, in ipv6nd_dadcallback()
1203 eloop_timeout_delete(ifp->ctx->eloop, NULL, ifp); in ipv6nd_handlera()
1204 eloop_timeout_delete(ifp->ctx->eloop, NULL, rap); /* reachable timer */ in ipv6nd_handlera()
1223 eloop_exit(ifp->ctx->eloop, EXIT_SUCCESS); in ipv6nd_handlera()
[all …]
Ddev.c65 eloop_event_delete(ctx->eloop, ctx->dev_fd, 0); in dev_stop1()
177 if (eloop_event_add(ctx->eloop, in dev_start()
Ddhcp6.c1125 eloop_timeout_add_tv(ifp->ctx->eloop, in dhcp6_sendmessage()
1170 eloop_timeout_add_tv(ifp->ctx->eloop, in dhcp6_sendmessage()
1173 eloop_timeout_add_tv(ifp->ctx->eloop, in dhcp6_sendmessage()
1391 eloop_timeout_delete(ifp->ctx->eloop, NULL, ifp); in dhcp6_startdiscover()
1482 eloop_timeout_delete(ifp->ctx->eloop, dhcp6_sendrenew, ifp); in dhcp6_startrebind()
1513 eloop_timeout_add_sec(ifp->ctx->eloop, in dhcp6_startrebind()
1524 eloop_timeout_delete(ifp->ctx->eloop, dhcp6_senddiscover, ifp); in dhcp6_startrequest()
1565 eloop_timeout_add_sec(ifp->ctx->eloop, in dhcp6_startconfirm()
1603 eloop_timeout_delete(ifp->ctx->eloop, dhcp6_sendrebind, ifp); in dhcp6_startexpire()
2082 eloop_q_timeout_delete(ifp->ctx->eloop, 0, NULL, ap); in dhcp6_findia()
[all …]
Dipv4ll.c199 eloop_timeout_add_sec(astate->iface->ctx->eloop, in ipv4ll_conflicted()
280 eloop_timeout_delete(ifp->ctx->eloop, NULL, state->arp_ipv4ll); in ipv4ll_stop()
DAndroid.mk27 eloop.c \
Ddhcpcd.h110 struct eloop_ctx *eloop; member
Dipv6.c602 eloop_timeout_add_tv(ap->iface->ctx->eloop, &tv, in ipv6_checkaddrflags()
722 eloop_timeout_add_sec(ap->iface->ctx->eloop, in ipv6_addaddr()
737 eloop_timeout_delete(ap->iface->ctx->eloop, in ipv6_addaddr()
743 eloop_timeout_add_tv(ap->iface->ctx->eloop, in ipv6_addaddr()
793 eloop_q_timeout_delete(ap->iface->ctx->eloop, in ipv6_addaddrs()
845 eloop_q_timeout_delete(ap->iface->ctx->eloop, 0, NULL, ap); in ipv6_freeaddr()
1019 ap->iface->ctx->eloop, in ipv6_handleifa()
1282 eloop_timeout_delete(ifp->ctx->eloop, NULL, ifp); in ipv6_freedrop()
1393 eloop_timeout_add_sec(ifp->ctx->eloop, max, ipv6_regentempifid, ifp); in ipv6_regen_desync()
DMakefile4 SRCS= common.c control.c dhcpcd.c duid.c eloop.c
/external/dhcpcd-6.8.2/dbus/
Drpc-dbus.c332 eloop_exit(dhcpcd_ctx->eloop, EXIT_FAILURE); in dbus_send_message()
341 eloop_exit(dhcpcd_ctx->eloop, EXIT_FAILURE); in dbus_send_message()
408 eloop_exit(dhcpcd_ctx->eloop, EXIT_FAILURE); in dbus_send_dhcpv6_message()
417 eloop_exit(dhcpcd_ctx->eloop, EXIT_FAILURE); in dbus_send_dhcpv6_message()
599 if (eloop_event_add(dhcpcd_ctx->eloop, fd, read_event, read_arg, in add_watch()
614 eloop_event_delete(dhcpcd_ctx->eloop, fd, write_only); in remove_watch()
/external/wpa_supplicant_8/hs20/client/
DMakefile47 OBJS += ../../src/utils/eloop.o
/external/wpa_supplicant_8/wpa_supplicant/
Dandroid.config247 # eloop = select() loop (default)
249 CONFIG_ELOOP=eloop
Ddefconfig263 # eloop = select() loop (default)
265 #CONFIG_ELOOP=eloop
DChangeLog318 * added support for usin epoll in eloop (CONFIG_ELOOP_EPOLL=y)