| /linux/tools/testing/vsock/ |
| H A D | vsock_diag_test.c | 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() 336 check_no_sockets(&sockets); in test_no_sockets() 351 LIST_HEAD(sockets); in test_listen_socket_server() [all …]
|
| /linux/tools/testing/selftests/net/rds/ |
| H A D | test.py | 33 # sockets are on the same interface and use the loop transport instead 37 Creates sockets inside of network namespace 148 sockets = [ 153 for s, addr in zip(sockets, addrs): 158 s.fileno(): s for s in sockets 161 addr_to_socket = dict(zip(addrs, sockets)) 164 s: addr for addr, s in zip(addrs, sockets) 172 for s in sockets: 187 sender = sockets[nr_send % 2] 188 receiver = sockets[ 140 sockets = [ global() variable [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/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()
|
| H A D | tifm_core.c | 179 fm = kzalloc_flex(*fm, sockets, num_sockets); in tifm_alloc_adapter() 223 if (fm->sockets[cnt]) in tifm_remove_adapter() 224 device_unregister(&fm->sockets[cnt]->dev); in tifm_remove_adapter()
|
| /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 | 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 | tcp_ao.rst | 281 | | ``TCP_LISTEN`` sockets | the whole database | 286 | | listen sockets | | 322 A tip here for scaled TCP_LISTEN sockets, that may have some thousands TCP-AO 369 to request sockets, but rather look them up on the "parent" listener socket. 372 not-yet-established connections on request sockets as well as not removing 373 keys from sockets that were already established, but not yet ``accept()``'ed, 377 a listener socket, the established sockets in the accept queue won't 398 established sockets that have either AO or MD5 keys are restricted for 401 For listening sockets the picture is different: BGP server may want to receive 403 may be added to TCP_CLOSED or TCP_LISTEN sockets. It's not allowed to add
|
| H A D | msg_zerocopy.rst | 11 virtio transport) sockets. 242 Data sent to local sockets can be queued indefinitely if the receive 246 includes looping onto packet sockets (e.g., tcpdump) and tun devices. 249 Data path sent to local sockets is the same as for non-local sockets.
|
| /linux/net/kcm/ |
| H A D | Kconfig | 4 tristate "KCM sockets" 9 KCM (Kernel Connection Multiplexor) sockets provide a method
|
| /linux/Documentation/admin-guide/sysctl/ |
| H A D | net.rst | 42 ethernet Ethernet protocol unix Unix domain sockets 43 ipv4 IP version 4 vsock VSOCK sockets 199 Recommended value depends on the number of sockets you poll on. 200 For several sockets 50, for several hundreds 100. 202 Note that only sockets with SO_BUSY_POLL set will be busy polled, 203 so you want to either selectively set SO_BUSY_POLL on those sockets or set 464 2. /proc/sys/net/unix - Parameters for Unix domain sockets 505 The directory /proc/net/appletalk holds the list of active Appletalk sockets 555 6. /proc/sys/net/vsock - VSOCK sockets 558 VSOCK sockets (AF_VSOCK) provide communication between virtual machines and [all …]
|
| /linux/net/packet/ |
| H A D | Kconfig | 20 tristate "Packet: sockets monitoring interface" 24 Support for PF_PACKET sockets monitoring interface used by the ss tool.
|
| /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/net/nfc/ |
| H A D | llcp_core.c | 75 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() 212 read_lock(&local->sockets.lock); in nfc_llcp_sock_get() 216 sk_for_each(sk, &local->sockets.head) { in nfc_llcp_sock_get() 226 read_unlock(&local->sockets.lock); in nfc_llcp_sock_get() 375 read_lock(&local->sockets.lock); in nfc_llcp_sock_from_sn() 379 sk_for_each(sk, &local->sockets.head) { in nfc_llcp_sock_from_sn() 407 read_unlock(&local->sockets.lock); in nfc_llcp_sock_from_sn() 1016 nfc_llcp_sock_link(&local->sockets, new_sk); in nfc_llcp_recv_connect() [all …]
|
| /linux/Documentation/admin-guide/nfs/ |
| H A D | nfsd-admin-interfaces.rst | 14 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/Documentation/bpf/ |
| H A D | map_xskmap.rst | 13 This map type redirects raw XDP frames to `AF_XDP`_ sockets (XSKs), a new type of 69 for sockets attached to a netdev's queues. 179 For an example on how create AF_XDP sockets, please see the AF_XDP-example and 192 …libxdp-readme: https://github.com/xdp-project/xdp-tools/tree/master/lib/libxdp#using-af_xdp-sockets
|
| H A D | prog_sk_lookup.rst | 20 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/tools/testing/selftests/net/af_unix/ |
| H A D | scm_rights.c | 122 int sockets = -1, len, ret; in count_sockets() local 138 ret = sscanf(line + len, "%d %d", &unused2, &sockets); in count_sockets() 149 return sockets; in count_sockets()
|
| /linux/drivers/ras/amd/atl/ |
| H A D | map.c | 605 u8 sockets = 0; in get_num_intlv_sockets() local 609 sockets = FIELD_GET(DF2_INTLV_NUM_SOCKETS, ctx->map.limit); in get_num_intlv_sockets() 613 sockets = FIELD_GET(DF2_INTLV_NUM_SOCKETS, ctx->map.base); in get_num_intlv_sockets() 617 sockets = FIELD_GET(DF4_INTLV_NUM_SOCKETS, ctx->map.intlv); in get_num_intlv_sockets() 625 return 1 << sockets; in get_num_intlv_sockets()
|
| /linux/net/vmw_vsock/ |
| H A D | Kconfig | 24 Support for PF_VSOCK sockets monitoring interface used by the ss tool. 27 Enable this module so userspace applications can query open sockets.
|
| /linux/net/llc/ |
| H A D | Kconfig | 10 Select this if you want to have support for PF_LLC sockets.
|
| /linux/Documentation/userspace-api/netlink/ |
| H A D | intro.rst | 24 Netlink communication happens over sockets, a socket needs to be 31 The use of sockets allows for a natural way of exchanging information 148 the user sockets which subscribed to them. ``do`` and ``dump`` requests 350 Note that Generic Netlink sockets are not associated or bound to a single 448 sockets subscribed to the notifications will get the following message:: 512 It is recommended to use separate sockets for receiving notifications 520 Netlink sockets are datagram sockets rather than stream sockets, 557 sockets and the concept of protocol families, which are part of message
|
| /linux/Documentation/filesystems/nfs/ |
| H A D | knfsd-stats.rst | 62 sockets-enqueued 111 (sockets-enqueued counts this case), or the packet can be temporarily 116 packets-deferred = packets-arrived - ( sockets-enqueued + threads-woken )
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-event_source-devices-hv_24x7 | 50 What: /sys/devices/hv_24x7/interface/sockets 54 This sysfs interface exposes the number of sockets present in the
|