Lines Matching defs:strport
2811 char ntop[NI_MAXHOST], strport[NI_MAXSERV];
2841 snprintf(strport, sizeof strport, "%d", listen_port);
2842 if ((r = getaddrinfo(addr, strport, &hints, &aitop)) != 0) {
2878 strport, sizeof(strport), NI_NUMERICHOST|NI_NUMERICSERV) != 0) {
2895 ntop, strport);
3332 char ntop[NI_MAXHOST], strport[NI_MAXSERV];
3339 ntop, sizeof(ntop), strport, sizeof(strport),
3357 "%.100s", cctx->host, ntop, strport,
3365 "in progress, fd=%d", cctx->host, ntop, strport, sock);
3389 char strport[NI_MAXSERV];
3397 snprintf(strport, sizeof strport, "%d", port);
3398 if ((gaierr = getaddrinfo(host, strport, &hints, &cctx.aitop)) != 0) {
3507 char strport[NI_MAXSERV];
3521 snprintf(strport, sizeof strport, "%d", port);
3522 if ((gaierr = getaddrinfo(NULL, strport, &hints, &aitop)) != 0) {
3640 char strport[NI_MAXSERV];
3707 snprintf(strport, sizeof strport, "%u", 6000 + display_number);
3708 if ((gaierr = getaddrinfo(buf, strport, &hints, &aitop)) != 0) {