Searched refs:connect_socket (Results 1 - 1 of 1) sorted by relevance
/freebsd-9.3-release/tools/regression/sockets/sendfile/ |
H A D | sendfile.c | 91 static int new_test_socket(int *connect_socket); 94 static int send_test(int connect_socket, struct sendfile_test); 232 new_test_socket(int *connect_socket) argument 237 *connect_socket = socket(PF_INET, SOCK_STREAM, 0); 238 if (*connect_socket < 0) 247 if (connect(*connect_socket, (struct sockaddr *)&sin, sizeof(sin)) < 0) 267 send_test(int connect_socket, struct sendfile_test test) argument 293 len = write(connect_socket, &th, sizeof(th)); 316 if (sendfile(file_fd, connect_socket, test.offset, test.length, 342 int connect_socket; local [all...] |
Completed in 99 milliseconds