Lines Matching full:downstream
124 Channel *downstream; /* Downstream mux*/
455 if (permitted_opens[i].downstream != c)
477 permitted_opens[i].downstream = NULL;
2429 * with downstream messages from the mux client and upstream messages
2431 * 1) Handling downstream messages is straightforward and happens
2435 * downstream client, we have to replace the channel IDs used by the
2448 * downstream mux client are removed.
2453 * specific downstream client based on the listen-address/port.
2460 * receive packets from downstream mux clients:
2466 channel_proxy_downstream(Channel *downstream)
2478 /* sshbuf_dump(&downstream->input, stderr); */
2479 if ((r = sshbuf_get_string_direct(&downstream->input, &cp, &have))
2494 downstream->self, type);
2510 c->mux_ctx = downstream; /* point to mux client */
2511 c->mux_downstream_id = id; /* original downstream id */
2537 c->mux_ctx = downstream; /* point to mux client */
2580 permitted_opens[idx].downstream = downstream;
2621 * to correct downstream:
2623 * replaces local (proxy) channel ID with downstream channel ID.
2630 Channel *downstream;
2643 if ((downstream = c->mux_ctx) == NULL)
2677 (r = sshbuf_put_stringb(&downstream->output, b)) != 0) {
3654 permitted_opens[idx].downstream = NULL;
3750 permitted_opens[i].downstream = NULL;
3788 permitted_opens[i].downstream = NULL;
3832 permitted_opens[num_permitted_opens].downstream = NULL;
4112 * returns either the newly connected channel or the downstream channel
4124 if (permitted_opens[i].downstream)
4125 return permitted_opens[i].downstream;