| /freebsd-12-stable/share/doc/psd/20.ipctut/ |
| D | socketpair.c | 46 int sockets[2], child; 49 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sockets) < 0) { 57 close(sockets[0]); 58 if (read(sockets[1], buf, 1024, 0) < 0) 61 if (write(sockets[1], DATA2, sizeof(DATA2)) < 0) 63 close(sockets[1]); 65 close(sockets[1]); 66 if (write(sockets[0], DATA1, sizeof(DATA1)) < 0) 68 if (read(sockets[0], buf, 1024, 0) < 0) 71 close(sockets[0]);
|
| D | pipe.c | 44 int sockets[2], child; 47 if (pipe(sockets) < 0) { 58 close(sockets[1]); 59 if (read(sockets[0], buf, 1024) < 0) 62 close(sockets[0]); 65 close(sockets[0]); 66 if (write(sockets[1], DATA, sizeof(DATA)) < 0) 68 close(sockets[1]);
|
| /freebsd-12-stable/crypto/openssh/regress/misc/fuzz-harness/ |
| D | agent_fuzz_helper.c | 127 if (sockets[i].type != AUTH_UNUSED) in cleanup_sockettab() 128 close_socket(sockets + i); in cleanup_sockettab() 130 free(sockets); in cleanup_sockettab() 131 sockets = NULL; in cleanup_sockettab() 146 assert(sockets[0].type == AUTH_CONNECTION); in reset_sockettab() 147 assert(sockets[0].fd == fd); in reset_sockettab() 167 (void)sshbuf_put(sockets[0].input, s, slen); in test_one() 169 olen = sshbuf_len(sockets[0].input); in test_one() 171 nlen = sshbuf_len(sockets[0].input); in test_one()
|
| /freebsd-12-stable/lib/libifconfig/ |
| D | libifconfig_internal.c | 89 if (h->sockets[addressfamily] != -1) { in ifconfig_socket() 90 *s = h->sockets[addressfamily]; in ifconfig_socket() 95 h->sockets[addressfamily] = socket(addressfamily, SOCK_DGRAM, 0); in ifconfig_socket() 96 if (h->sockets[addressfamily] == -1) { in ifconfig_socket() 102 *s = h->sockets[addressfamily]; in ifconfig_socket()
|
| D | libifconfig_internal.h | 54 int sockets[AF_MAX + 1]; member
|
| D | libifconfig.c | 87 h->sockets[i] = -1; in ifconfig_open() 98 if (h->sockets[i] != -1) { in ifconfig_close() 99 (void)close(h->sockets[i]); in ifconfig_close()
|
| /freebsd-12-stable/crypto/openssh/ |
| D | ssh-agent.c | 137 SocketEntry *sockets = NULL; variable 1641 e = &sockets[socknum]; in process_message() 1748 if (sockets[i].type == AUTH_UNUSED) { in new_socket() 1749 sockets[i].fd = fd; in new_socket() 1750 if ((sockets[i].input = sshbuf_new()) == NULL || in new_socket() 1751 (sockets[i].output = sshbuf_new()) == NULL || in new_socket() 1752 (sockets[i].request = sshbuf_new()) == NULL) in new_socket() 1754 sockets[i].type = type; in new_socket() 1759 sockets = xrecallocarray(sockets, old_alloc, new_alloc, in new_socket() 1760 sizeof(sockets[0])); in new_socket() [all …]
|
| /freebsd-12-stable/sys/amd64/vmm/ |
| D | x86.c | 98 uint16_t cores, maxcpus, sockets, threads; in x86_emulate_cpuid() local 148 vm_get_topology(vm, &sockets, &cores, &threads, in x86_emulate_cpuid() 248 vm_get_topology(vm, &sockets, &cores, &threads, in x86_emulate_cpuid() 289 vm_get_topology(vm, &sockets, &cores, &threads, in x86_emulate_cpuid() 389 vm_get_topology(vm, &sockets, &cores, &threads, in x86_emulate_cpuid() 401 vm_get_topology(vm, &sockets, &cores, &threads, in x86_emulate_cpuid() 485 vm_get_topology(vm, &sockets, &cores, &threads, in x86_emulate_cpuid()
|
| /freebsd-12-stable/crypto/heimdal/kpasswd/ |
| D | kpasswdd.c | 654 int *sockets; in doit() local 676 sockets = malloc (n * sizeof(*sockets)); in doit() 677 if (sockets == NULL) in doit() 686 sockets[i] = socket (sa->sa_family, SOCK_DGRAM, 0); in doit() 687 if (sockets[i] < 0) in doit() 689 if (bind (sockets[i], sa, sa_size) < 0) { in doit() 700 maxfd = max (maxfd, sockets[i]); in doit() 703 FD_SET(sockets[i], &real_fdset); in doit() 720 if (FD_ISSET(sockets[i], &fdset)) { in doit() 724 retx = recvfrom(sockets[i], buf, sizeof(buf), 0, in doit() [all …]
|
| /freebsd-12-stable/stand/libsa/ |
| D | netif.c | 50 struct iodesc sockets[SOPEN_MAX]; variable 271 return (&sockets[sock]); in socktodesc() 282 for (fd = 0, s = sockets; fd < SOPEN_MAX; fd++, s++) in netif_open() 312 netif_detach(sockets[sock].io_netif); in netif_close() 313 sockets[sock].io_netif = (struct netif *)0; in netif_close()
|
| /freebsd-12-stable/sys/netgraph/bluetooth/socket/ |
| D | ng_btsocket.c | 237 SYSCTL_NODE(_net_bluetooth_hci, OID_AUTO, sockets, CTLFLAG_RW, 239 SYSCTL_NODE(_net_bluetooth_l2cap, OID_AUTO, sockets, CTLFLAG_RW, 241 SYSCTL_NODE(_net_bluetooth_rfcomm, OID_AUTO, sockets, CTLFLAG_RW, 243 SYSCTL_NODE(_net_bluetooth_sco, OID_AUTO, sockets, CTLFLAG_RW,
|
| /freebsd-12-stable/sbin/natd/ |
| D | README | 8 This is a simple daemon based on FreeBSD divert sockets 20 1) Get FreeBSD 2.2 - I think the divert sockets are 38 Archie Cobbs <archie@whistle.com> Divert sockets
|
| /freebsd-12-stable/tools/regression/sockets/unix_cmsg/ |
| D | README | 1 $FreeBSD: stable/12/tools/regression/sockets/unix_cmsg/README 246670 2013-02-11 12:56:23Z pluknet $ 7 (control information) for PF_LOCAL sockets (local domain or Unix domain 8 sockets). There are tests for stream and datagram sockets. 55 For SOCK_STREAM sockets: 115 For SOCK_DGRAM sockets:
|
| /freebsd-12-stable/crypto/openssl/doc/man3/ |
| D | SSL_state_string.pod | 29 When using nonblocking sockets, the function call performing the handshake 33 For both blocking or nonblocking sockets, the details state information
|
| /freebsd-12-stable/contrib/unbound/contrib/ |
| D | unbound.socket.in | 6 WantedBy=sockets.target
|
| /freebsd-12-stable/contrib/wpa/wpa_supplicant/doc/docbook/ |
| D | wpa_gui.sgml | 21 <arg>-p <replaceable>path to ctrl sockets</replaceable></arg> 47 <listitem><para>Change the path where control sockets should
|
| /freebsd-12-stable/contrib/libpcap/rpcapd/ |
| D | rpcapd.socket | 9 WantedBy=sockets.target
|
| /freebsd-12-stable/tools/regression/tmpfs/ |
| D | t_sockets | 44 ${Src_Dir}/h_tools sockets a
|
| D | t_readdir | 54 ${Src_Dir}/h_tools sockets sock || die
|
| /freebsd-12-stable/usr.sbin/bhyve/ |
| D | bhyverun.h | 39 extern uint16_t cores, sockets, threads;
|
| /freebsd-12-stable/contrib/netbsd-tests/fs/tmpfs/ |
| D | t_sockets.sh | 37 atf_check -s eq:0 -o empty -e empty $(atf_get_srcdir)/h_tools sockets a
|
| /freebsd-12-stable/tests/sys/aio/ |
| D | aio_test.c | 453 int sockets[2]; in aio_unix_socketpair_test() local 457 ATF_REQUIRE_MSG(socketpair(PF_UNIX, SOCK_STREAM, 0, sockets) != -1, in aio_unix_socketpair_test() 460 aio_context_init(&ac, sockets[0], sockets[1], UNIX_SOCKETPAIR_LEN); in aio_unix_socketpair_test() 473 close(sockets[0]); in aio_unix_socketpair_test() 474 close(sockets[1]); in aio_unix_socketpair_test()
|
| /freebsd-12-stable/contrib/bsnmp/ |
| D | NEWS | 135 Local stream sockets that check the clients privileges. 166 Implement listening on unix domain sockets. The client must bind 168 sockets are considered to be more secure, because it is much
|
| /freebsd-12-stable/lib/libvmmapi/ |
| D | vmmapi.h | 226 int vm_set_topology(struct vmctx *ctx, uint16_t sockets, uint16_t cores, 228 int vm_get_topology(struct vmctx *ctx, uint16_t *sockets, uint16_t *cores,
|
| /freebsd-12-stable/contrib/apr/network_io/unix/ |
| D | sockopt.c | 35 #error Please teach APR how to make sockets blocking on your platform. in soblock() 61 #error Please teach APR how to make sockets non-blocking on your platform. in sononblock()
|