Lines Matching refs:fam
1451 static int get_dns_host(struct aafilter *a, const char *addr, int fam) in get_dns_host() argument
1462 he = gethostbyname2(addr, fam == AF_UNSPEC ? AF_INET : fam); in get_dns_host()
1465 if (fam == AF_UNSPEC) { in get_dns_host()
1529 int fam = preferred_family; in parse_hostcond() local
1532 if (fam == AF_UNIX || strncmp(addr, "unix:", 5) == 0) { in parse_hostcond()
1541 fam = AF_UNIX; in parse_hostcond()
1545 if (fam == AF_PACKET || strncmp(addr, "link:", 5) == 0) { in parse_hostcond()
1568 fam = AF_PACKET; in parse_hostcond()
1572 if (fam == AF_NETLINK || strncmp(addr, "netlink:", 8) == 0) { in parse_hostcond()
1594 fam = AF_NETLINK; in parse_hostcond()
1598 if (fam == AF_INET || !strncmp(addr, "inet:", 5)) { in parse_hostcond()
1599 fam = AF_INET; in parse_hostcond()
1602 } else if (fam == AF_INET6 || !strncmp(addr, "inet6:", 6)) { in parse_hostcond()
1603 fam = AF_INET6; in parse_hostcond()
1670 if (get_prefix_1(&a.addr, addr, fam)) { in parse_hostcond()
1671 if (get_dns_host(&a, addr, fam)) { in parse_hostcond()
1679 if (fam != AF_UNSPEC) { in parse_hostcond()
1682 filter_af_set(f, fam); in parse_hostcond()
2087 const struct filter *f, int fam) in generic_record_read() argument
2104 if (worker(line, f, fam) < 0) in generic_record_read()
3455 static int packet_show_line(char *buf, const struct filter *f, int fam) in packet_show_line() argument