Home
last modified time | relevance | path

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

/net-tools-3.6.0/mbedtls-2.4.0/programs/test/
Dudp_proxy.c476 fd_set read_fds; in main() local
565 FD_ZERO( &read_fds ); in main()
566 FD_SET( server_fd.fd, &read_fds ); in main()
567 FD_SET( client_fd.fd, &read_fds ); in main()
568 FD_SET( listen_fd.fd, &read_fds ); in main()
570 if( ( ret = select( nb_fds, &read_fds, NULL, NULL, NULL ) ) <= 0 ) in main()
576 if( FD_ISSET( listen_fd.fd, &read_fds ) ) in main()
579 if( FD_ISSET( client_fd.fd, &read_fds ) ) in main()
586 if( FD_ISSET( server_fd.fd, &read_fds ) ) in main()
/net-tools-3.6.0/mbedtls-2.4.0/library/
Dnet_sockets.c499 fd_set read_fds; in mbedtls_net_recv_timeout() local
505 FD_ZERO( &read_fds ); in mbedtls_net_recv_timeout()
506 FD_SET( fd, &read_fds ); in mbedtls_net_recv_timeout()
511 ret = select( fd + 1, &read_fds, NULL, NULL, timeout == 0 ? NULL : &tv ); in mbedtls_net_recv_timeout()