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