Home
last modified time | relevance | path

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

12345678910>>...17

/linux/net/vmw_vsock/
H A DKconfig20 tristate "Virtual Sockets monitoring interface"
24 Support for PF_VSOCK sockets monitoring interface used by the ss tool.
27 Enable this module so userspace applications can query open sockets.
30 tristate "Virtual Sockets loopback transport"
35 This module implements a loopback transport for Virtual Sockets,
42 tristate "VMware VMCI transport for Virtual Sockets"
45 This module implements a VMCI transport for Virtual Sockets.
54 tristate "virtio transport for Virtual Sockets"
58 This module implements a virtio transport for Virtual Sockets.
61 Sockets over virtio.
[all …]
H A Daf_vsock.c10 * - There are two kinds of sockets: those created by user action (such as
13 * - There are two "global" tables, one for bound sockets (sockets that have
15 * sockets (sockets that have established a connection with another socket).
16 * These tables are "global" in that all sockets on the system are placed
18 * for a list of unbound sockets and SOCK_DGRAM sockets will always remain in
19 * that list. The bound table is used solely for lookup of sockets when packets
20 * are received and that's not necessary for SOCK_DGRAM sockets since we create
22 * sockets out of the bound hash buckets will reduce the chance of collisions
23 * when looking for SOCK_STREAM sockets and prevents us from having to check the
26 * - Sockets created by user action will either be "client" sockets that
[all …]
H A Ddiag.c66 /* TODO VMCI pending sockets? */ in vsock_diag_dump()
70 /* Bind table (locally created sockets) */ in vsock_diag_dump()
109 /* Skip sockets we've already seen above */ in vsock_diag_dump()
178 MODULE_DESCRIPTION("VMware Virtual Sockets monitoring via SOCK_DIAG");
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsock_iter_batch.c183 /* Skip any sockets that were closed or that weren't seen in check_n_were_seen_once()
265 /* Iterate through the first socks_len - 1 sockets. */ in remove_seen()
268 /* Make sure we saw socks_len - 1 sockets exactly once. */ in remove_seen()
279 /* Iterate through the rest of the sockets. */ in remove_seen()
298 /* Iterate through all listening sockets. */ in remove_seen_established()
301 /* Make sure we saw all listening sockets exactly once. */ in remove_seen_established()
316 /* Iterate through the rest of the sockets. */ in remove_seen_established()
349 /* Iterate through the rest of the sockets. */ in remove_unseen()
352 /* Make sure the remaining sockets were seen exactly once and that we in remove_unseen()
369 /* Iterate through all listening sockets. */ in remove_unseen_established()
[all …]
H A Dsock_destroy.c55 /* Run iterator program that destroys connected client sockets. */ in test_tcp_client()
96 /* Run iterator program that destroys server sockets. */ in test_tcp_server()
129 /* Run iterator program that destroys sockets. */ in test_udp_client()
135 /* UDP sockets have an overriding error code after they are disconnected, in test_udp_client()
162 /* Run iterator program that destroys server sockets. */ in test_udp_server()
/linux/tools/testing/vsock/
H A Dvsock_diag_test.c135 fprintf(stderr, "expected no sockets\n"); in check_no_sockets()
150 fprintf(stderr, "expected %d sockets, found %d\n", in check_num_sockets()
238 static void add_vsock_stat(struct list_head *sockets, in add_vsock_stat() argument
250 list_add_tail(&st->list, sockets); in add_vsock_stat()
256 static void read_vsock_stat(struct list_head *sockets) in read_vsock_stat() argument
311 add_vsock_stat(sockets, NLMSG_DATA(h)); in read_vsock_stat()
321 static void free_sock_stat(struct list_head *sockets) in free_sock_stat() argument
326 list_for_each_entry_safe(st, next, sockets, list) in free_sock_stat()
332 LIST_HEAD(sockets); in test_no_sockets()
334 read_vsock_stat(&sockets); in test_no_sockets()
[all …]
/linux/Documentation/networking/
H A Dkcm.rst10 datagram sockets.
34 KCM sockets
37 The KCM sockets provide the user interface to the multiplexor. All the KCM sockets
39 operations in different sockets may be done in parallel without the need for
50 TCP sockets & Psocks
53 TCP sockets may be bound to a KCM multiplexor. A Psock structure is allocated
123 Cloning KCM sockets
127 above, additional sockets for the multiplexor can be created by cloning
144 Attach transport sockets
147 Attaching of transport sockets to a multiplexor is performed by calling an
[all …]
H A Dmptcp.rst88 Sockets API
91 Creating MPTCP sockets
151 kernel is in charge of creating subflow sockets: they are TCP sockets where the
154 MPTCP listen sockets will create "plain" *accepted* TCP sockets if the
H A Daf_xdp.rst19 bpf_redirect_map() function. AF_XDP sockets enable the possibility for
117 multiple AF_XDP sockets. To share an UMEM created via one socket A,
136 is a setup with four sockets (all doing TX and RX). Then there will be
243 and monitor the behavior of AF_XDP sockets.
260 This flag enables you to bind multiple sockets to the same UMEM. It
268 sockets bound to the same netdev and queue id. The UMEM (tied to the
277 sockets this way.
280 program. Put all the sockets in the XSK_MAP and just indicate which
319 The second case is when you share a UMEM between sockets that are
322 netdev,queue_id pair. Let us say you want to create two sockets bound
[all …]
/linux/net/xdp/
H A DKconfig3 bool "XDP sockets"
7 XDP sockets allows a channel between XDP programs and
11 tristate "XDP sockets: monitoring interface"
15 Support for PF_XDP sockets monitoring interface used by the ss tool.
/linux/tools/perf/trace/beauty/include/linux/
H A Dsocket.h205 #define AF_UNIX 1 /* Unix domain sockets */
227 #define AF_RDS 21 /* RDS sockets */
229 #define AF_IRDA 23 /* IRDA sockets */
230 #define AF_PPPOX 24 /* PPPoX sockets */
231 #define AF_WANPIPE 25 /* Wanpipe API Sockets */
236 #define AF_TIPC 30 /* TIPC sockets */
237 #define AF_BLUETOOTH 31 /* Bluetooth sockets */
238 #define AF_IUCV 32 /* IUCV sockets */
239 #define AF_RXRPC 33 /* RxRPC sockets */
240 #define AF_ISDN 34 /* mISDN sockets */
[all …]
/linux/include/linux/
H A Dsocket.h205 #define AF_UNIX 1 /* Unix domain sockets */
227 #define AF_RDS 21 /* RDS sockets */
229 #define AF_IRDA 23 /* IRDA sockets */
230 #define AF_PPPOX 24 /* PPPoX sockets */
231 #define AF_WANPIPE 25 /* Wanpipe API Sockets */
236 #define AF_TIPC 30 /* TIPC sockets */
237 #define AF_BLUETOOTH 31 /* Bluetooth sockets */
238 #define AF_IUCV 32 /* IUCV sockets */
239 #define AF_RXRPC 33 /* RxRPC sockets */
240 #define AF_ISDN 34 /* mISDN sockets */
[all …]
/linux/tools/testing/selftests/net/rds/
H A Dtest.py78 # sockets are on the same interface and use the loop transport instead
82 Creates sockets inside of network namespace
162 :param socks: list of sockets to check
208 "addrs": list of (ip, port) tuples matching the sockets
210 "flags": OP_FLAG_TCP or OP_FLAG_RDMA, selects sockets
221 sockets = [
226 # Pin the sockets to the TCP transport so it doesn't fail over to a
228 for s in sockets:
231 sockets = [
236 # Pin the sockets t
140 sockets = [ global() variable
[all...]
/linux/include/net/
H A Dinet_hashtables.h36 * The 'e' prefix stands for Establish, but we really put all sockets
46 * 1) Sockets bound to different interfaces may share a local port.
48 * 2) If all sockets have sk->sk_reuse set, and none of them are in
51 * 3) If all sockets are bound to a specific inet_sk(sk)->rcv_saddr local
58 * below. As we add sockets to a bind bucket list, we perform a
60 * As long as all sockets added to a bind bucket pass this test,
109 /* List of sockets hashed to this bucket */
133 /* Sockets can be hashed in established or listening table.
144 /* This is for listening sockets, thus all sockets which possess wildcards. */
148 /* This is for sockets with full identity only. Sockets here will
[all …]
/linux/security/landlock/
H A Dnet.c125 * explicit AF_UNSPEC address on IPv6 sockets, in current_check_access_socket()
127 * on such sockets (so it should always be in current_check_access_socket()
154 * differently by IPv4 and IPv6 sockets. The socket's in current_check_access_socket()
162 * IPv4 sockets map AF_UNSPEC to AF_INET for in current_check_access_socket()
165 * sockets always reject it. in current_check_access_socket()
194 * bind(AF_UNSPEC+INADDR_ANY) on IPv4 sockets and when sending in current_check_access_socket()
195 * to AF_UNSPEC addresses on IPv4 sockets. in current_check_access_socket()
303 * On UDP sockets, if a local port has not already been bound, calling in hook_socket_bind()
/linux/net/rxrpc/
H A DKconfig3 # RxRPC session sockets
7 tristate "RxRPC session sockets"
14 Say Y or M here to include support for RxRPC session sockets (just
/linux/tools/testing/selftests/net/
H A Dpsock_fanout.c13 * Open a pair of packet sockets and a pair of INET sockets, send a known
14 * number of packets across the two INET sockets and count the number of
15 * packets enqueued onto the two packet sockets.
335 fprintf(stderr, "test: control multiple sockets with link down toggle\n"); in test_control_group()
337 fprintf(stderr, "test: control multiple sockets\n"); in test_control_group()
368 fprintf(stderr, "ERROR: closing sockets\n"); in test_control_group()
378 fprintf(stderr, "test: control multiple sockets, max_num_members\n"); in test_control_group_max_num_members()
418 fprintf(stderr, "ERROR: closing sockets\n"); in test_control_group_max_num_members()
473 fprintf(stderr, "ERROR: closing sockets\n"); in test_unique_fanout_group_ids()
H A Dreuseaddr_ports_exhausted.c5 * Rules to bind sockets to the same port when all ephemeral ports are
8 * 1. if there are TCP_LISTEN sockets on the port, fail to bind.
9 * 2. if there are sockets without SO_REUSEADDR, fail to bind.
115 EXPECT_EQ(-1, fd[1]) TH_LOG("should fail to bind because both sockets successfully listened."); in TEST()
/linux/net/packet/
H A DKconfig20 tristate "Packet: sockets monitoring interface"
24 Support for PF_PACKET sockets monitoring interface used by the ss tool.
/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h
/linux/tools/testing/selftests/bpf/progs/
H A Dsock_destroy_prog.c66 /* Destroy connected client sockets. */ in iter_tcp6_client()
96 /* Destroy server sockets. */ in iter_tcp6_server()
119 /* Destroy connected client sockets. */ in iter_udp6_client()
/linux/net/rds/
H A DKconfig4 tristate "The Reliable Datagram Sockets Protocol"
7 The RDS (Reliable Datagram Sockets) protocol provides reliable,
/linux/Documentation/bpf/
H A Dprog_sk_lookup.rst20 binding sockets to an address with ``bind()`` socket call is impractical, such
49 Incoming traffic to established (TCP) and connected (UDP) sockets is delivered
60 in a map holding sockets, such as ``SOCKMAP`` or ``SOCKHASH``, and passes a
/linux/net/core/
H A Dnetclassid_cgroup.c59 * To avoid freezing of sockets creation for tasks with big number of threads
60 * and opened sockets lets release file_lock every 1000 iterated descriptors.
61 * New sockets will already have been created with new classid.
/linux/net/netfilter/
H A Dxt_socket.c37 * generic 'socket' rule). In this case the following sockets are
65 /* Ignore sockets listening on INADDR_ANY, in socket_match()
72 /* Ignore non-transparent sockets, in socket_match()
126 /* Ignore sockets listening on INADDR_ANY in socket_mt6_v1_v2_v3()
133 /* Ignore non-transparent sockets, in socket_mt6_v1_v2_v3()

12345678910>>...17