Lines Matching defs:strport
3759 char ntop[NI_MAXHOST], strport[NI_MAXSERV];
3793 snprintf(strport, sizeof strport, "%d", fwd->listen_port);
3794 if ((r = getaddrinfo(addr, strport, &hints, &aitop)) != 0) {
3830 strport, sizeof(strport),
3839 verbose("socket [%s]:%s: %.100s", ntop, strport,
3847 ntop, strport);
3856 ntop, strport, strerror(errno));
3862 error("listen [%s]:%s: %.100s", ntop, strport,
4537 char strport[MAXIMUM(NI_MAXSERV, sizeof(sunaddr->sun_path))];
4545 strlcpy(strport, sunaddr->sun_path, sizeof(strport));
4550 ntop, sizeof(ntop), strport, sizeof(strport),
4560 cctx->host, ntop, strport);
4574 cctx->host, ntop, strport, strerror(errno));
4583 cctx->host, ntop, strport, sock);
4615 char strport[NI_MAXSERV];
4646 snprintf(strport, sizeof strport, "%d", port);
4647 if ((gaierr = getaddrinfo(name, strport, &hints, &cctx->aitop))
4956 char strport[NI_MAXSERV];
4971 snprintf(strport, sizeof strport, "%d", port);
4972 if ((gaierr = getaddrinfo(NULL, strport,
5064 char strport[NI_MAXSERV];
5125 snprintf(strport, sizeof strport, "%u", X11_BASE_PORT + display_number);
5126 if ((gaierr = getaddrinfo(buf, strport, &hints, &aitop)) != 0) {