Lines Matching refs:writepayload
99 buf_putbyte(ses.writepayload, SSH_MSG_CHANNEL_REQUEST); in start_channel_request()
100 buf_putint(ses.writepayload, channel->remotechan); in start_channel_request()
102 buf_putstring(ses.writepayload, type, strlen(type)); in start_channel_request()
178 buf_putint(ses.writepayload, 1); /* Just the terminator */ in put_termcodes()
179 buf_putbyte(ses.writepayload, 0); /* TTY_OP_END */ in put_termcodes()
183 bufpos1 = ses.writepayload->pos; in put_termcodes()
184 buf_putint(ses.writepayload, 0); /* A placeholder for the final length */ in put_termcodes()
223 buf_putbyte(ses.writepayload, sshcode); in put_termcodes()
224 buf_putint(ses.writepayload, value); in put_termcodes()
227 buf_putbyte(ses.writepayload, 0); /* THE END, aka TTY_OP_END */ in put_termcodes()
230 bufpos2 = ses.writepayload->pos; in put_termcodes()
232 buf_setpos(ses.writepayload, bufpos1); /* Jump back */ in put_termcodes()
233 buf_putint(ses.writepayload, bufpos2 - bufpos1 - 4); /* len(termcodes) */ in put_termcodes()
234 buf_setpos(ses.writepayload, bufpos2); /* Back where we were */ in put_termcodes()
251 buf_putint(ses.writepayload, ws.ws_col); /* Cols */ in put_winsize()
252 buf_putint(ses.writepayload, ws.ws_row); /* Rows */ in put_winsize()
253 buf_putint(ses.writepayload, ws.ws_xpixel); /* Width */ in put_winsize()
254 buf_putint(ses.writepayload, ws.ws_ypixel); /* Height */ in put_winsize()
273 buf_putbyte(ses.writepayload, SSH_MSG_CHANNEL_REQUEST); in cli_chansess_winchange()
274 buf_putint(ses.writepayload, channel->remotechan); in cli_chansess_winchange()
275 buf_putstring(ses.writepayload, "window-change", 13); in cli_chansess_winchange()
276 buf_putbyte(ses.writepayload, 0); /* FALSE says the spec */ in cli_chansess_winchange()
293 buf_putbyte(ses.writepayload, 0); in send_chansess_pty_req()
300 buf_putstring(ses.writepayload, term, strlen(term)); in send_chansess_pty_req()
332 buf_putbyte(ses.writepayload, 0); /* Don't want replies */ in send_chansess_shell_req()
334 buf_putstring(ses.writepayload, cli_opts.cmd, strlen(cli_opts.cmd)); in send_chansess_shell_req()