Home
last modified time | relevance | path

Searched refs:NFDBITS (Results 1 – 16 of 16) sorted by relevance

/external/iputils/
Dtraceroute6.c280 #define NFDBITS (8*sizeof(fd_set)) macro
281 #define FD_SETSIZE NFDBITS
282 #define FD_SET(n, p) ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS)))
283 #define FD_CLR(n, p) ((p)->fds_bits[(n)/NFDBITS] &= ~(1 << ((n) % NFDBITS)))
284 #define FD_ISSET(n, p) ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS)))
/external/libevent/
Dselect.c58 #ifndef NFDBITS
59 #define NFDBITS (sizeof(fd_mask)*8) macro
67 (DIV_ROUNDUP(n, NFDBITS) * sizeof(fd_mask))
DChangeLog319 o Fix select.c compilation on systems with no NFDBITS (49d1136)
/external/openssh/openbsd-compat/
Dbsd-poll.c60 nmemb = howmany(maxfd + 1 , NFDBITS); in poll()
/external/openssh/
Dssh-pkcs11-helper.c303 set_size = howmany(max + 1, NFDBITS) * sizeof(fd_mask); in main()
Ddefines.h385 # define NFDBITS (8 * sizeof(unsigned long)) macro
Dsshconnect.c359 fdset = xcalloc(howmany(sockfd + 1, NFDBITS), in timeout_connect()
557 fdsetsz = howmany(connection_in + 1, NFDBITS) * sizeof(fd_mask); in ssh_exchange_identification()
Dpacket.c1276 NFDBITS), sizeof(fd_mask)); in ssh_packet_read_seqnr()
1308 NFDBITS) * sizeof(fd_mask)); in ssh_packet_read_seqnr()
2041 NFDBITS), sizeof(fd_mask)); in ssh_packet_write_wait()
2047 NFDBITS) * sizeof(fd_mask)); in ssh_packet_write_wait()
Dssh-keyscan.c758 read_wait_nfdset = howmany(maxfd, NFDBITS); in main()
Dssh-agent.c995 sz = howmany(n+1, NFDBITS) * sizeof(fd_mask); in prepare_select()
Dsftp-server.c1634 set_size = howmany(max + 1, NFDBITS) * sizeof(fd_mask); in sftp_server_main()
Dsshd.c1260 fdset = xcalloc(howmany(maxfd + 1, NFDBITS),
Dconfig.h.in331 /* Define to 1 if you have the declaration of `NFDBITS', and to 0 if you
Dchannels.c2203 nfdset = howmany(n+1, NFDBITS);
Dconfigure.ac1817 AC_CHECK_DECLS([howmany, NFDBITS], [], [], [[
Dconfigure18218 (void) NFDBITS;