Lines Matching refs:cfg_family
80 static int cfg_family = PF_UNSPEC; variable
497 uint16_t proto = cfg_family == PF_INET ? ETH_P_IP : ETH_P_IPV6; in do_tx()
524 if (cfg_family == PF_INET) in do_tx()
633 if (cfg_family == PF_INET && type == SOCK_RAW) { in do_flush_datagram()
714 if (cfg_family != PF_UNSPEC) in parse_opts()
716 cfg_family = PF_INET; in parse_opts()
720 if (cfg_family != PF_UNSPEC) in parse_opts()
722 cfg_family = PF_INET6; in parse_opts()
773 setup_sockaddr(cfg_family, daddr, &cfg_dst_addr); in parse_opts()
774 setup_sockaddr(cfg_family, saddr, &cfg_src_addr); in parse_opts()
798 do_test(cfg_family, SOCK_RAW, IPPROTO_EGP); in main()
800 do_test(cfg_family, SOCK_RAW, IPPROTO_RAW); in main()
802 do_test(cfg_family, SOCK_STREAM, 0); in main()
804 do_test(cfg_family, SOCK_DGRAM, 0); in main()