Home
last modified time | relevance | path

Searched refs:sockets (Results 1 – 25 of 105) sorted by relevance

12345

/Linux-v5.10/tools/testing/vsock/
Dvsock_diag_test.c236 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()
334 check_no_sockets(&sockets); in test_no_sockets()
336 free_sock_stat(&sockets); in test_no_sockets()
[all …]
DREADME3 These tests exercise net/vmw_vsock/ host<->guest sockets for VMware, KVM, and
9 * vsock_diag_test - vsock_diag.ko module for listing open sockets
/Linux-v5.10/drivers/pcmcia/
Di82092.c69 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()
122 sockets[i].number = i; in i82092aa_pci_probe()
[all …]
Di82365.c158 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()
617 i365_set(sockets, PD67_CHIP_INFO, 0); 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-v5.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-v5.10/net/unix/
DKconfig7 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
/Linux-v5.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-v5.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-v5.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 …]
Dnfc.rst105 The userspace must use PF_NFC sockets to perform any data communication with
106 targets. All NFC sockets use AF_NFC::
124 The data format exchanged through the sockets is NFC protocol dependent. For
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
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
Dj1939.rst31 sockets, we found some reasons to justify a kernel implementation for the
59 The J1939 sockets operate on CAN network devices (see SocketCAN). Any J1939
60 user space library operating on CAN raw sockets will still operate properly.
110 allowed. The BSD sockets define separate API calls for getting/setting the
111 local & remote address and are applicable for J1939 sockets.
141 J1939 does use ``SOCK_DGRAM`` sockets. In the J1939 specification, connections are
183 ``can_family`` & ``can_ifindex`` serve the same purpose as for other SocketCAN sockets.
/Linux-v5.10/net/kcm/
DKconfig4 tristate "KCM sockets"
9 KCM (Kernel Connection Multiplexor) sockets provide a method
/Linux-v5.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-v5.10/net/packet/
DKconfig20 tristate "Packet: sockets monitoring interface"
24 Support for PF_PACKET sockets monitoring interface used by the ss tool.
/Linux-v5.10/net/nfc/
Dllcp_core.c75 write_lock(&local->sockets.lock); in nfc_llcp_socket_release()
77 sk_for_each_safe(sk, tmp, &local->sockets.head) { in nfc_llcp_socket_release()
118 write_unlock(&local->sockets.lock); in nfc_llcp_socket_release()
197 read_lock(&local->sockets.lock); in nfc_llcp_sock_get()
201 sk_for_each(sk, &local->sockets.head) { in nfc_llcp_sock_get()
210 read_unlock(&local->sockets.lock); in nfc_llcp_sock_get()
338 read_lock(&local->sockets.lock); in nfc_llcp_sock_from_sn()
342 sk_for_each(sk, &local->sockets.head) { in nfc_llcp_sock_from_sn()
368 read_unlock(&local->sockets.lock); in nfc_llcp_sock_from_sn()
744 nfc_llcp_sock_unlink(&local->sockets, sk); in nfc_llcp_tx_work()
[all …]
/Linux-v5.10/Documentation/admin-guide/nfs/
Dnfsd-admin-interfaces.rst14 Before doing that, NFSD can be told which sockets to listen on by
39 removal of listening sockets, and startup and shutdown of the server.
/Linux-v5.10/Documentation/bpf/
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-v5.10/net/llc/
DKconfig11 Select this if you want to have support for PF_LLC sockets.
/Linux-v5.10/net/vmw_vsock/
DKconfig24 Support for PF_VSOCK sockets monitoring interface used by the ss tool.
27 Enable this module so userspace applications can query open sockets.
/Linux-v5.10/Documentation/isdn/
Dm_isdn.rst9 space is based on sockets with a own address family AF_ISDN.
/Linux-v5.10/net/smc/
DKconfig6 SMC-R provides a "sockets over RDMA" solution making use of
/Linux-v5.10/Documentation/admin-guide/sysctl/
Dnet.rst38 unix Unix domain sockets netrom NET/ROM
193 Recommended value depends on the number of sockets you poll on.
194 For several sockets 50, for several hundreds 100.
196 Note that only sockets with SO_BUSY_POLL set will be busy polled,
197 so you want to either selectively set SO_BUSY_POLL on those sockets or set
357 2. /proc/sys/net/unix - Parameters for Unix domain sockets
398 The directory /proc/net/appletalk holds the list of active Appletalk sockets

12345