Lines Matching refs:af
129 dns_portlist_add(dns_portlist_t *portlist, int af, in_port_t port) {
134 REQUIRE(af == AF_INET || af == AF_INET6);
140 if (af == AF_INET)
167 if (af == AF_INET)
180 dns_portlist_remove(dns_portlist_t *portlist, int af, in_port_t port) {
184 REQUIRE(af == AF_INET || af == AF_INET6);
190 if (af == AF_INET)
206 dns_portlist_match(dns_portlist_t *portlist, int af, in_port_t port) {
211 REQUIRE(af == AF_INET || af == AF_INET6);
216 if (af == AF_INET && (el->flags & DNS_PL_INET) != 0)
218 if (af == AF_INET6 && (el->flags & DNS_PL_INET6) != 0)