Home
last modified time | relevance | path

Searched refs:cfg_tcp (Results 1 – 2 of 2) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/net/
Dudpgso_bench_rx.c35 static bool cfg_tcp; variable
81 fd = socket(PF_INET6, cfg_tcp ? SOCK_STREAM : SOCK_DGRAM, 0); in do_socket()
208 cfg_tcp = true; in parse_opts()
219 if (cfg_tcp && cfg_verify) in parse_opts()
228 fd = do_socket(cfg_tcp); in do_recv()
234 if (cfg_tcp) in do_recv()
244 cfg_tcp ? "tcp" : "udp", in do_recv()
Dudpgso_bench_tx.c53 static bool cfg_tcp; variable
292 cfg_tcp = true; in parse_opts()
308 if (cfg_tcp && !cfg_connected) in parse_opts()
362 fd = socket(cfg_family, cfg_tcp ? SOCK_STREAM : SOCK_DGRAM, 0); in main()
386 if (cfg_tcp) in main()
403 cfg_tcp ? "tcp" : "udp", in main()