Lines Matching refs:port

1859 		    c->self, c->connect_ctx.host, c->connect_ctx.port);  in channel_post_connecting()
1886 c->connect_ctx.host, c->connect_ctx.port); in channel_post_connecting()
3471 int port, sock; local
3483 port = PORT_STREAMLOCAL;
3494 port = fwd->connect_port;
3499 port = PORT_STREAMLOCAL;
3532 c->host_port = port;
3540 const char *host, u_short port) argument
3549 if (strcmp(c->path, host) == 0 && c->listening_port == port) {
3922 const char *host, u_short port) argument
3932 if (open_listen_match_tcpip(perm, host, port, 0))
3944 (r = sshpkt_put_u32(ssh, port)) != 0 ||
4024 char *host, int port) argument
4030 fwd_ident(who, where), host, port);
4036 local ? host : 0, local ? port : 0,
4037 local ? NULL : host, NULL, local ? 0 : port, NULL);
4098 int port; local
4102 if ((port = a2port(p)) > 0)
4103 return port;
4184 connect_to_helper(struct ssh *ssh, const char *name, int port, int socktype, argument
4193 if (port == PORT_STREAMLOCAL) {
4222 snprintf(strport, sizeof strport, "%d", port);
4236 cctx->port = port;
4241 name, port, strerror(errno));
4250 connect_to(struct ssh *ssh, const char *host, int port, argument
4258 sock = connect_to_helper(ssh, host, port, SOCK_STREAM, ctype, rname,
4266 c->host_port = port;
4329 channel_connect_to_port(struct ssh *ssh, const char *host, u_short port, argument
4344 if (open_match(perm, host, port)) {
4355 if (open_match(perm, host, port)) {
4365 ssh_remote_ipaddr(ssh), ssh_remote_port(ssh), host, port);
4372 sock = connect_to_helper(ssh, host, port, SOCK_STREAM, ctype, rname,
4381 c->host_port = port;
4512 u_short port; local
4523 port = 6000 + display_number;
4528 snprintf(strport, sizeof strport, "%d", port);
4560 debug2_f("bind port %d: %.100s", port,