Lines Matching defs:hints
77 struct addrinfo hints, *res;
81 memset(&hints, 0, sizeof(hints));
82 hints.ai_flags = AI_CANONNAME;
83 hints.ai_family = AF_UNSPEC;
85 if (getaddrinfo(hostname, NULL, &hints, &res) == 0) {
232 struct addrinfo hints, *res = NULL, *resNew = NULL, *last = NULL,
246 memset(&hints, 0, sizeof(hints));
247 hints.ai_flags = AI_CANONNAME;
248 hints.ai_family = AF_UNSPEC;
250 error = getaddrinfo(hostname, NULL, &hints, &res);