| /freebsd-13.1/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-13.1/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-13.1/lib/libifconfig/ |
| H A 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()
|
| H A D | libifconfig_internal.h | 54 int sockets[AF_MAX + 1]; member
|
| /freebsd-13.1/crypto/openssh/ |
| H A D | ssh-agent.c | 121 SocketEntry *sockets = NULL; variable 996 e = &sockets[socknum]; in process_message() 1101 sockets[i].fd = fd; in new_socket() 1106 sockets[i].type = type; in new_socket() 1111 sockets = xrecallocarray(sockets, old_alloc, new_alloc, in new_socket() 1112 sizeof(sockets[0])); in new_socket() 1116 sockets[old_alloc].fd = fd; in new_socket() 1271 switch (sockets[i].type) { in prepare_poll() 1290 switch (sockets[i].type) { in prepare_poll() 1297 pfd[j].fd = sockets[i].fd; in prepare_poll() [all …]
|
| /freebsd-13.1/tests/sys/kern/ |
| H A D | ktls_test.c | 849 int kq, sockets[2]; in test_ktls_transmit_app_data() local 987 int sockets[2]; in test_ktls_transmit_control() local 1003 fd_set_blocking(sockets[0]); in test_ktls_transmit_control() 1004 fd_set_blocking(sockets[1]); in test_ktls_transmit_control() 1045 int sockets[2]; in test_ktls_transmit_empty_fragment() local 1057 fd_set_blocking(sockets[0]); in test_ktls_transmit_empty_fragment() 1058 fd_set_blocking(sockets[1]); in test_ktls_transmit_empty_fragment() 1148 int kq, sockets[2]; in test_ktls_receive_app_data() local 1482 int sockets[2]; in test_ktls_invalid_transmit_cipher_suite() local 1594 int sockets[2]; in test_ktls_invalid_receive_cipher_suite() local [all …]
|
| H A D | sonewconn_overflow.py | 47 self.sockets = [] 62 self.sockets.append(s) 66 for s in self.sockets:
|
| /freebsd-13.1/tests/sys/common/ |
| H A D | net_receiver.py | 57 sockets = [] 66 sockets.append(s) 67 inputs = sockets 87 sockets = [] 95 sockets.append(s) 96 inputs = sockets
|
| /freebsd-13.1/stand/libsa/ |
| H A D | netif.c | 60 static socket_list_t sockets = TAILQ_HEAD_INITIALIZER(sockets); variable 286 TAILQ_FOREACH(s, &sockets, io_link) { in socktodesc_impl() 331 last = TAILQ_LAST(&sockets, socket_list); in netif_open() 334 TAILQ_INSERT_TAIL(&sockets, s, io_link); in netif_open() 374 TAILQ_FOREACH_REVERSE_SAFE(last, &sockets, socket_list, io_link, s) { in netif_close() 377 TAILQ_REMOVE(&sockets, last, io_link); in netif_close()
|
| /freebsd-13.1/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-13.1/sys/amd64/vmm/ |
| H A D | x86.c | 99 uint16_t cores, maxcpus, sockets, threads; in x86_emulate_cpuid() local 154 vm_get_topology(vm, &sockets, &cores, &threads, in x86_emulate_cpuid() 254 vm_get_topology(vm, &sockets, &cores, &threads, in x86_emulate_cpuid() 295 vm_get_topology(vm, &sockets, &cores, &threads, in x86_emulate_cpuid() 395 vm_get_topology(vm, &sockets, &cores, &threads, in x86_emulate_cpuid() 407 vm_get_topology(vm, &sockets, &cores, &threads, in x86_emulate_cpuid() 493 vm_get_topology(vm, &sockets, &cores, &threads, in x86_emulate_cpuid()
|
| /freebsd-13.1/sys/netgraph/bluetooth/socket/ |
| H A D | ng_btsocket.c | 237 SYSCTL_NODE(_net_bluetooth_hci, OID_AUTO, sockets, 240 SYSCTL_NODE(_net_bluetooth_l2cap, OID_AUTO, sockets, 243 SYSCTL_NODE(_net_bluetooth_rfcomm, OID_AUTO, sockets, 246 SYSCTL_NODE(_net_bluetooth_sco, OID_AUTO, sockets,
|
| /freebsd-13.1/sbin/natd/ |
| H A 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 <[email protected]> Divert sockets
|
| /freebsd-13.1/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-13.1/tools/regression/sockets/unix_cmsg/ |
| H A D | README | 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-13.1/contrib/unbound/contrib/ |
| H A D | unbound.socket.in | 6 WantedBy=sockets.target
|
| /freebsd-13.1/contrib/libpcap/rpcapd/ |
| H A D | rpcapd.socket | 9 WantedBy=sockets.target
|
| /freebsd-13.1/tools/regression/tmpfs/ |
| H A D | t_sockets | 44 ${Src_Dir}/h_tools sockets a
|
| H A D | t_readdir | 54 ${Src_Dir}/h_tools sockets sock || die
|
| /freebsd-13.1/usr.sbin/bhyve/ |
| H A D | bhyverun.h | 39 extern uint16_t cores, sockets, threads;
|
| H A D | bhyverun.c | 188 uint16_t cores, maxcpus, sockets, threads; variable 360 sockets = parse_int_value("sockets", value, 1, UINT16_MAX); in calc_topolopgy() 362 sockets = guest_ncpus; in calc_topolopgy() 368 ncpus = (uint64_t)sockets * cores * threads; in calc_topolopgy() 376 "does not match %d vCPUs", sockets, cores, threads, in calc_topolopgy() 1130 error = vm_set_topology(ctx, sockets, cores, threads, maxcpus); in do_open()
|
| /freebsd-13.1/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-13.1/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-13.1/contrib/lib9p/transport/ |
| H A D | socket.c | 76 int sockets[2]; in l9p_start_server() local 101 sockets[nsockets] = s; in l9p_start_server()
|