Searched refs:ELE_READ (Results 1 - 13 of 13) sorted by relevance

/netbsd-current/external/bsd/dhcpcd/dist/src/
H A Dprivsep-control.c165 if (!(events & (ELE_READ | ELE_HANGUP)))
168 if (events & ELE_READ) {
195 if (!(events & ELE_READ))
258 if (eloop_event_add(ctx->eloop, psp->psp_work_fd, ELE_READ,
265 if (eloop_event_add(ctx->eloop, ctx->ps_control->fd, ELE_READ,
H A Deloop.h55 #define ELE_READ 0x0001 macro
H A Deloop.c293 if (e->events & ELE_READ)
329 if (fd == -1 || !(events & (ELE_READ | ELE_WRITE | ELE_HANGUP))) {
362 if (events & ELE_READ && !(e->events & ELE_READ))
364 else if (!(events & ELE_READ) && e->events & ELE_READ)
391 if (events & ELE_READ)
440 if (e->events & ELE_READ) {
709 if (e->events & ELE_READ) {
722 if (e->events & ELE_READ)
[all...]
H A Dcontrol.c198 if (eloop_event_add(fd->ctx->eloop, fd->fd, ELE_READ,
209 if (!(events & (ELE_READ | ELE_WRITE | ELE_HANGUP)))
216 if (events & ELE_READ) {
308 if (events != ELE_READ)
332 if (eloop_event_add(ctx->eloop, l->fd, ELE_READ,
465 if (eloop_event_add(ctx->eloop, fd, ELE_READ,
471 if (eloop_event_add(ctx->eloop, fd, ELE_READ,
631 events |= ELE_READ;
H A Dprivsep-inet.c154 else if (eloop_event_add(ctx->eloop, ctx->udp_rfd, ELE_READ,
176 else if (eloop_event_add(ctx->eloop, ctx->nd_fd, ELE_READ,
200 else if (eloop_event_add(ctx->eloop, ctx->dhcp6_rfd, ELE_READ,
419 if (eloop_event_add(psp->psp_ctx->eloop, psp->psp_work_fd, ELE_READ,
502 if (eloop_event_add(psp->psp_ctx->eloop, psp->psp_work_fd, ELE_READ,
H A Dprivsep-root.c90 if (events != ELE_READ)
120 if (eloop_event_add(ctx->ps_eloop, fd, ELE_READ,
146 if (events != ELE_READ)
185 if (eloop_event_add(ctx->ps_eloop, fd, ELE_READ,
866 if (events != ELE_READ)
908 if (eloop_event_add(ctx->eloop, ctx->ps_log_root_fd, ELE_READ,
922 if (eloop_event_add(ctx->eloop, ctx->ps_data_fd, ELE_READ,
H A Dprivsep-bpf.c70 if (events != ELE_READ)
174 else if (eloop_event_add(ctx->eloop, psp->psp_bpf->bpf_fd, ELE_READ,
H A Ddhcpcd.c1137 if (events != ELE_READ)
1724 if (events != ELE_READ)
1745 if (eloop_event_add(ctx->eloop, ctx->control_fd, ELE_READ,
1763 if (events != ELE_READ)
1783 if (eloop_event_add(ctx->eloop, ctx->control_fd, ELE_READ,
1799 if (events != ELE_READ)
1816 if (eloop_event_add(ctx->eloop, ctx->control_fd, ELE_READ,
1838 return eloop_event_add(ctx->eloop, ctx->control_fd, ELE_READ,
1849 if (!(events & ELE_READ))
2421 if (eloop_event_add(ctx.eloop, ctx.fork_fd, ELE_READ,
[all...]
H A Dprivsep.c391 else if (eloop_event_add(ctx->eloop, psp->psp_fd, ELE_READ,
470 if (eloop_event_add(ctx->eloop, psp->psp_fd, ELE_READ,
1081 if (!(events & ELE_READ))
1129 if (!(events & ELE_READ))
H A Darp.c343 if (events != ELE_READ)
605 if (eloop_event_add(ifp->ctx->eloop, astate->bpf->bpf_fd, ELE_READ,
H A Ddhcp.c2423 if (eloop_event_add(ctx->eloop, state->udp_rfd, ELE_READ,
3634 if (events != ELE_READ)
3736 if (events != ELE_READ)
3803 if (eloop_event_add(ifp->ctx->eloop, state->bpf->bpf_fd, ELE_READ,
3982 if (eloop_event_add(ctx->eloop, ctx->udp_rfd, ELE_READ,
H A Dipv6nd.c300 if (eloop_event_add(ifp->ctx->eloop, fd, ELE_READ,
413 if (eloop_event_add(ctx->eloop, ctx->nd_fd, ELE_READ,
2152 if (events != ELE_READ)
H A Ddhcp6.c3795 if (events != ELE_READ)
3945 if (eloop_event_add(ctx->eloop, ctx->dhcp6_rfd, ELE_READ,
4266 ia->dhcp6_fd, ELE_READ, dhcp6_recvaddr, ia) == -1)

Completed in 159 milliseconds