Searched refs:sockets (Results 1 - 25 of 28) sorted by relevance

12

/openbsd-current/regress/sys/netinet/in_pcbbind/
H A Druntest.c114 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 Dnetif_of.c60 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 Dnetif_of.c65 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 DRNBSocket.cpp52 // 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 Dnetif.c44 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 Dnet.h95 extern struct iodesc sockets[SOPEN_MAX];
/openbsd-current/usr.bin/ssh/
H A Dssh-agent.c124 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 Dfuncs.pl43 my @sockets = (1..$num);
44 foreach my $s (@sockets) {
51 my @ports = map { $_->sockport() } @sockets;
/openbsd-current/regress/usr.sbin/httpd/tests/
H A Dfuncs.pl32 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 DUNIX.pm73 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 DINET.pm314 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 DSocket.pm168 # 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 DSelect.pm379 to write a server which communicates with several sockets while also
/openbsd-current/regress/usr.sbin/relayd/
H A Dfuncs.pl32 my @sockets = (1..$num);
33 foreach my $s (@sockets) {
40 my @ports = map { $_->sockport() } @sockets;
/openbsd-current/gnu/usr.bin/perl/
H A Dutil.c4211 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 Dconfigure.com1747 $ 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 DThreading.inc281 // need to dispatch threads to other CPU sockets.
/openbsd-current/usr.sbin/nsd/
H A Dnsd.h395 void server_close_all_sockets(struct nsd_socket sockets[], size_t n);
H A Dserver.c305 * 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 DIP.pm91 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 DSocket.pm183 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 DPerlIO.pm358 for example with sockets there may be differences.)
/openbsd-current/gnu/usr.bin/perl/lib/File/
H A DCopy.pm392 1k for filehandles that do not reference files (eg. sockets).
/openbsd-current/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp3242 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 DSyslog.pm869 # by a write. Instead, sockets are made readable and the next read
1665 UNIX domain sockets added by Sean Robinson

Completed in 380 milliseconds

12