Lines Matching defs:hints
690 struct addrinfo hints;
692 memset(&hints, 0, sizeof(hints));
694 hints.ai_family = family;
695 hints.ai_socktype = socktype;
696 hints.ai_protocol = protocol;
701 hints.ai_flags |= AI_ADDRCONFIG;
705 hints.ai_flags |= AI_PASSIVE;
713 switch ((gai_ret = getaddrinfo(host, service, &hints, res))) {
731 if (hints.ai_flags & AI_ADDRCONFIG) {
732 hints.ai_flags &= ~AI_ADDRCONFIG;
733 hints.ai_flags |= AI_NUMERICHOST;