Lines Matching refs:hints
2163 struct addrinfo hints, *ai, *aitop; in channel_setup_fwd_listener() local
2217 memset(&hints, 0, sizeof(hints)); in channel_setup_fwd_listener()
2218 hints.ai_family = IPv4or6; in channel_setup_fwd_listener()
2219 hints.ai_flags = wildcard ? AI_PASSIVE : 0; in channel_setup_fwd_listener()
2220 hints.ai_socktype = SOCK_STREAM; in channel_setup_fwd_listener()
2222 if ((r = getaddrinfo(addr, strport, &hints, &aitop)) != 0) { in channel_setup_fwd_listener()
2520 struct addrinfo hints, *ai, *aitop; in connect_to() local
2525 memset(&hints, 0, sizeof(hints)); in connect_to()
2526 hints.ai_family = IPv4or6; in connect_to()
2527 hints.ai_socktype = SOCK_STREAM; in connect_to()
2529 if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0) { in connect_to()
2620 struct addrinfo hints, *ai, *aitop; in x11_create_display_inet() local
2628 memset(&hints, 0, sizeof(hints)); in x11_create_display_inet()
2629 hints.ai_family = IPv4or6; in x11_create_display_inet()
2630 hints.ai_flags = x11_use_localhost ? 0: AI_PASSIVE; in x11_create_display_inet()
2631 hints.ai_socktype = SOCK_STREAM; in x11_create_display_inet()
2633 if ((gaierr = getaddrinfo(NULL, strport, &hints, &aitop)) != 0) { in x11_create_display_inet()
2755 struct addrinfo hints, *ai, *aitop; in x11_connect_display() local
2809 memset(&hints, 0, sizeof(hints)); in x11_connect_display()
2810 hints.ai_family = IPv4or6; in x11_connect_display()
2811 hints.ai_socktype = SOCK_STREAM; in x11_connect_display()
2813 if ((gaierr = getaddrinfo(buf, strport, &hints, &aitop)) != 0) { in x11_connect_display()