| /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/share/doc/psd/21.ipc/ |
| Makefile | 6 ARTICLE=sockets-advanced
|
| /src/sys/rump/net/lib/liblocal/ |
| Makefile | 7 COMMENT=Local domain sockets (PF_LOCAL/PF_UNIX)
|
| /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/share/doc/psd/20.ipctut/ |
| Makefile | 6 ARTICLE=sockets
|
| /src/tests/fs/tmpfs/ |
| t_sockets.sh | 30 atf_set "descr" "Verifies that sockets can be created using" \ 37 atf_check -s exit:0 -o empty -e empty $(atf_get_srcdir)/h_tools sockets a 41 echo "$(atf_get_srcdir)/h_tools sockets dir/a" | kqueue_monitor 1 dir
|
| t_readdir.sh | 64 $(atf_get_srcdir)/h_tools sockets sock
|
| /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/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/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/external/bsd/libevent/dist/ |
| http-internal.h | 140 TAILQ_HEAD(boundq, evhttp_bound_socket) sockets; member in struct:evhttp
|
| http.c | 3608 TAILQ_FOREACH(bound, &http->sockets, next) 3645 TAILQ_INSERT_TAIL(&http->sockets, bound, next); 3666 TAILQ_REMOVE(&http->sockets, bound, next); 3692 TAILQ_INIT(&http->sockets); 3744 while ((bound = TAILQ_FIRST(&http->sockets)) != NULL) { 3745 TAILQ_REMOVE(&http->sockets, bound, next); 3785 /* a vhost can only be a vhost once and should not have bound sockets */ 3787 TAILQ_FIRST(&vhost->sockets) != NULL)
|
| /src/external/bsd/ntp/dist/sntp/libevent/ |
| http-internal.h | 141 TAILQ_HEAD(boundq, evhttp_bound_socket) sockets; member in struct:evhttp
|
| http.c | 3606 TAILQ_FOREACH(bound, &http->sockets, next) 3643 TAILQ_INSERT_TAIL(&http->sockets, bound, next); 3664 TAILQ_REMOVE(&http->sockets, bound, next); 3690 TAILQ_INIT(&http->sockets); 3742 while ((bound = TAILQ_FIRST(&http->sockets)) != NULL) { 3743 TAILQ_REMOVE(&http->sockets, bound, next); 3783 /* a vhost can only be a vhost once and should not have bound sockets */ 3785 TAILQ_FIRST(&vhost->sockets) != NULL)
|
| /src/external/bsd/wpa/dist/hs20/client/ |
| Android.mk | 31 L_CFLAGS += -DCONFIG_CTRL_IFACE_CLIENT_DIR=\"/data/misc/wifi/sockets\"
|
| /src/external/bsd/nsd/dist/ |
| nsd.h | 431 void server_close_all_sockets(struct nsd_socket sockets[], size_t n);
|
| 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...] |
| /src/external/bsd/wpa/dist/hostapd/ |
| Android.mk | 41 # Use Android specific directory for control interface sockets 42 L_CFLAGS += -DCONFIG_CTRL_IFACE_CLIENT_DIR=\"/data/misc/wifi/sockets\"
|
| /src/external/bsd/wpa/dist/src/common/ |
| wpa_ctrl.c | 27 #include <cutils/sockets.h>
|
| /src/external/bsd/wpa/dist/wpa_supplicant/ |
| ctrl_iface_unix.c | 20 #include <cutils/sockets.h>
|
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/ |
| socket.d | 266 auto sockets = socketPair(); 267 auto s = sockets[0]; 2155 * A collection of sockets for use with `Socket.select`. 2229 // Array size to fit that many sockets 2243 // Make sure we can fit that many sockets 2616 * the Berkeley sockets interface. 2937 * for connection-oriented sockets. 3366 * Returns: The number of sockets with status changes, `0` on timeout, 3368 * the `SocketSets` are updated to only contain the sockets having status 3374 * `SocketSet`'s updated to include only those sockets which an event occured [all...] |