Home | History | Annotate | Download | only in resolv

Lines Matching defs:hints

327 		struct addrinfo hints, *ai;
360 memset(&hints, 0, sizeof(hints));
361 hints.ai_family = PF_UNSPEC;
362 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
363 hints.ai_flags = AI_NUMERICHOST;
365 if (getaddrinfo(cp, sbuf, &hints, &ai) == 0 &&
454 struct addrinfo hints, *ai;
464 memset(&hints, 0, sizeof(hints));
465 hints.ai_family = PF_UNSPEC;
466 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
467 hints.ai_flags = AI_NUMERICHOST;
469 if (getaddrinfo(cp, sbuf, &hints, &ai) == 0 &&