Lines Matching refs:hints
61 struct addrinfo hints, *res;
64 memset(&hints, 0, sizeof(hints));
65 hints.ai_family = AF_UNSPEC;
66 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
67 hints.ai_flags = AI_NUMERICHOST;
68 if (getaddrinfo(s, "0", &hints, &res) == 0) {
95 struct addrinfo hints, *res0, *res;
99 memset(&hints, 0, sizeof(hints));
100 hints.ai_family = AF_UNSPEC;
101 hints.ai_socktype = SOCK_DGRAM; /* DUMMY */
102 hints.ai_flags = AI_ADDRCONFIG;
103 error = getaddrinfo(s, NULL, &hints, &res0);