Lines Matching refs:ttyp
75 * and pass onto (*ttyp->if_input)
81 if_input(ttyp)
82 struct ttys *ttyp;
88 DEBUG_ARG("ttyp = %lx", (long)ttyp);
90 if_n = socket_recv(ttyp->fd, (char *)if_inbuff, INBUFF_SIZE);
96 if (ttyp->up)
98 tty_detached(ttyp, 0);
104 ttyp->ones = 0;
105 if (++ttyp->zeros >= 5)
110 ttyp->zeros = 0;
111 if (++ttyp->ones >= 5)
112 tty_detached(ttyp, 0);
116 ttyp->ones = ttyp->zeros = 0;
118 (*ttyp->if_input)(ttyp, if_inbuff, if_n);