Searched refs:hints (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/netbsd/resolv/ |
D | res_init.c | 325 struct addrinfo hints, *ai; in __res_vinit() local 358 memset(&hints, 0, sizeof(hints)); in __res_vinit() 359 hints.ai_family = PF_UNSPEC; in __res_vinit() 360 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __res_vinit() 361 hints.ai_flags = AI_NUMERICHOST; in __res_vinit() 363 if (getaddrinfo(cp, sbuf, &hints, &ai) == 0 && in __res_vinit() 452 struct addrinfo hints, *ai; in __res_vinit() local 462 memset(&hints, 0, sizeof(hints)); in __res_vinit() 463 hints.ai_family = PF_UNSPEC; in __res_vinit() 464 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __res_vinit() [all …]
|
/bionic/libc/netbsd/net/ |
D | getaddrinfo.c | 340 const struct addrinfo *hints, struct addrinfo **res) in getaddrinfo() argument 369 if (hints) { in getaddrinfo() 371 if (hints->ai_addrlen || hints->ai_canonname || in getaddrinfo() 372 hints->ai_addr || hints->ai_next) in getaddrinfo() 374 if (hints->ai_flags & ~AI_MASK) in getaddrinfo() 376 switch (hints->ai_family) { in getaddrinfo() 386 memcpy(pai, hints, sizeof(*pai)); in getaddrinfo() 1404 struct addrinfo hints, *res0, *res; in _gethtent() local 1446 hints = *pai; in _gethtent() 1447 hints.ai_flags = AI_NUMERICHOST; in _gethtent() [all …]
|