Lines Matching defs:strport
2731 char ntop[NI_MAXHOST], strport[NI_MAXSERV];
2761 snprintf(strport, sizeof strport, "%d", listen_port);
2762 if ((r = getaddrinfo(addr, strport, &hints, &aitop)) != 0) {
2798 strport, sizeof(strport), NI_NUMERICHOST|NI_NUMERICSERV) != 0) {
2815 ntop, strport);
3250 char ntop[NI_MAXHOST], strport[NI_MAXSERV];
3257 ntop, sizeof(ntop), strport, sizeof(strport),
3275 "%.100s", cctx->host, ntop, strport,
3283 "in progress, fd=%d", cctx->host, ntop, strport, sock);
3309 char strport[NI_MAXSERV];
3317 snprintf(strport, sizeof strport, "%d", port);
3318 if ((gaierr = getaddrinfo(host, strport, &hints, &cctx.aitop)) != 0) {
3427 char strport[NI_MAXSERV];
3441 snprintf(strport, sizeof strport, "%d", port);
3442 if ((gaierr = getaddrinfo(NULL, strport, &hints, &aitop)) != 0) {
3554 char strport[NI_MAXSERV];
3641 snprintf(strport, sizeof strport, "%u", 6000 + display_number);
3642 if ((gaierr = getaddrinfo(buf, strport, &hints, &aitop)) != 0) {