Lines Matching refs:portp
2175 char *cmd, *hostp = 0, *portp = 0, *user = 0; in tn() local
2224 if (portp == 0) { in tn()
2225 portp = *argv++; in tn()
2295 if (!portp) { in tn()
2297 portp = strdup("telnet"); in tn()
2298 } else if (*portp == '-') { in tn()
2299 portp++; in tn()
2301 } else if (*portp == '+') { in tn()
2302 portp++; in tn()
2311 error = getaddrinfo(hostname, portp, &hints, &res); in tn()
2314 error = getaddrinfo(hostname, portp, &hints, &res); in tn()