Lines Matching refs:fam
964 static int get_dns_host(struct aafilter *a, const char *addr, int fam)
975 he = gethostbyname2(addr, fam == AF_UNSPEC ? AF_INET : fam);
978 if (fam == AF_UNSPEC) {
1016 int fam = preferred_family;
1021 if (fam == AF_UNIX || strncmp(addr, "unix:", 5) == 0) {
1032 if (fam == AF_PACKET || strncmp(addr, "link:", 5) == 0) {
1057 if (fam == AF_NETLINK || strncmp(addr, "netlink:", 8) == 0) {
1092 fam = AF_INET;
1095 fam = AF_INET6;
1154 if (get_prefix_1(&a.addr, addr, fam)) {
1155 if (get_dns_host(&a, addr, fam)) {
1294 const struct filter *f, int fam)
1310 if (worker(line, f, fam) < 0)