Searched refs:fdset (Results 1 - 17 of 17) sorted by relevance

/netbsd-current/distrib/alpha/instkernel/
H A DMakefile3 SUBDIR= ramdisk .WAIT instkernel .WAIT fdset cd-hd-tape
/netbsd-current/sys/arch/zaurus/stand/zboot/
H A Dunixcons.c128 fd_set fdset; local
135 FD_ZERO(&fdset);
138 FD_SET(fd, &fdset);
140 n = uselect(nfds, &fdset, NULL, NULL, &tv);
147 if (FD_ISSET(fd, &fdset)) {
/netbsd-current/lib/libc/rpc/
H A Dsvc_fdset.c64 fd_set *fdset; member in struct:svc_fdset
100 fprintf(stderr, "%p[%d] fd_set<", fds->fdset, fds->fdmax);
102 if (!FD_ISSET(i, fds->fdset))
144 while (fds->fdmax >= 0 && !FD_ISSET(fds->fdmax, fds->fdset))
149 svc_fdset = *(__fd_set_256 *)(void *)__svc_fdset.fdset;
162 free(fds->fdset);
255 if (fds->fdset && fd < fds->fdsize) {
262 char *newfdset = realloc(fds->fdset, __NFD_BYTES(fd));
270 fds->fdset = (void *)newfdset;
298 DPRINTF("switching to %p", fds->fdset);
[all...]
/netbsd-current/games/hunt/huntd/
H A Dextern.c48 struct pollfd fdset[3+MAXPL+MAXMON]; variable in typeref:struct:pollfd
H A Ddriver.c246 while (poll(fdset, 3+MAXPL+MAXMON, INFTIM) < 0)
252 if (!localmode && fdset[2].revents & POLLIN) {
313 if (fdset[0].revents & POLLIN)
320 if (fdset[1].revents & POLLIN)
323 if (fdset[i + 3].revents & POLLIN)
330 if (fdset[i + MAXPL + 3].revents & POLLIN)
338 if (poll(fdset, 3+MAXPL+MAXMON, linger) > 0) {
477 fdset[0].fd = huntsock;
478 fdset[0].events = POLLIN;
479 fdset[
[all...]
H A Dhunt.h141 extern struct pollfd fdset[];
H A Danswer.c207 fdset[i].fd = newsock;
208 fdset[i].events = POLLIN;
/netbsd-current/crypto/dist/ipsec-tools/src/racoon/
H A Devt.h141 #define evt_get_fdmask(nfds, fdset) nfds
142 #define evt_handle_fdmask(fdset) ;
/netbsd-current/usr.sbin/sdpd/
H A Dserver.c102 FD_ZERO(&srv->fdset);
204 FD_SET(fd, &srv->fdset);
264 FD_SET(fd, &srv->fdset);
307 fd_set fdset; local
312 memcpy(&fdset, &srv->fdset, sizeof(fdset));
313 n = select(srv->fdmax + 1, &fdset, NULL, NULL, NULL);
319 srv->fdmax + 1, &fdset, strerror(errno), errno);
325 if (!FD_ISSET(fd, &fdset))
[all...]
H A Dsdpd.h115 fd_set fdset; /* current descriptor set */ member in struct:server
/netbsd-current/crypto/external/bsd/openssl.old/dist/util/perl/TLSProxy/
H A DProxy.pm358 my $fdset = IO::Select->new($self->{proxy_sock});
359 if (!$fdset->can_read(60)) {
376 $fdset = IO::Select->new($server_sock, $client_sock);
381 while($fdset->count && $ctr < 10) {
388 if (!(@ready = $fdset->can_read(1))) {
400 $fdset->remove($server_sock);
410 $fdset->remove($client_sock);
/netbsd-current/crypto/external/bsd/openssl/dist/util/perl/TLSProxy/
H A DProxy.pm358 my $fdset = IO::Select->new($self->{proxy_sock});
359 if (!$fdset->can_read(60)) {
376 $fdset = IO::Select->new($server_sock, $client_sock);
381 while($fdset->count && $ctr < 10) {
388 if (!(@ready = $fdset->can_read(1))) {
400 $fdset->remove($server_sock);
410 $fdset->remove($client_sock);
/netbsd-current/external/bsd/nvi/dist/ex/
H A Dex_script.c225 fd_set fdset; local
232 FD_ZERO(&fdset);
233 FD_SET(master, &fdset);
234 switch (select(master + 1, &fdset, NULL, NULL, &tv)) {
337 sscr_check_input(SCR *sp, fd_set *fdset, int maxfd) argument
345 loop: memcpy(&rdfd, fdset, sizeof(fd_set));
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dchangepw.c590 fd_set fdset; local
620 FD_ZERO(&fdset);
621 FD_SET(sock, &fdset);
625 ret = select (sock + 1, &fdset, NULL, NULL, &tv);
/netbsd-current/crypto/external/bsd/heimdal/dist/kpasswd/
H A Dkpasswdd.c799 fd_set fdset = real_fdset; local
801 retx = select(maxfd + 1, &fdset, NULL, NULL, NULL);
809 if (FD_ISSET(sockets[i], &fdset)) {
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dsocket.d2402 auto fdset = set.toFd_set();
2404 assert(cast(bool) set.isSet(fd) == cast(bool)(() @trusted => FD_ISSET(fd, fdset))());
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/
H A Dsocket.d2424 auto fdset = set.toFd_set();
2426 assert(cast(bool) set.isSet(fd) == cast(bool)(() @trusted => FD_ISSET(fd, fdset))());

Completed in 208 milliseconds