/freebsd-src/share/man/man4/ |
H A D | ng_btsocket.4 | 32 .Nd Bluetooth sockets layer 48 .Ss Dv SOCK_RAW HCI sockets 52 Raw HCI sockets allow sending of raw HCI command datagrams 59 Raw HCI sockets can also be used to control HCI nodes. 63 /* Bluetooth version of struct sockaddr for raw HCI sockets */ 71 Raw HCI sockets support a number of 117 .Va net.bluetooth.hci.sockets.raw.ioctl_timeout 120 controls the control request timeout (in seconds) for raw HCI sockets. 122 Raw HCI sockets support filters. 152 /* Bluetooth version of struct sockaddr for L2CAP sockets */ [all …]
|
H A D | ng_socket.4 | 59 root privileges to be able to create netgraph sockets however once created, 95 sockets do not automatically 107 In the case of data sockets, the 113 As a special case, to allow netgraph data sockets to be used as stdin or stdout 123 There is a user library that simplifies using netgraph sockets; see 136 Attempts to access the sockets associated will return 158 sockets have been closed, or a 162 to the still-open sockets will return
|
H A D | ip6.4 | 53 .Dq raw sockets , 59 header is not included in buffer, even when raw sockets are being used. 393 The offset of the checksum for ICMPv6 sockets cannot be relocated or 397 For wildcard sockets, this can restrict connections to IPv6 only. 400 .\"IPv6 sockets are always IPv6-only, so the socket option is read-only 454 to specify options on particular packets works only on UDP and raw sockets. 455 To manipulate header options for packets on TCP sockets, only the socket 491 sockets of type 505 .Ss Raw Sockets 506 Raw IPv6 sockets are connectionless and are normally used with the [all …]
|
H A D | inet6.4 | 74 Sockets bound to the 88 Sockets may be created with the local address 342 sockets. 358 .Ss Interaction between IPv4/v6 sockets 363 sockets. 365 Listen to two sockets if you want to accept both IPv4 and IPv6 traffic. 422 wildcard bind sockets. 423 It is recommended to listen to two sockets, one for 438 sockets.
|
/freebsd-src/usr.bin/sockstat/ |
H A D | sockstat.1 | 33 .Nd list open sockets 45 domain sockets. 52 (IPv4) sockets. 56 (IPv6) sockets. 61 Show connected sockets. 75 Show only sockets belonging to the specified jail ID or name. 77 Only show Internet sockets if the local and foreign addresses are not 83 Show listening sockets. 87 Only show Internet sockets if the local or foreign port number 94 Only show sockets o [all...] |
/freebsd-src/share/doc/psd/20.ipctut/ |
H A D | socketpair.c | 36 * This program creates a pair of connected sockets then forks and 44 int sockets[2], child; 47 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sockets) < 0) { 55 close(sockets[0]); 56 if (read(sockets[1], buf, 1024, 0) < 0) 59 if (write(sockets[1], DATA2, sizeof(DATA2)) < 0) 61 close(sockets[1]); 63 close(sockets[1]); 64 if (write(sockets[0], DATA1, sizeof(DATA1)) < 0) 66 if (read(sockets[0], buf, 1024, 0) < 0) [all …]
|
H A D | pipe.c | 35 * device. I can write to the output socket (sockets[1], the second socket 37 * (sockets[0]), but not vice versa. 42 int sockets[2], child; 45 if (pipe(sockets) < 0) { 56 close(sockets[1]); 57 if (read(sockets[0], buf, 1024) < 0) 60 close(sockets[0]); 63 close(sockets[0]); 64 if (write(sockets[1], DATA, sizeof(DATA)) < 0) 66 close(sockets[1]);
|
H A D | tutor.me | 59 demonstrate in a simple way the use of pipes, socketpairs, sockets 166 The descriptors can represent open files or sockets (sockets are communication 199 mechanism with two ends, or sockets. Data that is written into one socket 228 This routine creates a pipe and places descriptors for the sockets 232 sockets it created. 278 pair of connected sockets for one-way stream communication. One may 279 obtain a pair of connected sockets for two-way stream communication 296 to sockets and implies certain other conventions. 299 The UNIX domain uses UNIX path names for naming sockets. 301 between sockets on the same machine. [all …]
|
/freebsd-src/tests/sys/kern/ |
H A D | ktls_test.c | 1182 int kq, sockets[2]; in test_ktls_transmit_app_data() local 1195 ATF_REQUIRE_MSG(open_sockets(tc, sockets), "failed to create sockets"); in test_ktls_transmit_app_data() 1197 ATF_REQUIRE(setsockopt(sockets[1], IPPROTO_TCP, TCP_TXTLS_ENABLE, en, in test_ktls_transmit_app_data() 1199 check_tls_mode(tc, sockets[1], TCP_TXTLS_MODE); in test_ktls_transmit_app_data() 1201 EV_SET(&ev, sockets[0], EVFILT_READ, EV_ADD, 0, 0, NULL); in test_ktls_transmit_app_data() 1203 EV_SET(&ev, sockets[1], EVFILT_WRITE, EV_ADD, 0, 0, NULL); in test_ktls_transmit_app_data() 1294 close_sockets(sockets); in test_ktls_transmit_app_data() 1332 int sockets[2]; in test_ktls_transmit_control() local 1343 ATF_REQUIRE_MSG(open_sockets(tc, sockets), "failed to create sockets"); in test_ktls_transmit_control() 1345 ATF_REQUIRE(setsockopt(sockets[1], IPPROTO_TCP, TCP_TXTLS_ENABLE, en, in test_ktls_transmit_control() [all …]
|
/freebsd-src/share/doc/psd/21.ipc/ |
H A D | 2.t | 47 and one or more associated processes. Sockets exist within 51 processes communicating through sockets. 52 One such property is the scheme used to name sockets. For 53 example, in the UNIX communication domain sockets are 55 socket may be named \*(lq/dev/foo\*(rq. Sockets normally 57 sockets in the same domain (it may be possible to cross domain 84 Sockets are 87 Processes are presumed to communicate only between sockets of 89 nothing that prevents communication between sockets of different 93 Four types of sockets currently are available to a user. [all …]
|
/freebsd-src/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket.c | 69 /* Bluetooth raw HCI sockets */ 88 /* Bluetooth raw L2CAP sockets */ 106 /* Bluetooth SEQPACKET L2CAP sockets */ 127 /* Bluetooth STREAM RFCOMM sockets */ 148 /* Bluetooth SEQPACKET SCO sockets */ 190 SYSCTL_NODE(_net_bluetooth_hci, OID_AUTO, sockets, 192 "Bluetooth HCI sockets family"); 193 SYSCTL_NODE(_net_bluetooth_l2cap, OID_AUTO, sockets, 195 "Bluetooth L2CAP sockets family"); 196 SYSCTL_NODE(_net_bluetooth_rfcomm, OID_AUTO, sockets, [all …]
|
/freebsd-src/share/doc/psd/05.sysman/ |
H A D | 2.3.t | 48 known as \fIsockets\fP. Each socket has the potential to exchange 49 information with other sockets of an appropriate type within the domain. 98 no standard protocols to provide SOCK_RDM or SOCK_SEQPACKET sockets exist. 102 Sockets may be \fIconnected\fP or \fIunconnected\fP. An unconnected 119 Datagram sockets need not establish connections before use. 129 Datagram sockets may have default bindings established when first 142 Domains may support sockets with several names. 172 Although datagram sockets do not establish connections, 173 the \fIconnect\fP call may be used with such sockets 180 It is also possible to create connected pairs of sockets without [all …]
|
H A D | 2.0.t | 55 .IP "Sockets 58 point for IPC in a communications domain. Sockets may be created in pairs, 59 or given names and used to rendezvous with other sockets 61 sockets or exchanging messages with them. These operations model 63 wide variety of communications domains. Sockets can have different
|
/freebsd-src/contrib/tcp_wrappers/ |
H A D | fromhost.c | 5 * On systems with sockets and TLI, fromhost() determines the type of API 6 * (sockets, TLI), then invokes the appropriate API-specific routines. 36 * accessible via more than one programming interface: Berkeley sockets in fromhost() 39 * Thus, we must first find out what programming interface to use: sockets in fromhost() 40 * or TLI. On some systems, sockets are not part of the streams system, in fromhost() 41 * so if request->fd is not a stream we simply assume sockets. in fromhost()
|
/freebsd-src/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-src/contrib/blocklist/etc/rc.d/ |
H A D | blacklistd | 20 _sockfile="/var/run/${name}.sockets" 25 # Create default list of blacklistd sockets to watch 31 # blacklistd socket to list of sockets to watch. 44 # If other sockets have been provided, change run_rc_command()'s 46 # blacklistd sockets.
|
/freebsd-src/libexec/rc/rc.d/ |
H A D | syslogd | 22 sockfile="/var/run/syslogd.sockets" 38 # Create default list of syslog sockets to watch 43 # syslog socket to list of sockets to watch. 52 # If other sockets have been provided, change run_rc_command()'s 54 # syslogd sockets.
|
/freebsd-src/lib/libsys/ |
H A D | socket.2 | 63 PF_NETGRAPH Netgraph sockets, 67 AF_HYPERV HyperV sockets 110 sockets provide access to internal network protocols and interfaces. 148 Sockets of type 197 The protocols optionally keep sockets 211 sockets employ the same system calls 214 sockets. 224 sockets allow sending of datagrams to correspondents 243 The operation of sockets is controlled by socket level
|
H A D | socketpair.2 | 33 .Nd create a pair of connected sockets 44 system call creates an unnamed pair of connected sockets in 51 The descriptors used in referencing the new sockets 56 The two sockets are indistinguishable.
|
H A D | listen.2 | 52 system call applies only to sockets of type 78 Current queue lengths of listening sockets can be queried using 88 connection queue, which held TCP sockets in the process 129 be used to hold sockets that have connected, but have not yet 132 met, these sockets will be moved over into the completed connection
|
/freebsd-src/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-src/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()
|
/freebsd-src/tools/regression/tmpfs/ |
H A D | t_sockets | 36 # Verifies that sockets can be created using socket/bind. 42 test_name "Sockets can be created" 43 ${Src_Dir}/h_tools sockets a 47 echo "${Src_Dir}/h_tools sockets dir/a" | kqueue_monitor 1 dir || die
|
/freebsd-src/usr.bin/fstat/ |
H A D | fstat.1 | 140 .Sx SOCKETS . 201 .Sh SOCKETS 202 The formatting of open sockets depends on the protocol domain. 208 For UNIX-domain sockets, its the address of the socket pcb and the address 215 Note that since pipes are implemented using sockets, a pipe appears as a 230 For internet sockets the local and remote addresses are shown, separated with 233 For UNIX/local sockets either the local or remote address is shown, depending 293 Show opened TCP sockets.
|
/freebsd-src/share/doc/smm/18.net/ |
H A D | b.t | 29 .\".ds RH "Raw sockets 33 \s+2Raw sockets\s0 36 to a lower-level protocol. Raw sockets are intended for knowledgeable 93 Input packets are ``assigned'' to raw sockets based on a simple 112 Packets taken from this queue are copied into any raw sockets that
|