• Home
  • Raw
  • Download

Lines Matching refs:ch_temp

1377 			pss->ch_temp = sshd_zalloc(sizeof(*pss->ch_temp));  in lws_ssh_parse_plaintext()
1378 if (!pss->ch_temp) in lws_ssh_parse_plaintext()
1381 pss->ch_temp->type = SSH_CH_TYPE_SESSION; in lws_ssh_parse_plaintext()
1382 pss->ch_temp->pss = pss; in lws_ssh_parse_plaintext()
1387 pss->ch_temp->sender_ch = pss->len; in lws_ssh_parse_plaintext()
1392 pss->ch_temp->window = (int32_t)pss->len; in lws_ssh_parse_plaintext()
1396 pss->ch_temp->max_pkt = pss->len; in lws_ssh_parse_plaintext()
1397 pss->ch_temp->peer_window_est = LWS_SSH_INITIAL_WINDOW; in lws_ssh_parse_plaintext()
1398 pss->ch_temp->server_ch = (uint32_t)pss->next_ch_num++; in lws_ssh_parse_plaintext()
1404 pss->ch_temp->next = pss->ch_list; in lws_ssh_parse_plaintext()
1405 pss->ch_list = pss->ch_temp; in lws_ssh_parse_plaintext()
1408 &pss->ch_temp->priv); in lws_ssh_parse_plaintext()
1409 write_task(pss, pss->ch_temp, SSH_WT_CH_OPEN_CONF); in lws_ssh_parse_plaintext()
1431 pss->ch_temp = ssh_get_server_ch(pss, pss->ch_recip); in lws_ssh_parse_plaintext()
1446 pss->channel_doing_spawn = pss->ch_temp->server_ch; in lws_ssh_parse_plaintext()
1448 !pss->vhd->ops->shell(pss->ch_temp->priv, in lws_ssh_parse_plaintext()
1450 lws_ssh_exec_finish, pss->ch_temp)) { in lws_ssh_parse_plaintext()
1453 write_task_insert(pss, pss->ch_temp, in lws_ssh_parse_plaintext()
1529 n = pss->vhd->ops->pty_req(pss->ch_temp->priv, in lws_ssh_parse_plaintext()
1535 write_task(pss, pss->ch_temp, SSH_WT_CHRQ_SUCC); in lws_ssh_parse_plaintext()
1548 if (pss->vhd->ops->set_env(pss->ch_temp->priv, in lws_ssh_parse_plaintext()
1573 pss->channel_doing_spawn = pss->ch_temp->server_ch; in lws_ssh_parse_plaintext()
1576 !pss->vhd->ops->exec(pss->ch_temp->priv, pss->wsi, in lws_ssh_parse_plaintext()
1578 lws_ssh_exec_finish, pss->ch_temp)) { in lws_ssh_parse_plaintext()
1581 write_task_insert(pss, pss->ch_temp, in lws_ssh_parse_plaintext()
1612 pss->ch_temp->type = SSH_CH_TYPE_SCP; in lws_ssh_parse_plaintext()
1613 pss->ch_temp->sub = (lws_subprotocol *)scp; in lws_ssh_parse_plaintext()
1618 write_task(pss, pss->ch_temp, SSH_WT_CHRQ_SUCC); in lws_ssh_parse_plaintext()
1621 write_task(pss, pss->ch_temp, SSH_WT_SCP_ACK_OKAY); in lws_ssh_parse_plaintext()
1632 pss->ch_temp->type = SSH_CH_TYPE_SFTP; in lws_ssh_parse_plaintext()
1668 n = pss->vhd->ops->pty_req(pss->ch_temp->priv, in lws_ssh_parse_plaintext()
1728 write_task(pss, pss->ch_temp, in lws_ssh_parse_plaintext()
1855 write_task(pss, pss->ch_temp, SSH_WT_CHRQ_FAILURE); in lws_ssh_parse_plaintext()
1860 if (pss->ch_temp) { in lws_ssh_parse_plaintext()
1861 free(pss->ch_temp); in lws_ssh_parse_plaintext()
1862 pss->ch_temp = NULL; in lws_ssh_parse_plaintext()
1864 write_task(pss, pss->ch_temp, SSH_WT_CH_FAILURE); in lws_ssh_parse_plaintext()
2305 lws_p32(pp, pss->ch_temp->sender_ch); in lws_callback_raw_sshd()
2307 lws_p32(pp, pss->ch_temp->server_ch); in lws_callback_raw_sshd()
2317 pss->ch_temp = NULL; in lws_callback_raw_sshd()
2554 pss->vhd->ops->child_process_io(pss->ch_temp->priv, in lws_callback_raw_sshd()
2575 pss->vhd->ops->child_process_terminated(pss->ch_temp->priv, in lws_callback_raw_sshd()