Home
last modified time | relevance | path

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

/tools/testing/vsock/
A Dvsock_diag_test.c332 LIST_HEAD(sockets); in test_no_sockets()
334 read_vsock_stat(&sockets); in test_no_sockets()
351 LIST_HEAD(sockets); in test_listen_socket_server()
367 read_vsock_stat(&sockets); in test_listen_socket_server()
374 free_sock_stat(&sockets); in test_listen_socket_server()
380 LIST_HEAD(sockets); in test_connect_client()
389 read_vsock_stat(&sockets); in test_connect_client()
399 free_sock_stat(&sockets); in test_connect_client()
405 LIST_HEAD(sockets); in test_connect_server()
414 read_vsock_stat(&sockets); in test_connect_server()
[all …]
A 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
A Dvsock_test.c1794 int sockets[MAX_PORT_RETRIES]; in test_stream_transport_uaf() local
1822 sockets[i] = vsock_bind(cid, ++addr.svm_port, SOCK_STREAM); in test_stream_transport_uaf()
1874 close(sockets[i]); in test_stream_transport_uaf()
/tools/testing/selftests/net/rds/
A Dtest.py140 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:
/tools/testing/selftests/bpf/prog_tests/
A Dsockmap_redir.c366 struct socket_spec *s, sockets[] = { in test_redir() local
381 for (s = sockets; s < sockets + ARRAY_SIZE(sockets); s++) in test_redir()
386 for (s = sockets; s < sockets + ARRAY_SIZE(sockets); s++) in test_redir()
390 for (int i = 0; i < ARRAY_SIZE(sockets); i++) { in test_redir()
391 for (int j = 0; j < ARRAY_SIZE(sockets); j++) { in test_redir()
392 struct socket_spec *out = &sockets[j]; in test_redir()
393 struct socket_spec *in = &sockets[i]; in test_redir()
405 while (--s >= sockets) in test_redir()
/tools/testing/selftests/net/af_unix/
A Dscm_rights.c122 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()
/tools/testing/selftests/net/packetdrill/
A Dtcp_ooo-before-and-after-accept.pkt35 // Test that ooo packets for accepted sockets do increase sk_rcvbuf
A Dtcp_zerocopy_fastopen-client.pkt7 // Fastopen requires a stored cookie. Create two sockets. The first
/tools/perf/Documentation/
A Dperf.data-file-format.txt186 sibling sockets : 0-8
A Dperf-stat.txt299 is a useful mode to detect imbalance between sockets. To enable this mode,

Completed in 17 milliseconds