Lines Matching refs:fam
955 static int get_dns_host(struct aafilter *a, const char *addr, int fam) in get_dns_host() argument
966 he = gethostbyname2(addr, fam == AF_UNSPEC ? AF_INET : fam); in get_dns_host()
969 if (fam == AF_UNSPEC) { in get_dns_host()
1007 int fam = preferred_family; in parse_hostcond() local
1012 if (fam == AF_UNIX || strncmp(addr, "unix:", 5) == 0) { in parse_hostcond()
1023 if (fam == AF_PACKET || strncmp(addr, "link:", 5) == 0) { in parse_hostcond()
1048 if (fam == AF_NETLINK || strncmp(addr, "netlink:", 8) == 0) { in parse_hostcond()
1083 fam = AF_INET; in parse_hostcond()
1086 fam = AF_INET6; in parse_hostcond()
1145 if (get_prefix_1(&a.addr, addr, fam)) { in parse_hostcond()
1146 if (get_dns_host(&a, addr, fam)) { in parse_hostcond()
1285 const struct filter *f, int fam) in generic_record_read() argument
1301 if (worker(line, f, fam) < 0) in generic_record_read()