HomeSort by: relevance | last modified time | path
    Searched defs:sockets (Results 1 - 16 of 16) sorted by relevancy

  /src/external/mit/libuv/dist/test/
test-poll-close.c 45 uv_os_sock_t sockets[NUM_SOCKETS]; local
58 sockets[i] = socket(AF_INET, SOCK_STREAM, 0);
59 uv_poll_init_socket(uv_default_loop(), &poll_handles[i], sockets[i]); local
test-watcher-cross-stop.c 30 /* Cygwin crashes or hangs in socket() with too many AF_INET sockets. */
31 /* IBMi PASE timeout with too many AF_INET sockets. */
32 static uv_udp_t sockets[1250]; variable
34 static uv_udp_t sockets[2500]; variable
36 static uv_udp_send_t reqs[ARRAY_SIZE(sockets)];
69 RETURN_SKIP("zOS does not allow address or port reuse when using UDP sockets");
77 TEST_FILE_LIMIT(ARRAY_SIZE(sockets) + 32);
83 for (i = 0; i < ARRAY_SIZE(sockets); i++) {
84 ASSERT_OK(uv_udp_init(loop, &sockets[i]));
85 ASSERT_OK(uv_udp_bind(&sockets[i]
    [all...]
  /src/sys/arch/sparc/stand/common/
netif_sun.c 57 struct iodesc sockets[SOPEN_MAX]; variable in typeref:struct:iodesc
66 return (sockets);
77 io = sockets;
116 io = &sockets[fd];
  /src/sys/arch/sparc/stand/ofwboot/
netif_of.c 61 struct iodesc sockets[SOPEN_MAX]; variable in typeref:struct:iodesc
68 return sockets;
81 io = sockets;
121 io = &sockets[fd];
  /src/external/bsd/nvi/dist/ipc/
ip_run.c 191 int sockets[2]; local
198 if (socketpair(AF_LOCAL, SOCK_STREAM, 0, sockets) == -1)
201 rpipe[0] = sockets[0];
202 wpipe[0] = sockets[1];
203 if (((rpipe[1] = dup(sockets[1])) == -1) ||
204 ((wpipe[1] = dup(sockets[0])) == -1)) {
205 close(sockets[0]);
206 close(sockets[1]);
ipc_method.c 89 int sockets[2]; local
95 if (socketpair(AF_LOCAL, SOCK_STREAM, 0, sockets) == -1)
112 *(int *)CMSG_DATA(&ch.header) = sockets[1];
116 *(int *)CMSG_DATA(&ch.header) = sockets[1];
117 sendmsg(sockets[0], &mh, 0);
118 close(sockets[1]);
122 if (sendmsg(sockets[0], &mh, 0) == -1)
127 ipviwin->ifd = sockets[0];
128 ipviwin->ofd = sockets[0];
  /src/sys/lib/libsa/
netif.c 46 struct iodesc sockets[SOPEN_MAX]; variable in typeref:struct:iodesc
271 return &sockets[sock];
282 for (fd = 0, s = sockets; fd < SOPEN_MAX; fd++, s++)
316 netif_detach(sockets[sock].io_netif);
317 sockets[sock].io_netif = (struct netif *)0;
  /src/tests/net/inpcb/
inpcb_bind.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, 4)
187 int sockets[6]; local
273 int sockets[4]; local
    [all...]
  /src/sys/arch/sun68k/stand/libsa/
netif_sun.c 64 struct iodesc sockets[SOPEN_MAX]; variable in typeref:struct:iodesc
221 for (fd = 0, s = sockets; fd < SOPEN_MAX; fd++, s++)
248 s = &sockets[fd];
266 return (&sockets[fd]);
  /src/crypto/external/bsd/netpgp/dist/src/hkpd/
hkpd.c 211 fd_set sockets; local
241 FD_ZERO(&sockets);
243 FD_SET(sock4, &sockets);
246 FD_SET(sock6, &sockets);
248 if (select(32, &sockets, NULL, NULL, NULL) < 0) {
252 sock = (sock4 >= 0 && FD_ISSET(sock4, &sockets)) ? sock4 : sock6;
  /src/external/bsd/libevent/dist/
http-internal.h 140 TAILQ_HEAD(boundq, evhttp_bound_socket) sockets; member in struct:evhttp
  /src/external/bsd/ntp/dist/sntp/libevent/
http-internal.h 141 TAILQ_HEAD(boundq, evhttp_bound_socket) sockets; member in struct:evhttp
  /src/crypto/external/bsd/heimdal/dist/kpasswd/
kpasswdd.c 721 int *sockets; local
753 sockets = malloc(n * sizeof(*sockets));
754 if (sockets == NULL)
763 sockets[i] = socket(__ss.ss_family, SOCK_DGRAM, 0);
764 if (sockets[i] < 0)
766 if (bind(sockets[i], sa, sa_size) < 0) {
777 maxfd = max(maxfd, sockets[i]);
780 FD_SET(sockets[i], &real_fdset);
787 sockets = &fdz
    [all...]
  /src/crypto/external/bsd/heimdal/dist/lib/roken/
socket_wrapper.c 40 unix domain sockets if the environment variable SOCKET_WRAPPER_DIR
242 static struct socket_info *sockets; variable in typeref:struct:socket_info
551 for (i = sockets; i; i = i->next) {
1265 SWRAP_DLIST_ADD(sockets, si);
1363 SWRAP_DLIST_ADD(sockets, child_si);
1815 SWRAP_DLIST_REMOVE(sockets, si);
1867 SWRAP_DLIST_ADD(sockets, si_newd);
  /src/crypto/external/bsd/openssh/dist/
ssh-agent.c 134 SocketEntry *sockets = NULL; variable
1797 e = &sockets[socknum];
1900 if (sockets[i].type == AUTH_UNUSED) {
1901 sockets[i].fd = fd;
1902 if ((sockets[i].input = sshbuf_new()) == NULL ||
1903 (sockets[i].output = sshbuf_new()) == NULL ||
1904 (sockets[i].request = sshbuf_new()) == NULL)
1906 sockets[i].type = type;
1911 sockets = xrecallocarray(sockets, old_alloc, new_alloc
    [all...]
  /src/external/bsd/nsd/dist/
server.c 324 * Handle incoming queries on the UDP server sockets.
329 * Handle incoming connections on the TCP sockets. These handlers
1054 /* Linux 3.15 has IP_PMTUDISC_OMIT which makes sockets ignore PMTU
1434 * Initialize the server, reuseport, create and bind the sockets.
1598 server_close_all_sockets(struct nsd_socket sockets[], size_t n)
1602 /* Close all the sockets... */
1604 server_close_socket(&sockets[i]);
1609 * Close the sockets, shutdown the server and exit.
1714 /* setup sockets to pass NOTIFY messages from the serve processes */
1739 int sockets[2] = {0,0} local
    [all...]

Completed in 52 milliseconds