Lines Matching defs:port
231 * Convert ASCII string to TCP/IP port number.
232 * Port must be >=0 and <=65535.
238 long long port;
241 port = strtonum(s, 0, 65535, &errstr);
244 return (int)port;
362 * Returns a standardized host+port identifier string.
366 put_host_port(const char *host, u_short port)
370 if (port == 0 || port == SSH_DEFAULT_PORT)
372 if (asprintf(&hoststr, "[%s]:%d", host, (int)port) < 0)