Lines Matching defs:pty_fd
102 int pty_fd, int gre_fd)
111 if (pty_fd > max_fd) max_fd = pty_fd;
113 for (;;) { /* until error happens on gre_fd or pty_fd */
123 FD_SET(pty_fd, &rfds);
158 if (FD_ISSET(pty_fd, &rfds)) {
159 if (decaps_hdlc(pty_fd, encaps_gre, gre_fd) < 0)
167 if (decaps_gre (gre_fd, encaps_hdlc, pty_fd) < 0)
170 if (dequeue_gre (encaps_hdlc, pty_fd) < 0)
175 close(pty_fd);