Home
last modified time | relevance | path

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

/openbsd/usr.sbin/nsd/
H A Dnetio.c112 int numfd; in netio_dispatch() local
142 numfd = 0; in netio_dispatch()
146 if (handler->fd != -1 && numfd < MAX_NETIO_FDS) { in netio_dispatch()
147 fds[numfd].fd = handler->fd; in netio_dispatch()
148 fds[numfd].events = 0; in netio_dispatch()
149 fds[numfd].revents = 0; in netio_dispatch()
150 handler->pfd = numfd; in netio_dispatch()
152 fds[numfd].events |= POLLIN; in netio_dispatch()
155 fds[numfd].events |= POLLOUT; in netio_dispatch()
157 numfd++; in netio_dispatch()
[all …]
/openbsd/usr.sbin/rarpd/
H A Drarpd.c329 int cc, fd, numfd = 0, i; in rarp_loop() local
357 numfd++; in rarp_loop()
358 pfd = reallocarray(NULL, numfd, sizeof(*pfd)); in rarp_loop()
367 if (poll(pfd, numfd, -1) == -1) { in rarp_loop()
/openbsd/sbin/unwind/libunbound/services/
H A Doutside_network.c1636 int* avail, int numavail, size_t numfd)
1648 pif->maxout = (int)numfd;
1650 pif->out = (struct port_comm**)calloc(numfd,
/openbsd/usr.sbin/unbound/services/
H A Doutside_network.c1636 int* avail, int numavail, size_t numfd)
1648 pif->maxout = (int)numfd;
1650 pif->out = (struct port_comm**)calloc(numfd,