Searched refs:dns_allowed_type (Results 1 – 1 of 1) sorted by relevance
| /freebsd/lib/libcasper/services/cap_dns/ |
| H A D | cap_dns.c | 377 dns_allowed_type(const nvlist_t *limits, const char *type) in dns_allowed_type() function 474 if (!dns_allowed_type(limits, "NAME2ADDR") && in dns_gethostbyname() 475 !dns_allowed_type(limits, "NAME")) in dns_gethostbyname() 499 if (!dns_allowed_type(limits, "ADDR2NAME") && in dns_gethostbyaddr() 500 !dns_allowed_type(limits, "ADDR")) in dns_gethostbyaddr() 526 if (!dns_allowed_type(limits, "ADDR2NAME") && in dns_getnameinfo() 527 !dns_allowed_type(limits, "ADDR")) in dns_getnameinfo() 620 if (!dns_allowed_type(limits, "NAME2ADDR") && in dns_getaddrinfo() 621 !dns_allowed_type(limits, "NAME")) in dns_getaddrinfo() 712 if (!dns_allowed_type(oldlimits, type)) in dns_limit()
|