Home
last modified time | relevance | path

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

12345678910>>...39

/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
/freebsd/usr.bin/sockstat/
H A Dsockstat.133 .Nd list open sockets
47 domain sockets.
61 (IPv4) sockets.
65 (IPv6) sockets.
76 Show connected sockets.
78 Show sockets for specified
94 Show only sockets belonging to the specified jail ID or name.
96 Only show Internet sockets if the local and foreign addresses are not
102 Show listening sockets.
106 Only show Internet sockets if the local or foreign port number
[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/crypto/openssh/regress/misc/fuzz-harness/
H A Dagent_fuzz_helper.c126 if (sockets[i].type != AUTH_UNUSED) in cleanup_sockettab()
127 close_socket(sockets + i); in cleanup_sockettab()
129 free(sockets); in cleanup_sockettab()
130 sockets = NULL; in cleanup_sockettab()
145 assert(sockets[0].type == AUTH_CONNECTION); in reset_sockettab()
146 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/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/krb5/src/lib/krb5/krb/
H A Ddeps13 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
24 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
35 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
46 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
57 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
69 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
81 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
93 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
105 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
116 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
[all …]
/freebsd/crypto/krb5/src/lib/crypto/krb/
H A Ddeps12 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
23 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
33 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
44 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
55 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
66 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
77 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
88 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
99 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
110 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
[all …]
/freebsd/contrib/libder/tests/
H A Dfuzz_stream.c55 int sockets[2]; in fuzz_fd() local
60 &sockets[0]); in fuzz_fd()
66 sdata.socket = sockets[1]; in fuzz_fd()
70 close(sockets[0]); in fuzz_fd()
71 close(sockets[1]); in fuzz_fd()
76 close(sockets[0]); in fuzz_fd()
80 close(sockets[1]); in fuzz_fd()
90 obj = libder_read_fd(ctx, sockets[0], &readsz); in fuzz_fd()
105 close(sockets[0]); in fuzz_fd()
/freebsd/crypto/krb5/src/lib/krb5/os/
H A Ddeps14 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
24 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
35 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
47 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
60 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
71 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
82 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
93 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
105 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
116 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
[all …]
/freebsd/crypto/krb5/src/lib/crypto/crypto_tests/
H A Ddeps13 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
24 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
34 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
44 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
55 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
66 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
76 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
87 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
98 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
109 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
[all …]
/freebsd/contrib/blocklist/etc/rc.d/
H A Dblocklistd20 _sockfile="/var/run/${name}.sockets"
25 # Create default list of blocklistd sockets to watch
31 # blocklistd socket to list of sockets to watch.
44 # If other sockets have been provided, change run_rc_command()'s
46 # blocklistd sockets.
/freebsd/crypto/krb5/src/lib/krb5/ccache/
H A Ddeps14 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
24 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
35 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
47 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
58 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
69 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
80 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
92 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
103 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
114 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
[all …]
/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/crypto/krb5/src/lib/crypto/builtin/des/
H A Ddeps13 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
24 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
35 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
46 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
57 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
68 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
79 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
90 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
102 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
113 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
[all …]
/freebsd/crypto/krb5/src/lib/krad/
H A Ddeps13 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
25 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
37 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
48 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
59 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
71 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
82 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
95 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
107 $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
118 $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/port-sockets.h \
[all …]
/freebsd/lib/libsys/
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.
224 sockets may also be bound to a group, see the
508 it is useful for servers that inherit sockets on startup.
519 datagram sockets or for other asynchronous errors.
551 At present, this prevents TCP sockets from using TCP offload engines.
563 splices two sockets together using the following
[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

12345678910>>...39