Home
last modified time | relevance | path

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

12345678910>>...18

/linux-5.10/net/vmw_vsock/
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 …]
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 …]
/linux-5.10/tools/testing/vsock/
Dvsock_diag_test.c133 fprintf(stderr, "expected no sockets\n"); in check_no_sockets()
148 fprintf(stderr, "expected %d sockets, found %d\n", in check_num_sockets()
236 static void add_vsock_stat(struct list_head *sockets, in add_vsock_stat() argument
248 list_add_tail(&st->list, sockets); in add_vsock_stat()
254 static void read_vsock_stat(struct list_head *sockets) in read_vsock_stat() argument
309 add_vsock_stat(sockets, NLMSG_DATA(h)); in read_vsock_stat()
319 static void free_sock_stat(struct list_head *sockets) in free_sock_stat() argument
324 list_for_each_entry_safe(st, next, sockets, list) in free_sock_stat()
330 LIST_HEAD(sockets); in test_no_sockets()
332 read_vsock_stat(&sockets); in test_no_sockets()
[all …]
/linux-5.10/drivers/pcmcia/
Di82092.c52 /* The card can do up to 4 sockets, allocate a structure for each of them */
69 static struct socket_info sockets[MAX_SOCKETS]; variable
113 sockets[i].card_state = 1; /* 1 = present but empty */ in i82092aa_pci_probe()
114 sockets[i].io_base = pci_resource_start(dev, 0); in i82092aa_pci_probe()
115 sockets[i].socket.features |= SS_CAP_PCCARD; in i82092aa_pci_probe()
116 sockets[i].socket.map_size = 0x1000; in i82092aa_pci_probe()
117 sockets[i].socket.irq_mask = 0; in i82092aa_pci_probe()
118 sockets[i].socket.pci_irq = dev->irq; in i82092aa_pci_probe()
119 sockets[i].socket.cb_dev = dev; in i82092aa_pci_probe()
120 sockets[i].socket.owner = THIS_MODULE; in i82092aa_pci_probe()
[all …]
Di82365.c157 /* Where we keep track of our sockets... */
158 static int sockets = 0; variable
578 socket[sockets].ioaddr = port; in identify()
579 socket[sockets].psock = sock; in identify()
583 i365_bclr(sockets, PD67_MISC_CTL_2, PD67_MC2_SUSPEND); in identify()
588 if ((val = i365_get(sockets, I365_IDENT)) & 0x70) in identify()
604 i365_bset(sockets, VG468_MISC, VG468_MISC_VADEMREV); in identify()
605 val = i365_get(sockets, I365_IDENT); in identify()
607 i365_bclr(sockets, VG468_MISC, VG468_MISC_VADEMREV); in identify()
612 val = i365_get(sockets, RF5C_CHIP_ID); in identify()
[all …]
Dtcic.c114 static int sockets; variable
401 sockets = 0; in init_tcic()
404 socket_table[sockets].psock = i; in init_tcic()
405 socket_table[sockets].id = get_tcic_id(); in init_tcic()
407 socket_table[sockets].socket.owner = THIS_MODULE; in init_tcic()
410 socket_table[sockets].socket.features = SS_CAP_PCCARD | SS_CAP_MEM_ALIGN; in init_tcic()
412 socket_table[sockets].socket.irq_mask = 0x4cf8; in init_tcic()
414 socket_table[sockets].socket.map_size = 0x1000; in init_tcic()
415 sockets++; in init_tcic()
441 printk(KERN_CONT ", %d sockets\n", sockets); in init_tcic()
[all …]
/linux-5.10/net/unix/
DKconfig3 # Unix Domain Sockets
7 tristate "Unix domain sockets"
9 If you say Y here, you will include support for Unix domain sockets;
10 sockets are the standard Unix mechanism for establishing and
12 the X Window system and syslog use these sockets even if your
Dgarbage.c3 * NET3: Garbage Collector For AF_UNIX sockets
41 * sent to connect()'ed but still not accept()'ed sockets.
193 /* If number of inflight sockets is insane, in wait_for_unix_gc()
218 * in-flight sockets are considered, and from those only ones in unix_gc()
228 * receive queues. Other, non candidate sockets _can_ be in unix_gc()
284 /* not_cycle_list contains those sockets which do not make up a in unix_gc()
/linux-5.10/Documentation/networking/
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 …]
Daf_xdp.rst19 bpf_redirect_map() function. AF_XDP sockets enable the possibility for
116 multiple AF_XDP sockets. To share an UMEM created via one socket A,
135 is a setup with four sockets (all doing TX and RX). Then there will be
244 and monitor the behavior of AF_XDP sockets.
261 This flag enables you to bind multiple sockets to the same UMEM. It
269 sockets bound to the same netdev and queue id. The UMEM (tied to the
278 sockets this way.
281 program. Put all the sockets in the XSK_MAP and just indicate which
320 The second case is when you share a UMEM between sockets that are
323 netdev,queue_id pair. Let us say you want to create two sockets bound
[all …]
Drds.rst22 cluster - so in a cluster with N processes you need N sockets, in contrast
48 RDS sockets work *mostly* as you would expect from a BSD
55 Sockets must be bound before you can send or receive data.
72 to create RDS sockets. SOL_RDS is the socket-level to be used
115 Receives a message that was queued to this socket. The sockets
251 are accounted against the sockets SO_RCVBUF option value. Only
268 sages on sockets. The dense bitmaps let transports send the
398 PF_RDS sockets between any 2 endpoints (where endpoint == [IP address,
403 (b) suffers from head-of-line blocking for all the RDS sockets.
408 connection. RDS sockets will be attached to a path based on some hash
Dip-sysctl.rst245 See also tcp_max_syn_backlog for additional tuning for TCP sockets.
284 when they know how/when to uncork their sockets.
392 If set, incoming connections to listening sockets that do not have a
396 listening socket's mark is unchanged. Listening sockets that already
439 Enables child sockets to inherit the L3 master device index.
441 across L3 master domains (e.g., VRFs) with connected sockets
452 Maximal number of TCP sockets not attached to any user file handle,
478 Maximal number of timewait sockets held by system simultaneously.
494 max: number of pages allowed for queueing by all TCP sockets.
555 you should think about lowering this value, such sockets
[all …]
/linux-5.10/tools/perf/trace/beauty/include/linux/
Dsocket.h177 #define AF_UNIX 1 /* Unix domain sockets */
199 #define AF_RDS 21 /* RDS sockets */
201 #define AF_IRDA 23 /* IRDA sockets */
202 #define AF_PPPOX 24 /* PPPoX sockets */
203 #define AF_WANPIPE 25 /* Wanpipe API Sockets */
208 #define AF_TIPC 30 /* TIPC sockets */
209 #define AF_BLUETOOTH 31 /* Bluetooth sockets */
210 #define AF_IUCV 32 /* IUCV sockets */
211 #define AF_RXRPC 33 /* RxRPC sockets */
212 #define AF_ISDN 34 /* mISDN sockets */
[all …]
/linux-5.10/include/linux/
Dsocket.h177 #define AF_UNIX 1 /* Unix domain sockets */
199 #define AF_RDS 21 /* RDS sockets */
201 #define AF_IRDA 23 /* IRDA sockets */
202 #define AF_PPPOX 24 /* PPPoX sockets */
203 #define AF_WANPIPE 25 /* Wanpipe API Sockets */
208 #define AF_TIPC 30 /* TIPC sockets */
209 #define AF_BLUETOOTH 31 /* Bluetooth sockets */
210 #define AF_IUCV 32 /* IUCV sockets */
211 #define AF_RXRPC 33 /* RxRPC sockets */
212 #define AF_ISDN 34 /* mISDN sockets */
[all …]
/linux-5.10/net/xdp/
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-5.10/include/net/
Dinet_hashtables.h35 * The 'e' prefix stands for Establish, but we really put all sockets
45 * 1) Sockets bound to different interfaces may share a local port.
47 * 2) If all sockets have sk->sk_reuse set, and none of them are in
50 * 3) If all sockets are bound to a specific inet_sk(sk)->rcv_saddr local
57 * below. As we add sockets to a bind bucket list, we perform a
59 * As long as all sockets added to a bind bucket pass this test,
106 /* Sockets can be hashed in established or listening table.
121 /* This is for listening sockets, thus all sockets which possess wildcards. */
125 /* This is for sockets with full identity only. Sockets here will
153 /* All sockets in TCP_LISTEN state will be in listening_hash.
[all …]
/linux-5.10/arch/parisc/include/uapi/asm/
Dfcntl.h27 #define F_GETOWN 11 /* for sockets. */
28 #define F_SETOWN 12 /* for sockets. */
29 #define F_SETSIG 13 /* for sockets. */
30 #define F_GETSIG 14 /* for sockets. */
/linux-5.10/arch/alpha/include/uapi/asm/
Dfcntl.h42 #define F_SETOWN 5 /* for sockets. */
43 #define F_GETOWN 6 /* for sockets. */
44 #define F_SETSIG 10 /* for sockets. */
45 #define F_GETSIG 11 /* for sockets. */
/linux-5.10/drivers/misc/
Dtifm_7xx1.c53 sock = fm->sockets[cnt]; in tifm_7xx1_isr()
160 sock = fm->sockets[cnt]; in tifm_7xx1_switch_media()
165 fm->sockets[cnt] = NULL; in tifm_7xx1_switch_media()
186 if (!fm->sockets[cnt]) { in tifm_7xx1_switch_media()
187 fm->sockets[cnt] = sock; in tifm_7xx1_switch_media()
219 if (fm->sockets[cnt]) in tifm_7xx1_suspend()
220 tifm_7xx1_sock_power_off(fm->sockets[cnt]->addr); in tifm_7xx1_suspend()
251 if (fm->sockets[rc]) { in tifm_7xx1_resume()
252 if (fm->sockets[rc]->type == new_ids[rc]) in tifm_7xx1_resume()
/linux-5.10/net/rxrpc/
DKconfig3 # RxRPC session sockets
7 tristate "RxRPC session sockets"
12 Say Y or M here to include support for RxRPC session sockets (just
/linux-5.10/drivers/hwmon/
Damd_energy.c210 int i, num_siblings, cpus, sockets; in amd_create_sensor() local
217 sockets = num_possible_nodes(); in amd_create_sensor()
225 s_config = devm_kcalloc(dev, cpus + sockets, in amd_create_sensor()
230 accums = devm_kcalloc(dev, cpus + sockets, in amd_create_sensor()
236 label_l = devm_kcalloc(dev, cpus + sockets, in amd_create_sensor()
245 data->nr_socks = sockets; in amd_create_sensor()
249 for (i = 0; i < cpus + sockets; i++) { in amd_create_sensor()
/linux-5.10/net/kcm/
DKconfig4 tristate "KCM sockets"
9 KCM (Kernel Connection Multiplexor) sockets provide a method
/linux-5.10/tools/include/uapi/asm-generic/
Dfcntl.h110 #define F_SETOWN 8 /* for sockets. */
111 #define F_GETOWN 9 /* for sockets. */
114 #define F_SETSIG 10 /* for sockets. */
115 #define F_GETSIG 11 /* for sockets. */
/linux-5.10/include/uapi/asm-generic/
Dfcntl.h111 #define F_SETOWN 8 /* for sockets. */
112 #define F_GETOWN 9 /* for sockets. */
115 #define F_SETSIG 10 /* for sockets. */
116 #define F_GETSIG 11 /* for sockets. */
/linux-5.10/net/packet/
DKconfig20 tristate "Packet: sockets monitoring interface"
24 Support for PF_PACKET sockets monitoring interface used by the ss tool.

12345678910>>...18