Home | History | Annotate | Download | only in openssh

Lines Matching refs:ostate

102 	if (c->ostate > CHAN_OUTPUT_CLOSED || next > CHAN_OUTPUT_CLOSED)
103 fatal("chan_set_ostate: bad state %d -> %d", c->ostate, next);
104 debug2("channel %d: output %s -> %s", c->self, ostates[c->ostate],
106 c->ostate = next;
182 switch (c->ostate) {
190 error("channel %d: protocol error: rcvd_ieof for ostate %d",
191 c->self, c->ostate);
199 switch (c->ostate) {
211 error("channel %d: chan_write_failed for ostate %d",
212 c->self, c->ostate);
225 switch (c->ostate) {
233 error("channel %d: internal error: obuf_empty for ostate %d",
234 c->self, c->ostate);
259 switch (c->ostate) {
268 error("channel %d: cannot send oclose for ostate %d",
269 c->self, c->ostate);
293 switch (c->ostate) {
331 if (c->ostate == CHAN_OUTPUT_OPEN)
338 switch (c->ostate) {
347 error("channel %d: chan_write_failed for ostate %d",
348 c->self, c->ostate);
373 if (c->ostate != CHAN_OUTPUT_CLOSED ||
375 error("channel %d: cannot send close for istate/ostate %d/%d",
376 c->self, c->istate, c->ostate);
390 if (c->ostate == CHAN_OUTPUT_CLOSED) {
413 if (c->ostate == CHAN_OUTPUT_WAIT_DRAIN &&
448 if (c->istate != CHAN_INPUT_CLOSED || c->ostate != CHAN_OUTPUT_CLOSED)
523 c->self, c->sock, c->istate, c->ostate,