Lines Matching refs:hints
139 struct addrinfo hints; in main() local
311 (void) memset(&hints, 0, sizeof (struct addrinfo)); in main()
312 hints.ai_family = family; in main()
313 hints.ai_socktype = uflag ? SOCK_DGRAM : SOCK_STREAM; in main()
314 hints.ai_protocol = uflag ? IPPROTO_UDP : IPPROTO_TCP; in main()
316 hints.ai_flags |= AI_NUMERICHOST; in main()
365 s = local_listen(host, uport, hints); in main()
443 s = remote_connect(host, port, hints); in main()
576 remote_connect(const char *host, const char *port, struct addrinfo hints) in remote_connect() argument
581 if ((error = getaddrinfo(host, port, &hints, &res))) in remote_connect()
647 local_listen(const char *host, const char *port, struct addrinfo hints) in local_listen() argument
654 hints.ai_flags |= AI_PASSIVE; in local_listen()
656 if ((error = getaddrinfo(host, port, &hints, &res))) in local_listen()