Searched refs:FD_SETSIZE (Results 1 - 25 of 79) sorted by relevance

1234

/freebsd-9.3-release/contrib/sendmail/include/sm/
H A Dfdset.h22 # define SM_FD_SETSIZE FD_SETSIZE
23 # define SM_FD_OK_SELECT(fd) (FD_SETSIZE <= 0 || (fd) < FD_SETSIZE)
/freebsd-9.3-release/contrib/ntp/include/
H A Dntif.h57 #ifdef FD_SETSIZE
58 #undef FD_SETSIZE macro
60 #define FD_SETSIZE 512 macro
H A Dntp_select.h22 # define FD_SETSIZE 32 macro
/freebsd-9.3-release/lib/libc/rpc/
H A Drpc_dtablesize.c50 * descriptors be greater than FD_SETSIZE (which us 256 by default).
53 * for _select(), having this return > FD_SETSIZE is a Bad Idea(TM)!
62 if (size > FD_SETSIZE)
63 size = FD_SETSIZE;
H A Dsvc.c109 mem_alloc(FD_SETSIZE * sizeof(SVCXPRT *));
114 memset(__svc_xports, '\0', FD_SETSIZE * sizeof(SVCXPRT *));
116 if (sock < FD_SETSIZE) {
152 if ((sock < FD_SETSIZE) && (__svc_xports[sock] == xprt)) {
636 for (sock = 0; sock < FD_SETSIZE; sock += NFDBITS) {
/freebsd-9.3-release/contrib/telnet/telnet/
H A Dfdset.h42 #ifndef FD_SETSIZE
/freebsd-9.3-release/sys/sys/
H A Dselect.h55 * FD_SETSIZE may be defined by the user, but the default here should
58 #ifndef FD_SETSIZE
59 #define FD_SETSIZE 1024U macro
72 __fd_mask __fds_bits[_howmany(FD_SETSIZE, _NFDBITS)];
90 _n = _howmany(FD_SETSIZE, _NFDBITS); \
/freebsd-9.3-release/usr.sbin/faithd/
H A Dtcp.c161 if (s_rcv >= FD_SETSIZE)
181 if (s_snd >= FD_SETSIZE)
184 if (s_rcv >= FD_SETSIZE)
191 if (s_snd >= FD_SETSIZE)
208 if (s_rcv >= FD_SETSIZE)
244 if (s_rcv >= FD_SETSIZE)
247 if (s_snd >= FD_SETSIZE)
281 if (s_rcv >= FD_SETSIZE)
284 if (s_snd >= FD_SETSIZE)
H A Dftp.c125 if (ctl4 >= FD_SETSIZE)
129 if (ctl6 >= FD_SETSIZE)
134 if (port4 >= FD_SETSIZE)
140 if (port6 >= FD_SETSIZE)
147 if (wport4 >= FD_SETSIZE)
153 if (wport6 >= FD_SETSIZE)
333 if (wport4 >= FD_SETSIZE)
397 if (wport6 >= FD_SETSIZE)
/freebsd-9.3-release/crypto/openssl/crypto/rand/
H A Drand_unix.c133 # ifndef FD_SETSIZE
134 # define FD_SETSIZE (8*sizeof(fd_set)) macro
243 if (FD_SETSIZE > 0 && (unsigned)fd >= FD_SETSIZE) {
/freebsd-9.3-release/crypto/openssl/apps/
H A Ds_apps.h133 # ifndef FD_SETSIZE
134 # define FD_SETSIZE MAX_NOFILE macro
135 # endif /* FD_SETSIZE */
/freebsd-9.3-release/contrib/libreadline/examples/
H A Dexcallback.c127 if( select(FD_SETSIZE, &fds, NULL, NULL, NULL) < 0) {
/freebsd-9.3-release/crypto/heimdal/appl/telnet/telnet/
H A Dnetwork.c80 if (net >= FD_SETSIZE)
H A Dsys_bsd.c781 if (net >= FD_SETSIZE
782 || tout >= FD_SETSIZE
783 || tin >= FD_SETSIZE)
803 if ((c = select(FD_SETSIZE, &ibits, &obits, &xbits,
/freebsd-9.3-release/contrib/sendmail/libsm/
H A Drefill.c68 if (FD_SETSIZE > 0 && (fd) >= FD_SETSIZE) \
H A Dlocal.h247 if (FD_SETSIZE > 0 && (fd) >= FD_SETSIZE) \
/freebsd-9.3-release/usr.sbin/rpc.ypupdated/
H A Dypupdated_main.c122 #ifdef FD_SETSIZE
126 #endif /* def FD_SETSIZE */
135 #ifdef FD_SETSIZE
139 #endif /* def FD_SETSIZE */
/freebsd-9.3-release/usr.bin/rsh/
H A Drsh.c256 if (rem >= FD_SETSIZE)
288 if (rfd2 >= FD_SETSIZE || rem >= FD_SETSIZE)
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dmini_inetd.c101 if (fds[i] >= FD_SETSIZE)
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dbsd-poll.c53 if (fd >= FD_SETSIZE) {
/freebsd-9.3-release/contrib/amd/amd/
H A Dnfs_start.c174 nsel = select(FD_SETSIZE, &readfds, (fd_set *) 0, (fd_set *) 0, &tvv);
256 nsel = do_select(smask, FD_SETSIZE, &readfds, &tvv);
/freebsd-9.3-release/usr.sbin/rpc.ypxfrd/
H A Dypxfrd_main.c125 #ifdef FD_SETSIZE
129 #endif /* def FD_SETSIZE */
138 #ifdef FD_SETSIZE
142 #endif /* def FD_SETSIZE */
/freebsd-9.3-release/crypto/openssl/demos/easy_tls/
H A Deasy-tls.c221 if (a.fd >= FD_SETSIZE || fds[0] >= FD_SETSIZE) {
850 assert(read_select_1 < FD_SETSIZE && read_select_2 < FD_SETSIZE - 1
851 && write_select_1 < FD_SETSIZE - 1
852 && write_select_2 < FD_SETSIZE - 1);
980 assert(clear_fd < FD_SETSIZE);
981 assert(tls_fd < FD_SETSIZE);
/freebsd-9.3-release/bin/date/
H A Dnetdate.c141 found = select(FD_SETSIZE, &ready, (fd_set *)0, (fd_set *)0, &tout);
/freebsd-9.3-release/contrib/ntp/lib/isc/win32/include/isc/
H A Dnet.h181 if (((fd_set FAR *)(set))->fd_count < FD_SETSIZE) { \

Completed in 296 milliseconds

1234