Lines Matching refs:ses
129 ses.remoteclosed = cli_remoteclosed;
130 ses.buf_match_algo = cli_buf_match_algo;
133 ses.packettypes = cli_packettypes;
135 ses.isserver = 0;
144 if (ses.lastpacket == SSH_MSG_KEXINIT && cli_ses.kex_state == KEX_NOTHING) {
159 if (cli_ses.kex_state != KEX_NOTHING && ses.kexstate.recvkexinit == 0
160 && ses.kexstate.sentkexinit == 0) {
172 if (ses.kexstate.donefirstkex == 0) {
246 if (ses.chancount < 1 && !cli_opts.no_cmd) {
297 close(ses.sock);
298 ses.sock = -1;