Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/nsd/dist/
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 …]
/netbsd-src/external/bsd/unbound/dist/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,