Home
last modified time | relevance | path

Searched refs:listen_path (Results 1 – 8 of 8) sorted by relevance

/external/openssh/
Dssh.c1406 if (options.local_forwards[i].listen_path != NULL) { in main()
1407 cp = options.local_forwards[i].listen_path; in main()
1408 p = options.local_forwards[i].listen_path = in main()
1429 if (options.remote_forwards[i].listen_path != NULL) { in main()
1430 cp = options.remote_forwards[i].listen_path; in main()
1431 p = options.remote_forwards[i].listen_path = in main()
1750 rfwd->listen_path ? rfwd->listen_path : in ssh_confirm_remote_forward()
1752 (rfwd->listen_path || rfwd->listen_host) ? ":" : "", in ssh_confirm_remote_forward()
1755 if (rfwd->listen_path == NULL && rfwd->listen_port == 0) { in ssh_confirm_remote_forward()
1783 if (rfwd->listen_path != NULL) in ssh_confirm_remote_forward()
[all …]
Dchannels.c118 char *listen_path; /* Remote side should listen path. */ member
456 free(perm->listen_path); in fwd_perm_clear()
521 const char *listen_host, const char *listen_path, int listen_port, in permission_set_add() argument
538 (*permp)[n].listen_path = MAYBE_DUP(listen_path); in permission_set_add()
3572 path = fwd->listen_path;
3580 if (fwd->listen_path == NULL) {
3584 if (strlen(fwd->listen_path) > sizeof(sunaddr.sun_path)) {
3585 error("Local listening path too long: %s", fwd->listen_path);
3589 debug3("%s: type %d path %s", __func__, type, fwd->listen_path);
3593 sock = unix_listener(fwd->listen_path, SSH_LISTEN_BACKLOG,
[all …]
Dmux.c548 (fwd->listen_path != NULL) ? fwd->listen_path : in format_forward()
563 (fwd->listen_path != NULL) ? fwd->listen_path : in format_forward()
591 if (!compare_host(a->listen_path, b->listen_path)) in compare_forward()
663 if (rfwd->listen_path != NULL) in mux_confirm_remote_forward()
665 "listen path %s", rfwd->listen_path); in mux_confirm_remote_forward()
676 free(rfwd->listen_path); in mux_confirm_remote_forward()
731 fwd.listen_path = listen_addr; in mux_master_process_open_fwd()
753 if (ftype == MUX_FWD_DYNAMIC && fwd.listen_path) { in mux_master_process_open_fwd()
854 free(fwd.listen_path); in mux_master_process_open_fwd()
899 fwd.listen_path = listen_addr; in mux_master_process_close_fwd()
[all …]
Dreadconf.c368 fwd->listen_path = newfwd->listen_path; in add_local_forward()
397 fwd->listen_path = newfwd->listen_path; in add_remote_forward()
412 free(options->local_forwards[i].listen_path); in clear_forwardings()
423 free(options->remote_forwards[i].listen_path); in clear_forwardings()
2377 fwd->listen_path = xstrdup(fwdargs[0].arg); in parse_forward()
2388 fwd->listen_path = xstrdup(fwdargs[0].arg); in parse_forward()
2406 fwd->listen_path = xstrdup(fwdargs[0].arg); in parse_forward()
2441 fwd->listen_path == NULL) in parse_forward()
2448 if ((fwd->listen_port < 0 && fwd->listen_path == NULL) || in parse_forward()
2461 if (fwd->listen_path != NULL && in parse_forward()
[all …]
Dserverloop.c871 if ((r = sshpkt_get_cstring(ssh, &fwd.listen_path, NULL)) != 0) in server_input_global_request()
874 fwd.listen_path); in server_input_global_request()
890 if ((r = sshpkt_get_cstring(ssh, &fwd.listen_path, NULL)) != 0) in server_input_global_request()
893 fwd.listen_path); in server_input_global_request()
912 free(fwd.listen_path); in server_input_global_request()
Dmisc.h26 char *listen_path; /* Path to bind domain socket. */ member
Dclientloop.c872 free(fwd.listen_path); in process_cmdline()
1546 char *listen_path; in client_request_forwarded_streamlocal() local
1550 if ((r = sshpkt_get_cstring(ssh, &listen_path, NULL)) != 0 || in client_request_forwarded_streamlocal()
1555 debug("%s: request: %s", __func__, listen_path); in client_request_forwarded_streamlocal()
1557 c = channel_connect_by_listen_path(ssh, listen_path, in client_request_forwarded_streamlocal()
1559 free(listen_path); in client_request_forwarded_streamlocal()
Dmisc.c1694 if (strcmp_maybe_null(a->listen_path, b->listen_path) == 0) in forward_equals()