Lines Matching defs:hints
134 struct addrinfo hints;
284 (void) memset(&hints, 0, sizeof (struct addrinfo));
285 hints.ai_family = family;
286 hints.ai_socktype = uflag ? SOCK_DGRAM : SOCK_STREAM;
287 hints.ai_protocol = uflag ? IPPROTO_UDP : IPPROTO_TCP;
289 hints.ai_flags |= AI_NUMERICHOST;
338 s = local_listen(host, uport, hints);
416 s = remote_connect(host, port, hints);
548 remote_connect(const char *host, const char *port, struct addrinfo hints)
553 if ((error = getaddrinfo(host, port, &hints, &res)))
619 local_listen(char *host, char *port, struct addrinfo hints)
626 hints.ai_flags |= AI_PASSIVE;
628 if ((error = getaddrinfo(host, port, &hints, &res)))