Home
last modified time | relevance | path

Searched full:sockets (Results 1 – 25 of 745) sorted by relevance

12345678910>>...30

/freebsd/share/man/man4/
H A Dng_btsocket.432 .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 Dng_socket.459 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 Dip6.453 .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 Dinet6.474 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/usr.bin/sockstat/
H A Dsockstat.133 .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 of the specified
[all …]
/freebsd/share/doc/psd/20.ipctut/
H A Dsocketpair.c36 * 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 Dpipe.c35 * 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 Dtutor.me59 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/tests/sys/kern/
H A Dktls_test.c1182 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), "faile in test_ktls_transmit_control()
1392 int sockets[2]; test_ktls_transmit_empty_fragment() local
1501 int kq, sockets[2]; test_ktls_receive_app_data() local
1621 int sockets[2]; test_ktls_receive_corrupted_record() local
1710 int sockets[2]; test_ktls_receive_truncated_record() local
1751 int sockets[2]; test_ktls_receive_bad_major() local
1793 int sockets[2]; test_ktls_receive_bad_minor() local
1835 int sockets[2]; test_ktls_receive_bad_type() local
1878 int sockets[2]; test_ktls_receive_bad_size() local
2163 int sockets[2]; test_ktls_invalid_transmit_cipher_suite() local
2659 int sockets[2]; test_ktls_invalid_receive_cipher_suite() local
2698 int sockets[2]; test_ktls_unsupported_receive_cipher_suite() local
[all...]
/freebsd/share/doc/psd/21.ipc/
H A D2.t47 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/sys/netgraph/bluetooth/socket/
H A Dng_btsocket.c69 /* 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/share/doc/psd/05.sysman/
H A D2.3.t48 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 D2.0.t55 .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/contrib/tcp_wrappers/
H A Dfromhost.c5 * 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/crypto/openssh/regress/misc/fuzz-harness/
H A Dagent_fuzz_helper.c127 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/contrib/blocklist/etc/rc.d/
H A Dblacklistd20 _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/libexec/rc/rc.d/
H A Dsyslogd22 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/lib/libsys/
H A Dsocket.263 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 Dsocketpair.233 .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 Dlisten.252 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
H A Dgetsockopt.234 .Nd get and set options on sockets
194 .It Dv SO_SPLICE Ta "splice two sockets together"
215 allows completely duplicate bindings by multiple sockets
220 listening sockets based on a hash function of local port number, and foreign IP
222 A maximum of 256 sockets can be bound to the same load-balancing group.
504 it is useful for servers that inherit sockets on startup.
515 datagram sockets or for other asynchronous errors.
547 At present, this prevents TCP sockets from using TCP offload engines.
559 splices two sockets together using the following
579 Splicing is a one-way operation; a given pair of sockets may be
[all …]
/freebsd/tests/sys/common/
H A Dnet_receiver.py56 sockets = []
65 sockets.append(s)
66 inputs = sockets
86 sockets = []
94 sockets.append(s)
95 inputs = sockets
/freebsd/lib/libifconfig/
H A Dlibifconfig_internal.c87 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/usr.bin/fstat/
H A Dfstat.1140 .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/tools/regression/tmpfs/
H A Dt_sockets36 # 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

12345678910>>...30