Lines Matching refs:conn
59 struct connectdata *conn,
67 struct connectdata *conn,
70 struct connectdata *conn,
73 struct connectdata *conn);
141 struct connectdata *conn = data->conn; in state() local
142 struct ssh_conn *sshc = &conn->proto.sshc; in state()
252 struct connectdata *conn = data->conn; in wsftp_send() local
253 struct ssh_conn *sshc = &conn->proto.sshc; in wsftp_send()
270 conn->waitfor = KEEP_RECV; in wsftp_send()
275 conn->waitfor = KEEP_SEND; in wsftp_send()
298 struct connectdata *conn = data->conn; in wsftp_recv() local
299 struct ssh_conn *sshc = &conn->proto.sshc; in wsftp_recv()
313 conn->waitfor = KEEP_RECV; in wsftp_recv()
318 conn->waitfor = KEEP_SEND; in wsftp_recv()
338 struct connectdata *conn) in wssh_setup_connection() argument
341 (void)conn; in wssh_setup_connection()
359 authdata->sf.password.password = (byte *)data->conn->passwd; in userauth()
360 authdata->sf.password.passwordSz = (word32) strlen(data->conn->passwd); in userauth()
368 struct connectdata *conn = data->conn; in wssh_connect() local
370 curl_socket_t sock = conn->sock[FIRSTSOCKET]; in wssh_connect()
375 wssh_setup_connection(data, conn); in wssh_connect()
379 connkeep(conn, "SSH default"); in wssh_connect()
381 if(conn->handler->protocol & CURLPROTO_SCP) { in wssh_connect()
382 conn->recv[FIRSTSOCKET] = wscp_recv; in wssh_connect()
383 conn->send[FIRSTSOCKET] = wscp_send; in wssh_connect()
386 conn->recv[FIRSTSOCKET] = wsftp_recv; in wssh_connect()
387 conn->send[FIRSTSOCKET] = wsftp_send; in wssh_connect()
389 sshc = &conn->proto.sshc; in wssh_connect()
402 rc = wolfSSH_SetUsername(sshc->ssh_session, conn->user); in wssh_connect()
423 if(conn->handler->protocol & CURLPROTO_SCP) in wssh_connect()
445 struct connectdata *conn = data->conn; in wssh_statemach_act() local
446 struct ssh_conn *sshc = &conn->proto.sshc; in wssh_statemach_act()
464 conn->waitfor = KEEP_RECV; in wssh_statemach_act()
469 conn->waitfor = KEEP_SEND; in wssh_statemach_act()
488 conn->waitfor = KEEP_RECV; in wssh_statemach_act()
493 conn->waitfor = KEEP_SEND; in wssh_statemach_act()
510 conn->waitfor = KEEP_RECV; in wssh_statemach_act()
515 conn->waitfor = KEEP_SEND; in wssh_statemach_act()
609 conn->waitfor = KEEP_RECV; in wssh_statemach_act()
614 conn->waitfor = KEEP_SEND; in wssh_statemach_act()
687 conn->sockfd = conn->writesockfd; in wssh_statemach_act()
721 conn->waitfor = KEEP_RECV; in wssh_statemach_act()
726 conn->waitfor = KEEP_SEND; in wssh_statemach_act()
747 conn->waitfor = KEEP_RECV; in wssh_statemach_act()
752 conn->waitfor = KEEP_SEND; in wssh_statemach_act()
792 conn->writesockfd = conn->sockfd; in wssh_statemach_act()
818 conn->waitfor = KEEP_RECV; in wssh_statemach_act()
823 conn->waitfor = KEEP_SEND; in wssh_statemach_act()
852 conn->waitfor = KEEP_RECV; in wssh_statemach_act()
857 conn->waitfor = KEEP_SEND; in wssh_statemach_act()
904 struct connectdata *conn = data->conn; in wssh_multi_statemach() local
905 struct ssh_conn *sshc = &conn->proto.sshc; in wssh_multi_statemach()
950 *connected = Curl_conn_is_connected(data->conn, FIRSTSOCKET); in wsftp_perform()
966 struct connectdata *conn = data->conn; in wssh_do() local
967 struct ssh_conn *sshc = &conn->proto.sshc; in wssh_do()
980 if(conn->handler->protocol & CURLPROTO_SCP) in wssh_do()
991 struct connectdata *conn = data->conn; in wssh_block_statemach() local
992 struct ssh_conn *sshc = &conn->proto.sshc; in wssh_block_statemach()
1020 int dir = conn->waitfor; in wssh_block_statemach()
1021 curl_socket_t sock = conn->sock[FIRSTSOCKET]; in wssh_block_statemach()
1066 (void)conn;
1077 (void)conn;
1084 struct connectdata *conn, bool dead_connection)
1088 (void)conn;
1116 struct connectdata *conn, in wsftp_disconnect() argument
1124 if(conn->proto.sshc.ssh_session) { in wsftp_disconnect()
1135 struct connectdata *conn, in wssh_getsock() argument
1139 int dir = conn->waitfor; in wssh_getsock()
1141 sock[0] = conn->sock[FIRSTSOCKET]; in wssh_getsock()