Lines Matching refs:strport
2165 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in channel_setup_fwd_listener() local
2221 snprintf(strport, sizeof strport, "%d", listen_port); in channel_setup_fwd_listener()
2222 if ((r = getaddrinfo(addr, strport, &hints, &aitop)) != 0) { in channel_setup_fwd_listener()
2238 strport, sizeof(strport), NI_NUMERICHOST|NI_NUMERICSERV) != 0) { in channel_setup_fwd_listener()
2257 debug("Local forwarding listening on %s port %s.", ntop, strport); in channel_setup_fwd_listener()
2521 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in connect_to() local
2528 snprintf(strport, sizeof strport, "%d", port); in connect_to()
2529 if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0) { in connect_to()
2538 strport, sizeof(strport), NI_NUMERICHOST|NI_NUMERICSERV) != 0) { in connect_to()
2551 error("connect_to %.100s port %s: %.100s", ntop, strport, in connect_to()
2621 char strport[NI_MAXSERV]; in x11_create_display_inet() local
2632 snprintf(strport, sizeof strport, "%d", port); in x11_create_display_inet()
2633 if ((gaierr = getaddrinfo(NULL, strport, &hints, &aitop)) != 0) { in x11_create_display_inet()
2756 char strport[NI_MAXSERV]; in x11_connect_display() local
2812 snprintf(strport, sizeof strport, "%d", 6000 + display_number); in x11_connect_display()
2813 if ((gaierr = getaddrinfo(buf, strport, &hints, &aitop)) != 0) { in x11_connect_display()