Lines Matching defs:type
113 _uncached_getipnodebyaddr(const char *addr, int length, int type,
116 if (type == AF_INET)
117 return (_switch_gethostbyaddr_r(addr, length, type,
119 else if (type == AF_INET6)
120 return (_switch_getipnodebyaddr_r(addr, length, type,
221 * further narrow down what type of lookup we're going to do.
471 getipnodebyaddr(const void *src, size_t len, int type, int *error_num)
484 if (type == AF_INET6) {
489 } else if (type == AF_INET) {
501 if (type == AF_INET6 && IN6_IS_ADDR_UNSPECIFIED(addr6)) {
508 if ((type == AF_INET6 && len == 16) &&
531 nssin.arg.nss.host.type = AF_INET6;
590 if (type == AF_INET) {
608 nssin.arg.nss.host.type = AF_INET6;
626 if (!gethostbyaddr_r(src, len, type, buf->result,
644 if (type == AF_INET6) {
658 nssin.arg.nss.host.type = type;
681 * If we got here, unknown type.
1179 * the type of addresses specified by the af argument. AF_INET