Lines Matching refs:no_sockets
2022 int no_sockets;
2105 no_sockets = 0;
2115 while ((no_sockets < BJNP_SOCK_MAX) && (interface != NULL))
2118 ( (socket_fd[no_sockets] =
2122 &broadcast_addr[no_sockets] ) ) != -1 ) )
2125 if (socket_fd[no_sockets] > last_socketfd)
2127 last_socketfd = socket_fd[no_sockets];
2129 FD_SET (socket_fd[no_sockets], &fdset);
2130 no_sockets++;
2151 socket_fd[no_sockets] = prepare_socket( "any_interface",
2154 &broadcast_addr[no_sockets] );
2155 if (socket_fd[no_sockets] >= 0)
2157 FD_SET (socket_fd[no_sockets], &fdset);
2158 if (socket_fd[no_sockets] > last_socketfd)
2160 last_socketfd = socket_fd[no_sockets];
2162 no_sockets++;
2168 socket_fd[no_sockets] = prepare_socket( "any_interface",
2171 &broadcast_addr[no_sockets] );
2172 if (socket_fd[no_sockets] >= 0)
2174 FD_SET (socket_fd[no_sockets], &fdset);
2175 if (socket_fd[no_sockets] > last_socketfd)
2177 last_socketfd = socket_fd[no_sockets];
2179 no_sockets++;
2188 for ( i=0; i < no_sockets; i++)
2215 for (i = 0; i < no_sockets; i++)
2274 for (i = 0; i < no_sockets; i++)