Lines Matching defs:pty_fd
467 int pty_fd, int gre_fd)
476 if (pty_fd > max_fd) max_fd = pty_fd;
478 for (;;) { /* until error happens on gre_fd or pty_fd */
490 FD_SET(pty_fd, &rfds);
525 if (FD_ISSET(pty_fd, &rfds)) {
526 if (decaps_hdlc(pty_fd, encaps_gre, gre_fd) < 0)
534 if (decaps_gre (gre_fd, encaps_hdlc, pty_fd) < 0)
537 if (dequeue_gre (encaps_hdlc, pty_fd) < 0)
542 close(pty_fd);