/tools/testing/selftests/bpf/ |
D | tcp_client.py | 7 import socket, time 16 except (socket.error) as e: return b'' 25 except (socket.error) as e: n = 0 35 sock = socket.socket(socket.AF_INET6, socket.SOCK_STREAM) 38 except socket.error as e:
|
D | tcp_server.py | 7 import socket, time 16 except (socket.error) as e: return b'' 25 except (socket.error) as e: n = 0 39 serverSocket = socket.socket(socket.AF_INET6, socket.SOCK_STREAM) 42 except socket.error as msg:
|
D | test_socket_cookie.c | 31 fd = socket(AF_INET6, SOCK_STREAM, 0); in start_server() 67 fd = socket(AF_INET6, SOCK_STREAM, 0); in connect_to_server()
|
D | test_tcp_check_syncookie_user.c | 25 fd = socket(addr->sa_family, SOCK_STREAM, 0); in start_server() 61 fd = socket(addr.ss_family, SOCK_STREAM, 0); in connect_to_server()
|
/tools/perf/tests/ |
D | hists_filter.c | 21 int socket; member 27 { .pid = FAKE_PID_PERF1, .ip = FAKE_IP_KERNEL_SCHEDULE, .socket = 0 }, 29 { .pid = FAKE_PID_PERF1, .ip = FAKE_IP_PERF_MAIN, .socket = 0 }, 31 { .pid = FAKE_PID_PERF1, .ip = FAKE_IP_LIBC_MALLOC, .socket = 0 }, 33 { .pid = FAKE_PID_PERF2, .ip = FAKE_IP_PERF_MAIN, .socket = 0 }, /* will be merged */ 35 { .pid = FAKE_PID_PERF2, .ip = FAKE_IP_PERF_CMD_RECORD, .socket = 1 }, 37 { .pid = FAKE_PID_PERF2, .ip = FAKE_IP_KERNEL_PAGE_FAULT, .socket = 1 }, 39 { .pid = FAKE_PID_BASH, .ip = FAKE_IP_BASH_MAIN, .socket = 2 }, 41 { .pid = FAKE_PID_BASH, .ip = FAKE_IP_BASH_XMALLOC, .socket = 2 }, 43 { .pid = FAKE_PID_BASH, .ip = FAKE_IP_LIBC_MALLOC, .socket = 3 }, [all …]
|
/tools/bpf/bpftool/Documentation/ |
D | bpftool-cgroup.rst | 83 **ingress** ingress path of the inet socket (since 4.10); 84 **egress** egress path of the inet socket (since 4.10); 85 **sock_create** opening of an inet socket (since 4.10); 86 **sock_ops** various socket operations (since 4.12); 88 **bind4** call to bind(2) for an inet4 socket (since 4.17); 89 **bind6** call to bind(2) for an inet6 socket (since 4.17); 90 **post_bind4** return from bind(2) for an inet4 socket (since 4.17); 91 **post_bind6** return from bind(2) for an inet6 socket (since 4.17); 92 **connect4** call to connect(2) for an inet4 socket (since 4.17); 93 **connect6** call to connect(2) for an inet6 socket (since 4.17); [all …]
|
/tools/testing/selftests/net/ |
D | run_netsocktests | 7 ./socket
|
D | .gitignore | 2 socket
|
D | psock_lib.h | 79 fds[0] = socket(PF_INET, SOCK_DGRAM, 0); in pair_udp_open() 80 fds[1] = socket(PF_INET, SOCK_DGRAM, 0); in pair_udp_open()
|
D | reuseport_bpf.c | 160 fd[i] = socket(p.recv_family, p.protocol, 0); in build_recv_group() 194 const int fd = socket(p.send_family, p.protocol, 0), one = 1; in send_from() 314 fd1 = socket(p.recv_family, p.protocol, 0); in test_extra_filter() 317 fd2 = socket(p.recv_family, p.protocol, 0); in test_extra_filter() 370 fd = socket(p.recv_family, p.protocol, 0); in test_filter_no_reuseport() 395 fd1 = socket(AF_INET, SOCK_DGRAM, 0); in test_filter_without_bind() 398 fd2 = socket(AF_INET, SOCK_DGRAM, 0); in test_filter_without_bind()
|
D | txring_overwrite.c | 79 fdr = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_IP)); in setup_rx() 92 fdt = socket(PF_PACKET, SOCK_RAW, 0); in setup_tx()
|
D | reuseport_addr_any.c | 75 rcv_fds[i] = socket(family, proto, 0); in build_rcv_fd() 147 fd = socket(family, proto, 0); in connect_and_send() 249 test_fd = socket(AF_INET, proto, 0); in test_proto()
|
D | tcp_inq.c | 124 server_fd = socket(family, SOCK_STREAM, 0); in main() 140 fd = socket(family, SOCK_STREAM, 0); in main()
|
D | psock_snd.c | 223 fd = socket(PF_PACKET, cfg_use_dgram ? SOCK_DGRAM : SOCK_RAW, 0); in do_tx() 257 fd = socket(PF_INET, SOCK_DGRAM, 0); in setup_rx() 295 fd = socket(PF_PACKET, SOCK_RAW, 0); in setup_sniffer()
|
D | socket.c | 48 fd = socket(s->domain, s->type, s->protocol); in run_tests()
|
D | ipv6_flowlabel.c | 191 fdt = socket(PF_INET6, SOCK_DGRAM, 0); in main() 195 fdr = socket(PF_INET6, SOCK_DGRAM, 0); in main()
|
D | Makefile | 15 TEST_GEN_FILES = socket nettest
|
D | reuseport_dualstack.c | 56 rcv_fds[i] = socket(family, proto, 0); in build_rcv_fd() 86 fd = socket(AF_INET, proto, 0); in send_from_v4()
|
/tools/perf/trace/beauty/ |
D | Build | 17 perf-y += socket.o
|
/tools/testing/selftests/proc/ |
D | setns-dcache.c | 61 if (socket(AF_UNIX, SOCK_STREAM, 0) == -1) { in main()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | sockopt_inherit.c | 16 fd = socket(AF_INET, SOCK_STREAM, 0); in connect_to_server() 114 fd = socket(AF_INET, SOCK_STREAM, 0); in start_server()
|
D | sockmap_basic.c | 21 s = socket(AF_INET, SOCK_STREAM, 0); in connected_socket_v4()
|
D | tcp_rtt.c | 96 fd = socket(AF_INET, SOCK_STREAM, 0); in connect_to_server() 191 fd = socket(AF_INET, SOCK_STREAM, 0); in start_server()
|
/tools/usb/usbip/ |
D | configure.ac | 32 string.h sys/socket.h syslog.h unistd.h]) 44 AC_CHECK_FUNCS([memset mkdir regcomp socket strchr strerror strstr dnl
|
/tools/testing/vsock/ |
D | vsock_diag_test.c | 269 fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG); in read_vsock_stat() 365 fd = socket(AF_VSOCK, SOCK_STREAM, 0); in test_listen_socket_server() 406 fd = socket(AF_VSOCK, SOCK_STREAM, 0); in test_connect_client() 455 fd = socket(AF_VSOCK, SOCK_STREAM, 0); in test_connect_server()
|