Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dudpgso_bench_rx.c38 static int cfg_port = 8000; variable
69 addr4->sin_port = htons(cfg_port); in setup_sockaddr()
75 addr6->sin6_port = htons(cfg_port); in setup_sockaddr()
321 cfg_port = strtoul(optarg, NULL, 0); in parse_opts()
Dip_defrag.c24 static unsigned short cfg_port = 9000; variable
145 udphdr.source = htons(cfg_port + 1); in send_fragment()
146 udphdr.dest = htons(cfg_port); in send_fragment()
414 addr.sin_port = htons(cfg_port); in run_test_v4()
425 addr.sin6_port = htons(cfg_port); in run_test_v6()
Dtcp_mmap.c77 static int cfg_port = 8787; variable
291 addr4->sin_port = htons(cfg_port); in setup_sockaddr()
299 addr6->sin6_port = htons(cfg_port); in setup_sockaddr()
393 cfg_port = atoi(optarg); in main()
Dpsock_snd.c47 static uint16_t cfg_port = 8000; variable
141 udph->dest = htons(cfg_port); in build_udp_header()
265 raddr.sin_port = htons(cfg_port); in setup_rx()
Dso_txtime.c35 static uint16_t cfg_port = 8000; variable
370 addr6.sin6_port = htons(cfg_port); in main()
383 addr4.sin_port = htons(cfg_port); in main()
Dudpgso_bench_tx.c62 static int cfg_port = 8000; variable
123 addr4->sin_port = htons(cfg_port); in setup_sockaddr()
129 addr6->sin6_port = htons(cfg_port); in setup_sockaddr()
462 cfg_port = strtoul(optarg, NULL, 0); in parse_opts()
Dmsg_zerocopy.c83 static int cfg_port = 8000; variable
304 addr4->sin_port = htons(cfg_port); in setup_sockaddr()
312 addr6->sin6_port = htons(cfg_port); in setup_sockaddr()
743 cfg_port = strtoul(optarg, NULL, 0); in parse_opts()
Dudpgso.c60 static unsigned short cfg_port = 9000; variable
624 addr.sin_port = htons(cfg_port); in run_test_v4()
635 addr.sin6_port = htons(cfg_port); in run_test_v6()
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c50 static const char *cfg_port = "12000"; variable
687 if (strcmp(cfg_host, a) || strcmp(cfg_port, b)) in check_getpeername_connect()
689 cfg_host, a, cfg_port, b); in check_getpeername_connect()
756 fd = sock_connect_mptcp(cfg_host, cfg_port, cfg_sock_proto); in main_loop()
848 cfg_port = optarg; in parse_opts()
898 return sock_test_tcpulp(cfg_host, cfg_port) ? 0 : 1; in main()
901 int fd = sock_listen_mptcp(cfg_host, cfg_port); in main()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_tc_tunnel.c23 static const int cfg_port = 8000; variable
129 if (tcph.dest != __bpf_constant_htons(cfg_port)) in encap_ipv4()
237 if (tcph.dest != __bpf_constant_htons(cfg_port)) in encap_ipv6()