Searched refs:connect_socket (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.1-release/tools/regression/sockets/sendfile/ |
H A D | sendfile.c | 92 static int new_test_socket(int *connect_socket); 95 static int send_test(int connect_socket, struct sendfile_test); 234 new_test_socket(int *connect_socket) argument 239 *connect_socket = socket(PF_INET, SOCK_STREAM, 0); 240 if (*connect_socket < 0) 249 if (connect(*connect_socket, (struct sockaddr *)&sin, sizeof(sin)) < 0) 269 send_test(int connect_socket, struct sendfile_test test) argument 292 len = write(connect_socket, &th, sizeof(th)); 315 if (sendfile(file_fd, connect_socket, test.offset, test.length, 377 int connect_socket; local [all...] |
Completed in 91 milliseconds