Home
last modified time | relevance | path

Searched refs:client_sock (Results 1 – 3 of 3) sorted by relevance

/freebsd/lib/libc/tests/sys/
H A Dsendfile_test.c336 int client_sock, error, fd, port, server_sock; in fd_positive_file_test() local
347 client_sock = setup_tcp_client(domain, port); in fd_positive_file_test()
351 (void)close(client_sock); in fd_positive_file_test()
359 error = sendfile(fd, client_sock, offset, nbytes, NULL, NULL, in fd_positive_file_test()
362 (void)close(client_sock); in fd_positive_file_test()
409 int client_sock, error, fd, port, server_sock; in fd_positive_shm_test() local
431 client_sock = setup_tcp_client(domain, port); in fd_positive_shm_test()
435 (void)close(client_sock); in fd_positive_shm_test()
443 error = sendfile(fd, client_sock, offset, nbytes, NULL, NULL, in fd_positive_shm_test()
446 (void)close(client_sock); in fd_positive_shm_test()
[all …]
/freebsd/crypto/openssl/util/perl/TLSProxy/
H A DProxy.pm365 my $client_sock;
366 if(!($client_sock = $self->{proxy_sock}->accept())) {
377 $fdset = IO::Select->new($server_sock, $client_sock);
397 $client_sock->syswrite($indata) or goto END;
402 $client_sock->shutdown(SHUT_WR);
404 } elsif ($hand == $client_sock) {
405 if ($client_sock->sysread($indata, 16384)) {
411 $fdset->remove($client_sock);
432 if($client_sock) {
434 $client_sock->close();
/freebsd/contrib/capsicum-test/
H A Dsctp.cc111 int client_sock = SctpClient(port, DO_PEELOFF); in TEST() local
113 close(client_sock); in TEST()
122 int client_sock = SctpClient(port, DO_TERM); in TEST() local
123 close(client_sock); in TEST()