/openbsd-current/regress/sys/netinet/in_pcbbind/ |
H A D | runtest.c | 114 err(2, "unable to clean up sockets, aborting"); 121 int sockets[4]; local 124 rc = 0; s = sockets; 128 cleanup(sockets, 3); 133 rc = 0; s = sockets; 137 cleanup(sockets, 3); 142 rc = 0; s = sockets; 147 cleanup(sockets, 4); 152 rc = 0; s = sockets; 157 cleanup(sockets, 187 int sockets[6]; local 274 int sockets[4]; local [all...] |
/openbsd-current/sys/arch/sparc64/stand/ofwboot/ |
H A D | netif_of.c | 60 struct iodesc sockets[SOPEN_MAX]; variable in typeref:struct:iodesc 67 return sockets; 79 io = sockets; 112 io = &sockets[fd];
|
/openbsd-current/sys/arch/macppc/stand/ |
H A D | netif_of.c | 65 struct iodesc sockets[SOPEN_MAX]; variable in typeref:struct:iodesc 72 return sockets; 85 io = sockets; 127 io = &sockets[fd];
|
/openbsd-current/gnu/llvm/lldb/tools/debugserver/source/ |
H A D | RNBSocket.cpp | 52 // sockets on all families that can resolve localhost. This will allow us to 57 std::map<int, lldb_private::SocketAddress> sockets; local 91 // subesquent sockets will reuse this port number. 98 sockets[sock_fd] = address; 101 if (sockets.size() == 0) { 111 events.resize(sockets.size()); 113 for (auto socket : sockets) { 133 auto socket_pair = sockets.find(sock_fd); 134 if (socket_pair == sockets.end()) 170 for (auto socket : sockets) { [all...] |
/openbsd-current/sys/lib/libsa/ |
H A D | netif.c | 44 struct iodesc sockets[SOPEN_MAX]; variable in typeref:struct:iodesc 269 return (&sockets[sock]); 280 for (fd = 0, s = sockets; fd < SOPEN_MAX; fd++, s++) 310 netif_detach(sockets[sock].io_netif); 311 sockets[sock].io_netif = NULL;
|
H A D | net.h | 95 extern struct iodesc sockets[SOPEN_MAX];
|
/openbsd-current/usr.bin/ssh/ |
H A D | ssh-agent.c | 124 SocketEntry *sockets = NULL; variable 1790 e = &sockets[socknum]; 1893 if (sockets[i].type == AUTH_UNUSED) { 1894 sockets[i].fd = fd; 1895 if ((sockets[i].input = sshbuf_new()) == NULL || 1896 (sockets[i].output = sshbuf_new()) == NULL || 1897 (sockets[i].request = sshbuf_new()) == NULL) 1899 sockets[i].type = type; 1904 sockets = xrecallocarray(sockets, old_allo [all...] |
/openbsd-current/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-current/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-current/gnu/usr.bin/perl/dist/IO/lib/IO/Socket/ |
H A D | UNIX.pm | 73 IO::Socket::UNIX - Object interface for AF_UNIX domain sockets 103 C<IO::Socket::UNIX> provides an object interface to creating and using sockets
|
H A D | INET.pm | 314 IO::Socket::INET - Object interface for AF_INET domain sockets 322 C<IO::Socket::INET> provides an object interface to creating and using sockets
|
/openbsd-current/gnu/usr.bin/perl/dist/IO/lib/IO/ |
H A D | Socket.pm | 168 # Enable/disable blocking IO on sockets. 192 # because sockets are blocking by default. 291 # this is non-portable for "connected" UDP sockets 424 creating and using sockets via L<Socket>, which provides a near one-to-one 428 operations which are common to all types of sockets. Operations which are 461 C<AF_INET> is for the internet address family of sockets and is handled via 462 L<IO::Socket::INET>. C<AF_INET> sockets are bound to an internet address and 466 L<IO::Socket::UNIX>. C<AF_UNIX> sockets are bound to the file system as their 699 sockets operate on bytes, but for example if the socket has been changed 718 unconnected sockets, yo [all...] |
H A D | Select.pm | 379 to write a server which communicates with several sockets while also
|
/openbsd-current/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-current/gnu/usr.bin/perl/ |
H A D | util.c | 4211 int sockets[2] = {-1, -1}; local 4221 sockets[i] = PerlSock_socket(AF_INET, SOCK_DGRAM, PF_INET); 4222 if (sockets[i] == -1) 4228 if (PerlSock_bind(sockets[i], (struct sockaddr *) &addresses[i], 4233 /* Now have 2 UDP sockets. Find out which port each is connected to, and 4237 if (PerlSock_getsockname(sockets[i], (struct sockaddr *) &addresses[i], 4243 if (PerlSock_connect(sockets[!i], (struct sockaddr *) &addresses[i], 4248 /* Now we have 2 sockets connected to each other. I don't trust some other 4257 got = PerlLIO_write(sockets[i], &port, sizeof(port)); 4277 int max = sockets[ [all...] |
H A D | configure.com | 1747 $ echo "You have sockets available via the C library. Should socket support" 3634 $ ! No sockets, so stick in an int * : no select, so pick a harmless default 3880 $ ! No sockets, so no gethname
|
/openbsd-current/gnu/llvm/llvm/lib/Support/Windows/ |
H A D | Threading.inc | 281 // need to dispatch threads to other CPU sockets.
|
/openbsd-current/usr.sbin/nsd/ |
H A D | nsd.h | 395 void server_close_all_sockets(struct nsd_socket sockets[], size_t n);
|
H A D | server.c | 305 * Handle incoming queries on the UDP server sockets. 310 * Handle incoming connections on the TCP sockets. These handlers 1032 /* Linux 3.15 has IP_PMTUDISC_OMIT which makes sockets ignore PMTU 1415 * Initialize the server, reuseport, create and bind the sockets. 1580 server_close_all_sockets(struct nsd_socket sockets[], size_t n) argument 1584 /* Close all the sockets... */ 1586 server_close_socket(&sockets[i]); 1591 * Close the sockets, shutdown the server and exit. 1697 int sockets[2] = {0,0}; local 1715 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sockets) [all...] |
/openbsd-current/gnu/usr.bin/perl/cpan/IO-Socket-IP/lib/IO/Socket/ |
H A D | IP.pm | 91 This module provides a protocol-independent way to use IPv4 and IPv6 sockets, 297 If defined, set the C<IPV6_V6ONLY> sockopt when creating C<PF_INET6> sockets 304 it is recommended this value always be defined for listening-mode sockets. 319 two listening sockets, one bound to each protocol.
|
/openbsd-current/gnu/usr.bin/perl/cpan/Socket/ |
H A D | Socket.pm | 183 arguments packed in and C<AF_INET> filled in. For Internet domain sockets, 246 path packed in with C<AF_UNIX> filled in. For C<PF_UNIX> sockets, this
|
/openbsd-current/gnu/usr.bin/perl/lib/ |
H A D | PerlIO.pm | 358 for example with sockets there may be differences.)
|
/openbsd-current/gnu/usr.bin/perl/lib/File/ |
H A D | Copy.pm | 392 1k for filehandles that do not reference files (eg. sockets).
|
/openbsd-current/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/ |
H A D | ProcessGDBRemote.cpp | 3242 int sockets[2]; /* the pair of socket descriptors */ local 3243 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sockets) == -1) { 3248 int our_socket = sockets[0]; 3249 int gdb_socket = sockets[1];
|
/openbsd-current/gnu/usr.bin/perl/cpan/Sys-Syslog/ |
H A D | Syslog.pm | 869 # by a write. Instead, sockets are made readable and the next read 1665 UNIX domain sockets added by Sean Robinson
|