Home
last modified time | relevance | path

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

/external/linux-kselftest/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()
320 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
263 addr4->sin_port = htons(cfg_port); in setup_sockaddr()
271 addr6->sin6_port = htons(cfg_port); in setup_sockaddr()
362 cfg_port = atoi(optarg); in main()
Dso_txtime.c30 static uint16_t cfg_port = 8000; variable
281 addr6.sin6_port = htons(cfg_port); in main()
290 addr4.sin_port = htons(cfg_port); 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()
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()
461 cfg_port = strtoul(optarg, NULL, 0); in parse_opts()
Dmsg_zerocopy.c83 static int cfg_port = 8000; variable
305 addr4->sin_port = htons(cfg_port); in setup_sockaddr()
313 addr6->sin6_port = htons(cfg_port); in setup_sockaddr()
744 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()
/external/linux-kselftest/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()