Home
last modified time | relevance | path

Searched refs:FD_SET (Results 1 – 25 of 220) sorted by relevance

123456789

/freebsd/contrib/libarchive/libarchive/
H A Dfilter_fork_posix.c225 FD_SET(out, &fds_in); in __archive_check_child()
226 FD_SET(out, &fds_error); in __archive_check_child()
229 FD_SET(in, &fds_out); in __archive_check_child()
230 FD_SET(in, &fds_error); in __archive_check_child()
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-poll.c71 FD_SET(fd, &readfds); in ppoll()
73 FD_SET(fd, &writefds); in ppoll()
75 FD_SET(fd, &exceptfds); in ppoll()
H A Dkludge-fd_set.c20 FD_SET(n, set); in kludge_FD_SET()
/freebsd/usr.sbin/ngctl/
H A Dmain.c254 FD_SET(csock, &rfds); in Monitor()
255 FD_SET(dsock, &rfds); in Monitor()
356 FD_SET(csock, &rfds); in DoInteractive()
357 FD_SET(dsock, &rfds); in DoInteractive()
365 FD_SET(0, &rfds); in DoInteractive()
366 FD_SET(csock, &rfds); in DoInteractive()
367 FD_SET(dsock, &rfds); in DoInteractive()
/freebsd/share/examples/ipfilter/samples/
H A Drelay.c50 FD_SET(rfd, &wfds);
52 FD_SET(ifd, &rfds);
54 FD_SET(ofd, &wfds);
56 FD_SET(rfd, &rfds);
H A Dproxy.c257 FD_SET(in, &rd);
259 FD_SET(net, &rd);
262 FD_SET(net, &wr);
264 FD_SET(out, &wr);
/freebsd/tests/sys/kern/pipe/
H A Dpipe_reverse2_test.c47 FD_SET(pip[0], &set); in main()
57 FD_SET(pip[0], &set); in main()
/freebsd/contrib/ntp/include/
H A Dntp_select.h20 #if !defined(FD_SET)
23 # define FD_SET(n, p) ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS))) macro
/freebsd/tools/test/stress2/misc/
H A Dmkfifo5.sh95 FD_SET(fd, &rset);
110 FD_SET(fd, &rset);
129 FD_SET(fd, &rset);
/freebsd/usr.sbin/bluetooth/bthidd/
H A Dclient.c106 FD_SET(s->ctrl, &srv->wfdset); in client_rescan()
175 FD_SET(s->intr, &srv->wfdset); in client_connect()
204 FD_SET(fd, &srv->rfdset); in client_connect()
H A Dserver.c146 FD_SET(srv->ctrl, &srv->rfdset); in server_init()
147 FD_SET(srv->intr, &srv->rfdset); in server_init()
278 FD_SET(new_fd, &srv->rfdset); in server_accept()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DSelectHelper.cpp182 FD_SET(fd, read_fdset_ptr); in Select()
185 FD_SET(fd, write_fdset_ptr); in Select()
188 FD_SET(fd, error_fdset_ptr); in Select()
/freebsd/tests/sys/mqueue/
H A Dmqtest3.c64 FD_SET(mq_getfd_np(mq), &set); in main()
97 FD_SET(mq_getfd_np(mq), &set); in main()
/freebsd/contrib/ncurses/ncurses/tty/
H A Dlib_twait.c356 FD_SET(sp->_ifd, &set); in _nc_timed_wait()
362 FD_SET(fd, &set); in _nc_timed_wait()
372 FD_SET(ev->data.fev.fd, &set); in _nc_timed_wait()
386 FD_SET(sp->_ifd, &set); in _nc_timed_wait()
/freebsd/lib/libc/tests/secure/
H A Dfortify_select_test.c178 FD_SET(__idx, &__stack.__buf); in ATF_TC_BODY()
196 FD_SET(__idx, &__stack.__buf); in ATF_TC_BODY()
223 FD_SET(__idx, &__stack.__buf); in ATF_TC_BODY()
265 FD_SET(__idx, __stack.__buf); in ATF_TC_BODY()
285 FD_SET(__idx, __stack.__buf); in ATF_TC_BODY()
314 FD_SET(__idx, __stack.__buf); in ATF_TC_BODY()
/freebsd/contrib/nvi/cl/
H A Dcl_read.c182 FD_SET(STDIN_FILENO, &rdfd); in cl_read()
225 FD_SET(STDIN_FILENO, &rdfd); in cl_read()
228 FD_SET(sp->script->sh_master, &rdfd); in cl_read()
/freebsd/contrib/sendmail/libmilter/
H A Dlibmilter.h216 FD_SET((unsigned int) (sd), &(rds)); \
218 FD_SET((unsigned int) (sd), &(excs))
222 FD_SET((unsigned int) (sd), &(wrs))
/freebsd/crypto/heimdal/appl/telnet/telnet/
H A Dsys_bsd.c785 FD_SET(net, &obits); in process_rings()
788 FD_SET(tout, &obits); in process_rings()
791 FD_SET(tin, &ibits); in process_rings()
794 FD_SET(net, &ibits); in process_rings()
798 FD_SET(net, &xbits); in process_rings()
/freebsd/contrib/sendmail/libsm/
H A Drefill.c75 FD_SET((fd), &sm_io_to_mask); \
77 FD_SET((fd), &sm_io_x_mask); \
/freebsd/crypto/openssl/include/internal/
H A Dsockets.h172 # define openssl_fdset(a, b) FD_SET((unsigned int)(a), b)
174 # define openssl_fdset(a, b) FD_SET(a, b)
/freebsd/contrib/ntp/libntp/lib/isc/win32/include/isc/
H A Dnet.h172 #undef FD_SET
173 #define FD_SET(fd, set) do { \ macro
/freebsd/contrib/telnet/telnet/
H A Dfdset.h40 #define FD_SET(n, p) ((p)->fds_bits[0] |= (1<<(n))) macro
/freebsd/contrib/sendmail/include/sm/
H A Dfdset.h21 #define SM_FD_SET(fd, pfdset) FD_SET(fd, pfdset)
/freebsd/lib/libcasper/libcasper/
H A Dlibcasper_service.c240 FD_SET(fd, &fds); in casper_main_loop()
250 FD_SET(sock, &fds); in casper_main_loop()
/freebsd/usr.sbin/nghook/
H A Dmain.c191 FD_SET(infd, &rfds); in main()
192 FD_SET(dsock, &rfds); in main()

123456789