Lines Matching refs:fds
207 int fds[MULTICONN_NFDS];
211 fds[i] = vsock_stream_connect(opts->peer_cid, 1234);
212 if (fds[i] < 0) {
220 recv_byte(fds[i], 1, 0);
222 send_byte(fds[i], 1, 0);
226 close(fds[i]);
231 int fds[MULTICONN_NFDS];
235 fds[i] = vsock_stream_accept(VMADDR_CID_ANY, 1234, NULL);
236 if (fds[i] < 0) {
244 send_byte(fds[i], 1, 0);
246 recv_byte(fds[i], 1, 0);
250 close(fds[i]);