Home
last modified time | relevance | path

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

12345678910>>...40

/kernel/linux/linux-6.6/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 …]
/kernel/linux/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/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 …]
/kernel/linux/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].dev = dev; in i82092aa_pci_probe()
116 sockets[i].socket.features |= SS_CAP_PCCARD; in i82092aa_pci_probe()
117 sockets[i].socket.map_size = 0x1000; in i82092aa_pci_probe()
118 sockets[i].socket.irq_mask = 0; in i82092aa_pci_probe()
119 sockets[i].socket.pci_irq = dev->irq; in i82092aa_pci_probe()
120 sockets[i].socket.cb_dev = dev; in i82092aa_pci_probe()
[all …]
/kernel/linux/linux-6.6/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].dev = dev; in i82092aa_pci_probe()
116 sockets[i].socket.features |= SS_CAP_PCCARD; in i82092aa_pci_probe()
117 sockets[i].socket.map_size = 0x1000; in i82092aa_pci_probe()
118 sockets[i].socket.irq_mask = 0; in i82092aa_pci_probe()
119 sockets[i].socket.pci_irq = dev->irq; in i82092aa_pci_probe()
120 sockets[i].socket.cb_dev = dev; 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 …]
/kernel/linux/linux-6.6/net/unix/
DKconfig3 # Unix Domain Sockets
7 bool "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
/kernel/linux/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
/kernel/linux/linux-6.6/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 …]
/kernel/linux/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 …]
/kernel/linux/linux-5.10/include/linux/
Dsocket.h180 #define AF_UNIX 1 /* Unix domain sockets */
202 #define AF_RDS 21 /* RDS sockets */
204 #define AF_IRDA 23 /* IRDA sockets */
205 #define AF_PPPOX 24 /* PPPoX sockets */
206 #define AF_WANPIPE 25 /* Wanpipe API Sockets */
211 #define AF_TIPC 30 /* TIPC sockets */
212 #define AF_BLUETOOTH 31 /* Bluetooth sockets */
213 #define AF_IUCV 32 /* IUCV sockets */
214 #define AF_RXRPC 33 /* RxRPC sockets */
215 #define AF_ISDN 34 /* mISDN sockets */
[all …]
/kernel/linux/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 …]
/kernel/linux/linux-6.6/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.
/kernel/linux/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.
/kernel/linux/linux-6.6/tools/perf/trace/beauty/include/linux/
Dsocket.h190 #define AF_UNIX 1 /* Unix domain sockets */
212 #define AF_RDS 21 /* RDS sockets */
214 #define AF_IRDA 23 /* IRDA sockets */
215 #define AF_PPPOX 24 /* PPPoX sockets */
216 #define AF_WANPIPE 25 /* Wanpipe API Sockets */
221 #define AF_TIPC 30 /* TIPC sockets */
222 #define AF_BLUETOOTH 31 /* Bluetooth sockets */
223 #define AF_IUCV 32 /* IUCV sockets */
224 #define AF_RXRPC 33 /* RxRPC sockets */
225 #define AF_ISDN 34 /* mISDN sockets */
[all …]
/kernel/linux/linux-6.6/include/linux/
Dsocket.h190 #define AF_UNIX 1 /* Unix domain sockets */
212 #define AF_RDS 21 /* RDS sockets */
214 #define AF_IRDA 23 /* IRDA sockets */
215 #define AF_PPPOX 24 /* PPPoX sockets */
216 #define AF_WANPIPE 25 /* Wanpipe API Sockets */
221 #define AF_TIPC 30 /* TIPC sockets */
222 #define AF_BLUETOOTH 31 /* Bluetooth sockets */
223 #define AF_IUCV 32 /* IUCV sockets */
224 #define AF_RXRPC 33 /* RxRPC sockets */
225 #define AF_ISDN 34 /* mISDN sockets */
[all …]
/kernel/linux/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 …]
/kernel/linux/linux-6.6/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. */
/kernel/linux/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. */
/kernel/linux/linux-6.6/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. */
/kernel/linux/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. */

12345678910>>...40