Home | History | Annotate | Download | only in dropbear

Lines Matching refs:ses

64 	type = buf_getstring(ses.payload, NULL);
65 wantreply = buf_getbool(ses.payload);
68 cli_ses.retval = buf_getint(ses.payload);
87 if (ses.chancount > 1) {
99 buf_putbyte(ses.writepayload, SSH_MSG_CHANNEL_REQUEST);
100 buf_putint(ses.writepayload, channel->remotechan);
102 buf_putstring(ses.writepayload, type, strlen(type));
178 buf_putint(ses.writepayload, 1); /* Just the terminator */
179 buf_putbyte(ses.writepayload, 0); /* TTY_OP_END */
183 bufpos1 = ses.writepayload->pos;
184 buf_putint(ses.writepayload, 0); /* A placeholder for the final length */
223 buf_putbyte(ses.writepayload, sshcode);
224 buf_putint(ses.writepayload, value);
227 buf_putbyte(ses.writepayload, 0); /* THE END, aka TTY_OP_END */
230 bufpos2 = ses.writepayload->pos;
232 buf_setpos(ses.writepayload, bufpos1); /* Jump back */
233 buf_putint(ses.writepayload, bufpos2 - bufpos1 - 4); /* len(termcodes) */
234 buf_setpos(ses.writepayload, bufpos2); /* Back where we were */
251 buf_putint(ses.writepayload, ws.ws_col); /* Cols */
252 buf_putint(ses.writepayload, ws.ws_row); /* Rows */
253 buf_putint(ses.writepayload, ws.ws_xpixel); /* Width */
254 buf_putint(ses.writepayload, ws.ws_ypixel); /* Height */
269 for (i = 0; i < ses.chansize; i++) {
270 channel = ses.channels[i];
273 buf_putbyte(ses.writepayload, SSH_MSG_CHANNEL_REQUEST);
274 buf_putint(ses.writepayload, channel->remotechan);
275 buf_putstring(ses.writepayload, "window-change", 13);
276 buf_putbyte(ses.writepayload, 0); /* FALSE says the spec */
293 buf_putbyte(ses.writepayload, 0);
300 buf_putstring(ses.writepayload, term, strlen(term));
332 buf_putbyte(ses.writepayload, 0); /* Don't want replies */
334 buf_putstring(ses.writepayload, cli_opts.cmd, strlen(cli_opts.cmd));