Searched refs:cfg_port (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | udpgso_bench_rx.c | 38 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()
|
D | ip_defrag.c | 24 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()
|
D | tcp_mmap.c | 77 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()
|
D | psock_snd.c | 47 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()
|
D | so_txtime.c | 35 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()
|
D | udpgso_bench_tx.c | 62 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()
|
D | msg_zerocopy.c | 83 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()
|
D | udpgso.c | 60 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/ |
D | mptcp_connect.c | 50 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/ |
D | test_tc_tunnel.c | 23 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()
|