Lines Matching refs:cfg_family
59 static int cfg_family = PF_UNSPEC; variable
446 if (cfg_family != PF_UNSPEC) in parse_opts()
448 cfg_family = PF_INET; in parse_opts()
452 if (cfg_family != PF_UNSPEC) in parse_opts()
454 cfg_family = PF_INET6; in parse_opts()
519 bind_addr = cfg_family == PF_INET6 ? "::" : "0.0.0.0"; in parse_opts()
521 setup_sockaddr(cfg_family, bind_addr, &cfg_dst_addr); in parse_opts()
526 if (cfg_family == PF_UNSPEC) in parse_opts()
535 if (cfg_family == PF_INET) in parse_opts()
655 fd = socket(cfg_family, cfg_tcp ? SOCK_STREAM : SOCK_DGRAM, 0); in main()
678 set_pmtu_discover(fd, cfg_family == PF_INET); in main()