Lines Matching defs:hint
123 getaddrinfo(const char* node, const char* service, const struct addrinfo* hint, struct addrinfo **addr)
146 if (hint)
147 switch (hint->ai_socktype)
150 switch (hint->ai_protocol)
181 if (hint)
182 *ap = *hint;
217 struct addrinfo hint;
222 memset(&hint, 0, sizeof(hint));
223 hint.ai_family = PF_UNSPEC;
233 hint.ai_socktype = SOCK_STREAM;
234 hint.ai_protocol = IPPROTO_SCTP;
244 hint.ai_socktype = SOCK_STREAM;
253 hint.ai_socktype = SOCK_DGRAM;
269 fd = getaddrinfo(s, t, &hint, &addr);
286 * some api's don't take the hint
290 p->ai_protocol = hint.ai_protocol;
292 p->ai_socktype = hint.ai_socktype;