| /freebsd-14.2/share/doc/psd/20.ipctut/ |
| H A 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]);
|
| H A 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-14.2/crypto/openssh/regress/misc/fuzz-harness/ |
| H A 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-14.2/tests/sys/kern/ |
| H A D | ktls_test.c | 1332 int sockets[2]; in test_ktls_transmit_control() local 1392 int sockets[2]; in test_ktls_transmit_empty_fragment() local 1621 int sockets[2]; in test_ktls_receive_corrupted_record() local 1710 int sockets[2]; in test_ktls_receive_truncated_record() local 1751 int sockets[2]; in test_ktls_receive_bad_major() local 1793 int sockets[2]; in test_ktls_receive_bad_minor() local 1835 int sockets[2]; in test_ktls_receive_bad_type() local 1878 int sockets[2]; in test_ktls_receive_bad_size() local 2163 int sockets[2]; in test_ktls_invalid_transmit_cipher_suite() local 2659 int sockets[2]; in test_ktls_invalid_receive_cipher_suite() local [all …]
|
| H A D | sonewconn_overflow.py | 46 self.sockets = [] 61 self.sockets.append(s) 65 for s in self.sockets:
|
| /freebsd-14.2/lib/libifconfig/ |
| H A D | libifconfig_internal.c | 87 if (h->sockets[addressfamily] != -1) { in ifconfig_socket() 88 *s = h->sockets[addressfamily]; in ifconfig_socket() 93 h->sockets[addressfamily] = socket(addressfamily, SOCK_DGRAM, 0); in ifconfig_socket() 94 if (h->sockets[addressfamily] == -1) { in ifconfig_socket() 100 *s = h->sockets[addressfamily]; in ifconfig_socket()
|
| H A D | libifconfig_internal.h | 52 int sockets[AF_MAX + 1]; member
|
| H A D | libifconfig.c | 85 h->sockets[i] = -1; in ifconfig_open() 96 if (h->sockets[i] != -1) { in ifconfig_close() 97 (void)close(h->sockets[i]); in ifconfig_close()
|
| /freebsd-14.2/tests/sys/common/ |
| H A D | net_receiver.py | 56 sockets = [] 65 sockets.append(s) 66 inputs = sockets 86 sockets = [] 94 sockets.append(s) 95 inputs = sockets
|
| /freebsd-14.2/stand/libsa/ |
| H A D | netif.c | 56 static socket_list_t sockets = TAILQ_HEAD_INITIALIZER(sockets); variable 281 TAILQ_FOREACH(s, &sockets, io_link) { in socktodesc_impl() 326 last = TAILQ_LAST(&sockets, socket_list); in netif_open() 329 TAILQ_INSERT_TAIL(&sockets, s, io_link); in netif_open() 369 TAILQ_FOREACH_REVERSE_SAFE(last, &sockets, socket_list, io_link, s) { in netif_close() 372 TAILQ_REMOVE(&sockets, last, io_link); in netif_close()
|
| /freebsd-14.2/crypto/openssh/ |
| H A D | ssh-agent.c | 137 SocketEntry *sockets = NULL; variable 1826 e = &sockets[socknum]; in process_message() 1934 sockets[i].fd = fd; in new_socket() 1939 sockets[i].type = type; in new_socket() 1944 sockets = xrecallocarray(sockets, old_alloc, new_alloc, in new_socket() 1945 sizeof(sockets[0])); in new_socket() 1949 sockets[old_alloc].fd = fd; in new_socket() 2103 switch (sockets[i].type) { in prepare_poll() 2122 switch (sockets[i].type) { in prepare_poll() 2129 pfd[j].fd = sockets[i].fd; in prepare_poll() [all …]
|
| /freebsd-14.2/crypto/heimdal/kpasswd/ |
| H A D | kpasswdd.c | 654 int *sockets; in doit() local 676 sockets = malloc (n * sizeof(*sockets)); in doit() 677 if (sockets == NULL) 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() 733 process (realms, keytab, sockets[i], in doit() 741 close(sockets[i]); in doit() [all …]
|
| /freebsd-14.2/sys/netgraph/bluetooth/socket/ |
| H A D | ng_btsocket.c | 190 SYSCTL_NODE(_net_bluetooth_hci, OID_AUTO, sockets, 193 SYSCTL_NODE(_net_bluetooth_l2cap, OID_AUTO, sockets, 196 SYSCTL_NODE(_net_bluetooth_rfcomm, OID_AUTO, sockets, 199 SYSCTL_NODE(_net_bluetooth_sco, OID_AUTO, sockets,
|
| /freebsd-14.2/sys/amd64/vmm/ |
| H A D | x86.c | 87 uint16_t cores, maxcpus, sockets, threads; in x86_emulate_cpuid() local 142 vm_get_topology(vm, &sockets, &cores, &threads, in x86_emulate_cpuid() 242 vm_get_topology(vm, &sockets, &cores, &threads, in x86_emulate_cpuid() 283 vm_get_topology(vm, &sockets, &cores, &threads, in x86_emulate_cpuid() 383 vm_get_topology(vm, &sockets, &cores, &threads, in x86_emulate_cpuid() 395 vm_get_topology(vm, &sockets, &cores, &threads, in x86_emulate_cpuid() 485 vm_get_topology(vm, &sockets, &cores, &threads, in x86_emulate_cpuid()
|
| /freebsd-14.2/sbin/natd/ |
| H A D | README | 7 This is a simple daemon based on FreeBSD divert sockets 19 1) Get FreeBSD 2.2 - I think the divert sockets are 37 Archie Cobbs <[email protected]> Divert sockets
|
| /freebsd-14.2/tools/regression/sockets/unix_cmsg/ |
| H A D | README | 6 (control information) for PF_LOCAL sockets (local domain or Unix domain 7 sockets). There are tests for stream and datagram sockets. 54 For SOCK_STREAM sockets: 114 For SOCK_DGRAM sockets:
|
| /freebsd-14.2/crypto/openssl/doc/man3/ |
| H A 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-14.2/contrib/unbound/contrib/ |
| H A D | unbound.socket.in | 6 WantedBy=sockets.target
|
| /freebsd-14.2/contrib/libpcap/rpcapd/ |
| H A D | rpcapd.socket | 9 WantedBy=sockets.target
|
| /freebsd-14.2/tools/regression/tmpfs/ |
| H A D | t_sockets | 43 ${Src_Dir}/h_tools sockets a
|
| H A D | t_readdir | 53 ${Src_Dir}/h_tools sockets sock || die
|
| /freebsd-14.2/contrib/wpa/wpa_supplicant/doc/docbook/ |
| H A 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-14.2/contrib/netbsd-tests/fs/tmpfs/ |
| H A D | t_sockets.sh | 37 atf_check -s eq:0 -o empty -e empty $(atf_get_srcdir)/h_tools sockets a
|
| /freebsd-14.2/contrib/bsnmp/ |
| H A 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-14.2/lib/libvmmapi/ |
| H A D | vmmapi.h | 247 int vm_set_topology(struct vmctx *ctx, uint16_t sockets, uint16_t cores, 249 int vm_get_topology(struct vmctx *ctx, uint16_t *sockets, uint16_t *cores,
|