Lines Matching refs:hints
113 struct addrinfo hints;
117 memset(&hints, 0, sizeof(hints));
118 hints.ai_family = family;
119 hints.ai_flags = flags;
120 hints.ai_socktype = type;
121 hints.ai_protocol = proto;
124 SAFE_GETADDRINFO(host, service, &hints, &res);
126 TEST(getaddrinfo(host, service, &hints, &res));
138 struct addrinfo hints;
142 memset(&hints, 0, sizeof(hints));
143 hints.ai_family = family;
144 hints.ai_flags = AI_CANONNAME;
146 SAFE_GETADDRINFO(shortname, 0, &hints, &res);