Lines Matching refs:hints
687 struct addrinfo hints, *res, *ai;
702 memset(&hints, 0, sizeof(hints));
703 hints.ai_flags = AI_PASSIVE;
704 hints.ai_family = family;
705 hints.ai_socktype = SOCK_STREAM;
706 if (getaddrinfo(hrp->hostname, NULL, &hints, &res) == 0)
775 hints.ai_flags = AI_PASSIVE;
776 hints.ai_family = family;
777 hints.ai_socktype = SOCK_STREAM;
778 if (getaddrinfo(vhost, NULL, &hints, &res) != 0)
3453 struct addrinfo hints, *res, *r;
3457 memset(&hints, 0, sizeof(hints));
3458 hints.ai_flags = AI_PASSIVE;
3459 hints.ai_family = af;
3460 hints.ai_socktype = SOCK_STREAM;
3461 error = getaddrinfo(bindname, bindport, &hints, &res);