Lines Matching refs:ssh_session
262 rc = wolfSSH_SFTP_SendWritePacket(sshc->ssh_session, sshc->handle, in wsftp_send()
268 rc = wolfSSH_get_error(sshc->ssh_session); in wsftp_send()
306 rc = wolfSSH_SFTP_SendReadPacket(sshc->ssh_session, sshc->handle, in wsftp_recv()
311 rc = wolfSSH_get_error(sshc->ssh_session); in wsftp_recv()
396 sshc->ssh_session = wolfSSH_new(sshc->ctx); in wssh_connect()
397 if(!sshc->ssh_session) { in wssh_connect()
402 rc = wolfSSH_SetUsername(sshc->ssh_session, conn->user); in wssh_connect()
410 wolfSSH_SetUserAuthCtx(sshc->ssh_session, data); in wssh_connect()
412 rc = wolfSSH_set_fd(sshc->ssh_session, (int)sock); in wssh_connect()
430 wolfSSH_free(sshc->ssh_session); in wssh_connect()
459 rc = wolfSSH_connect(sshc->ssh_session); in wssh_statemach_act()
461 rc = wolfSSH_get_error(sshc->ssh_session); in wssh_statemach_act()
483 rc = wolfSSH_SFTP_connect(sshc->ssh_session); in wssh_statemach_act()
485 rc = wolfSSH_get_error(sshc->ssh_session); in wssh_statemach_act()
506 name = wolfSSH_SFTP_RealPath(sshc->ssh_session, (char *)"."); in wssh_statemach_act()
507 rc = wolfSSH_get_error(sshc->ssh_session); in wssh_statemach_act()
570 rc = wolfSSH_SFTP_STAT(sshc->ssh_session, sftp_scp->path, in wssh_statemach_act()
602 rc = wolfSSH_SFTP_Open(sshc->ssh_session, sftp_scp->path, in wssh_statemach_act()
606 rc = wolfSSH_get_error(sshc->ssh_session); in wssh_statemach_act()
714 rc = wolfSSH_SFTP_Open(sshc->ssh_session, sftp_scp->path, in wssh_statemach_act()
718 rc = wolfSSH_get_error(sshc->ssh_session); in wssh_statemach_act()
742 rc = wolfSSH_SFTP_STAT(sshc->ssh_session, sftp_scp->path, &attrs); in wssh_statemach_act()
744 rc = wolfSSH_get_error(sshc->ssh_session); in wssh_statemach_act()
812 rc = wolfSSH_SFTP_Close(sshc->ssh_session, sshc->handle, in wssh_statemach_act()
844 name = wolfSSH_SFTP_LS(sshc->ssh_session, sftp_scp->path); in wssh_statemach_act()
846 rc = wolfSSH_get_error(sshc->ssh_session); in wssh_statemach_act()
890 wolfSSH_free(sshc->ssh_session); in wssh_statemach_act()
1124 if(conn->proto.sshc.ssh_session) { in wsftp_disconnect()