| /openbsd-src/regress/sys/netinet/in_pcbbind/ |
| H A D | runtest.c | 121 int sockets[4]; in unicast_testsuite() local 124 rc = 0; s = sockets; in unicast_testsuite() 128 cleanup(sockets, 3); in unicast_testsuite() 133 rc = 0; s = sockets; in unicast_testsuite() 137 cleanup(sockets, 3); in unicast_testsuite() 142 rc = 0; s = sockets; in unicast_testsuite() 147 cleanup(sockets, 4); in unicast_testsuite() 152 rc = 0; s = sockets; in unicast_testsuite() 157 cleanup(sockets, 4); in unicast_testsuite() 162 rc = 0; s = sockets; in unicast_testsuite() [all …]
|
| /openbsd-src/regress/sys/netinet/bindconnect/ |
| H A D | README | 5 -b bind threads binding sockets, default 1 6 -c connect threads connecting sockets, default 1 11 -o close threads closing sockets, default 1 14 -s socket threads creating sockets, default 1 18 and connect(2) system calls concurrently. The number of sockets 24 Currently IPv4 and IPv6 UDP sockets are supported. Per default the
|
| /openbsd-src/gnu/llvm/lldb/tools/debugserver/source/ |
| H A D | RNBSocket.cpp | 57 std::map<int, lldb_private::SocketAddress> sockets; in Listen() local 98 sockets[sock_fd] = address; in Listen() 101 if (sockets.size() == 0) { in Listen() 111 events.resize(sockets.size()); in Listen() 113 for (auto socket : sockets) { in Listen() 133 auto socket_pair = sockets.find(sock_fd); in Listen() 134 if (socket_pair == sockets.end()) in Listen() 170 for (auto socket : sockets) { in Listen()
|
| /openbsd-src/usr.bin/ssh/ |
| H A D | ssh-agent.c | 127 SocketEntry *sockets = NULL; 1806 e = &sockets[socknum]; in process_message() 1909 if (sockets[i].type == AUTH_UNUSED) { in new_socket() 1910 sockets[i].fd = fd; in new_socket() 1911 if ((sockets[i].input = sshbuf_new()) == NULL || in new_socket() 1912 (sockets[i].output = sshbuf_new()) == NULL || in new_socket() 1913 (sockets[i].request = sshbuf_new()) == NULL) in new_socket() 1915 sockets[i].type = type; in new_socket() 1920 sockets = xrecallocarray(sockets, old_allo in handle_socket_read() 124 SocketEntry *sockets = NULL; global() variable [all...] |
| /openbsd-src/sys/arch/sparc64/stand/ofwboot/ |
| H A D | netif_of.c | 60 struct iodesc sockets[SOPEN_MAX]; variable 67 return sockets; in socktodesc() 79 io = sockets; in netif_open() 112 io = &sockets[fd]; in netif_close()
|
| /openbsd-src/sys/arch/macppc/stand/ |
| H A D | netif_of.c | 65 struct iodesc sockets[SOPEN_MAX]; variable 72 return sockets; in socktodesc() 85 io = sockets; in netif_open() 127 io = &sockets[fd]; in netif_close()
|
| /openbsd-src/sys/lib/libsa/ |
| H A D | netif.c | 44 struct iodesc sockets[SOPEN_MAX]; variable 269 return (&sockets[sock]); in socktodesc() 280 for (fd = 0, s = sockets; fd < SOPEN_MAX; fd++, s++) in netif_open() 310 netif_detach(sockets[sock].io_netif); in netif_close() 311 sockets[sock].io_netif = NULL; in netif_close()
|
| H A D | net.h | 95 extern struct iodesc sockets[SOPEN_MAX];
|
| /openbsd-src/gnu/usr.bin/perl/dist/Net-Ping/t/ |
| H A D | 450_service.t | 115 is($p->ack(), undef, 'No more sockets'); 140 is($p->ack(), undef, 'No more sockets'); 158 is($p->ack(), undef, 'No more sockets'); 175 is($p->ack(), undef, 'No sockets should have service on');
|
| /openbsd-src/regress/usr.sbin/httpd/tests/ |
| H A D | funcs.pl | 32 my @sockets = (1..$num); 33 foreach my $s (@sockets) { 40 my @ports = map { $_->sockport() } @sockets;
|
| /openbsd-src/usr.sbin/nsd/doc/ |
| H A D | NSD-VERIFY-MODS | 102 configuration and setting up the sockets in nsd.c by calling 107 before it executes the verifier with execvp. Server sockets are automatically 143 sockets for verifying. This reflects the tcp, udp and ifs members that are used 148 (server.c) function was used with the normal server sockets, the function is 149 called subsequently for the verify sockets. Also in server_start_xfrd the 150 sockets for verifiers are closed in the xfrd child process, because it has no
|
| /openbsd-src/regress/sys/netinet6/rip6cksum/ |
| H A D | README | 1 Test IPv6 raw sockets with checksum calculation in kernel.
|
| /openbsd-src/regress/usr.sbin/syslogd/ |
| H A D | funcs.pl | 43 my @sockets = (1..$num); 44 foreach my $s (@sockets) { 51 my @ports = map { $_->sockport() } @sockets;
|
| /openbsd-src/gnu/usr.bin/perl/ |
| H A D | util.c | 4277 int sockets[2] = {-1, -1}; 4287 sockets[i] = PerlSock_socket(AF_INET, SOCK_DGRAM, PF_INET); 4288 if (sockets[i] == -1) 4294 if (PerlSock_bind(sockets[i], (struct sockaddr *) &addresses[i], 4299 /* Now have 2 UDP sockets. Find out which port each is connected to, and 4303 if (PerlSock_getsockname(sockets[i], (struct sockaddr *) &addresses[i], 4309 if (PerlSock_connect(sockets[!i], (struct sockaddr *) &addresses[i], 4314 /* Now we have 2 sockets connected to each other. I don't trust some other 4323 got = PerlLIO_write(sockets[i], &port, sizeof(port)); 4343 int max = sockets[ 4211 int sockets[2] = {-1, -1}; global() local [all...] |
| /openbsd-src/regress/sys/nfs/ |
| H A D | README | 5 UNIX domain sockets are created and used on NFS file systems.
|
| /openbsd-src/games/hunt/ |
| H A D | README | 26 hunt can be configured to use Unix-domain sockets, but that 28 4.2BSD Unix-domain sockets are buggy, running hunt on 29 4.2BSD with Unix-domain sockets will probably crash
|
| /openbsd-src/regress/usr.sbin/relayd/ |
| H A D | funcs.pl | 32 my @sockets = (1..$num); 33 foreach my $s (@sockets) { 40 my @ports = map { $_->sockport() } @sockets;
|
| /openbsd-src/regress/sys/net/pf_divert/ |
| H A D | README | 10 connected datagram sockets. Over the TCP connection messages are 11 sent on both directions. The datagram sockets deal with single
|
| /openbsd-src/gnu/usr.bin/perl/dist/IO/ |
| H A D | ChangeLog | 51 for error. This is an issue for sockets and character devices. GH #6799 56 * only cache the protocol for sockets when one is supplied, 167 * [rt.cpan.org #61577] VMS doesn't support UNIX sockets 172 * [rt.cpan.org #61577] sockdomain and socktype undef on newly accepted sockets 181 * Fix setting sockets nonblocking in Win32
|
| /openbsd-src/usr.sbin/nsd/ |
| H A D | nsd.h | 395 void server_close_all_sockets(struct nsd_socket sockets[], size_t n);
|
| H A D | nsd.conf.sample.in | 45 # to partition sockets across servers to improve select/poll 176 # max number of sockets used for outgoing zone transfers. 177 # Increase this to allow more sockets for zone transfers. 251 # Service clients over TLS (on the TCP sockets), with plain DNS inside
|
| H A D | server.c | 1580 server_close_all_sockets(struct nsd_socket sockets[], size_t n) in server_close_all_sockets() argument 1586 server_close_socket(&sockets[i]); in server_close_all_sockets() 1697 int sockets[2] = {0,0}; in server_start_xfrd() local 1715 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sockets) == -1) { in server_start_xfrd() 1726 close(sockets[0]); in server_start_xfrd() 1727 if (fcntl(sockets[1], F_SETFL, O_NONBLOCK) == -1) { in server_start_xfrd() 1747 xfrd_init(sockets[1], nsd, del_db, reload_active, pid); in server_start_xfrd() 1752 close(sockets[1]); in server_start_xfrd() 1753 if (fcntl(sockets[0], F_SETFL, O_NONBLOCK) == -1) { in server_start_xfrd() 1756 nsd->xfrd_listener->fd = sockets[0]; in server_start_xfrd()
|
| /openbsd-src/gnu/usr.bin/cvs/emx/ |
| H A D | README | 58 EMX 0.9c doesn't have sockets with -Zsys (according to the
|
| /openbsd-src/gnu/usr.bin/perl/pod/ |
| H A D | perlipc.pod | 3 perlipc - Perl interprocess communication (signals, fifos, pipes, safe subprocesses, sockets, and semaphores) 904 sockets on your system, in which case this section probably isn't going to 905 do you much good. With sockets, you can do both virtual circuits like TCP 909 The Perl functions for dealing with sockets have the same names as 944 Use Internet-domain sockets when you want to do client-server 947 Here's a sample TCP client using Internet-domain sockets: 1176 want to. Unix-domain sockets are local to the current host, and are often 1177 used internally to implement pipes. Unlike Internet domain sockets, Unix 1178 domain sockets can show up in the file system with an ls(1) listing. 1204 network terminators here because Unix domain sockets ar [all...] |
| H A D | perl582delta.pod | 103 Bugs in OS/2 sockets and tmpfile have been fixed.
|