Lines Matching refs:hints
414 struct addrinfo hints, *res;
423 memset(&hints, 0, sizeof(hints));
424 hints.ai_family = family;
425 hints.ai_socktype = SOCK_DGRAM;
426 hints.ai_protocol = proto->p_proto;
428 &hints, &res)) != 0) {
769 struct addrinfo hints, *res;
771 memset(&hints, 0, sizeof(hints));
772 hints.ai_family = server_ai->ai_family;
773 hints.ai_socktype = server_ai->ai_socktype;
774 hints.ai_protocol = server_ai->ai_protocol;
775 hints.ai_flags = AI_PASSIVE;
777 if ((ret = getaddrinfo(NULL, "0", &hints, &res)) != 0) {