Searched refs:cfg_tcp (Results 1 – 2 of 2) sorted by relevance
35 static bool cfg_tcp; variable81 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()
53 static bool cfg_tcp; variable292 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()