Lines Matching defs:port
44 static av_cold int libssh_create_ssh_session(LIBSSHContext *libssh, const char* hostname, unsigned int port)
53 ssh_options_set(libssh->session, SSH_OPTIONS_PORT, &port);
196 int port = 22, ret;
203 &port,
210 // a port of 0 will use a port from ~/.ssh/config or the default value 22
211 if (port < 0 || port > 65535)
212 port = 0;
214 if ((ret = libssh_create_ssh_session(libssh, hostname, port)) < 0)