Home
last modified time | relevance | path

Searched refs:buff2_avail (Results 1 – 1 of 1) sorted by relevance

/external/toybox/toys/pending/
Dtelnetd.c57 int buff1_avail, buff2_avail; member
214 curr = start = tm->buff2+tm->buff2_avail; in handle_iacs()
350 if (tm->new_fd >= 0 && tm->buff2_avail < BUFSIZE) FD_SET(tm->new_fd, &rd); in telnetd_main()
351 if (tm->pty_fd > 0 && (tm->buff2_avail - tm->buff2_written) > 0) in telnetd_main()
393 if ((c = read(tm->new_fd, tm->buff2+tm->buff2_avail, in telnetd_main()
394 BUFSIZE-tm->buff2_avail)) <= 0) break; in telnetd_main()
396 tm->buff2_avail += c; in telnetd_main()
398 tm->buff2_avail - tm->buff2_written)) < 0) break; in telnetd_main()
403 tm->buff2_avail - tm->buff2_written)) < 0) break; in telnetd_main()
413 if (tm->buff2_written == tm->buff2_avail) in telnetd_main()
[all …]