| /linux/net/vmw_vsock/ |
| H A D | Kconfig | 20 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 D | af_vsock.c | 10 * - 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 D | diag.c | 66 /* 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 D | sock_iter_batch.c | 183 /* 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 D | sock_destroy.c | 55 /* 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 D | vsock_diag_test.c | 135 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/drivers/pcmcia/ |
| H A D | i82092.c | 53 /* The card can do up to 4 sockets, allocate a structure for each of them */ 70 static struct socket_info sockets[MAX_SOCKETS]; variable 114 sockets[i].card_state = 1; /* 1 = present but empty */ in i82092aa_pci_probe() 115 sockets[i].io_base = pci_resource_start(dev, 0); in i82092aa_pci_probe() 116 sockets[i].dev = dev; in i82092aa_pci_probe() 117 sockets[i].socket.features |= SS_CAP_PCCARD; in i82092aa_pci_probe() 118 sockets[i].socket.map_size = 0x1000; in i82092aa_pci_probe() 119 sockets[i].socket.irq_mask = 0; in i82092aa_pci_probe() 120 sockets[i].socket.pci_irq = dev->irq; in i82092aa_pci_probe() 121 sockets[i].socket.cb_dev = dev; in i82092aa_pci_probe() [all …]
|
| H A D | i82365.c | 157 /* 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 …]
|
| H A D | tcic.c | 114 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/Documentation/networking/ |
| H A D | kcm.rst | 10 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 D | mptcp.rst | 88 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 D | af_xdp.rst | 19 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 241 and monitor the behavior of AF_XDP sockets. 258 This flag enables you to bind multiple sockets to the same UMEM. It 266 sockets bound to the same netdev and queue id. The UMEM (tied to the 275 sockets this way. 278 program. Put all the sockets in the XSK_MAP and just indicate which 317 The second case is when you share a UMEM between sockets that are 320 netdev,queue_id pair. Let us say you want to create two sockets bound [all …]
|
| H A D | smc-sysctl.rst | 21 know how/when to uncork their sockets. 46 Initial size of send buffer used by SMC sockets. 54 Initial size of receive buffer (RMB) used by SMC sockets.
|
| /linux/include/linux/ |
| H A D | socket.h | 191 #define AF_UNIX 1 /* Unix domain sockets */ 213 #define AF_RDS 21 /* RDS sockets */ 215 #define AF_IRDA 23 /* IRDA sockets */ 216 #define AF_PPPOX 24 /* PPPoX sockets */ 217 #define AF_WANPIPE 25 /* Wanpipe API Sockets */ 222 #define AF_TIPC 30 /* TIPC sockets */ 223 #define AF_BLUETOOTH 31 /* Bluetooth sockets */ 224 #define AF_IUCV 32 /* IUCV sockets */ 225 #define AF_RXRPC 33 /* RxRPC sockets */ 226 #define AF_ISDN 34 /* mISDN sockets */ [all...] |
| /linux/tools/perf/trace/beauty/include/linux/ |
| H A D | socket.h | 191 #define AF_UNIX 1 /* Unix domain sockets */ 213 #define AF_RDS 21 /* RDS sockets */ 215 #define AF_IRDA 23 /* IRDA sockets */ 216 #define AF_PPPOX 24 /* PPPoX sockets */ 217 #define AF_WANPIPE 25 /* Wanpipe API Sockets */ 222 #define AF_TIPC 30 /* TIPC sockets */ 223 #define AF_BLUETOOTH 31 /* Bluetooth sockets */ 224 #define AF_IUCV 32 /* IUCV sockets */ 225 #define AF_RXRPC 33 /* RxRPC sockets */ 226 #define AF_ISDN 34 /* mISDN sockets */ [all …]
|
| /linux/net/xdp/ |
| H A D | Kconfig | 3 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/testing/selftests/net/rds/ |
| H A D | test.py | 34 # sockets are on the same interface and use the loop transport instead 140 sockets = [ variable 145 for s, addr in zip(sockets, addrs): 150 s.fileno(): s for s in sockets 154 addr: s for addr, s in zip(addrs, sockets) 158 s: addr for addr, s in zip(addrs, sockets) 166 for s in sockets: 181 sender = sockets[nr_send % 2] 182 receiver = sockets[1 - (nr_send % 3) % 2] 228 for s in sockets:
|
| /linux/arch/parisc/include/uapi/asm/ |
| H A D | fcntl.h | 27 #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/include/net/ |
| H A D | inet_hashtables.h | 36 * 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 whic [all...] |
| /linux/arch/alpha/include/uapi/asm/ |
| H A D | fcntl.h | 42 #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/drivers/misc/ |
| H A D | tifm_7xx1.c | 53 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/net/rxrpc/ |
| H A D | Kconfig | 3 # RxRPC session sockets 7 tristate "RxRPC session sockets" 13 Say Y or M here to include support for RxRPC session sockets (just
|
| /linux/tools/testing/selftests/net/ |
| H A D | psock_fanout.c | 13 * 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()
|
| /linux/net/kcm/ |
| H A D | Kconfig | 4 tristate "KCM sockets" 9 KCM (Kernel Connection Multiplexor) sockets provide a method
|
| /linux/tools/include/uapi/asm-generic/ |
| H A D | fcntl.h | |