Lines Matching defs:hints
1063 struct addrinfo hints, *res;
1069 memset(&hints, 0, sizeof(hints));
1070 hints.ai_family = af;
1071 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
1072 hints.ai_flags = AI_PASSIVE;
1074 error = getaddrinfo(NULL, "0", &hints, &res);
1178 memset(&hints, 0, sizeof(hints));
1179 hints.ai_family = af;
1181 error = getaddrinfo(name, NULL, &hints, &res);
1186 hints.ai_family = AF_INET;
1187 error = getaddrinfo(name, NULL, &hints, &res);
6539 struct addrinfo hints, *res;
6605 memset(&hints, 0, sizeof(hints));
6606 hints.ai_family = family;
6607 hints.ai_socktype = socktype;
6608 hints.ai_protocol = protocol;
6609 hints.ai_flags = flags;
6611 error = getaddrinfo(hptr, pptr, &hints, &res0);
6674 struct addrinfo hints, *res = NULL;
6703 memset(&hints, 0, sizeof(hints));
6704 hints.ai_family = AF_UNSPEC;
6705 hints.ai_socktype = SOCK_DGRAM; /* make numeric port happy */
6706 hints.ai_flags = AI_NUMERICHOST; /* don't do any name resolution */
6708 error = getaddrinfo(hostp, pbuf, &hints, &res);