Lines Matching refs:pty
36 #include <pty.h>
240 int init = 0; /* Has pppd initialized the pty? */
242 int pty_fd = -1; /* File descriptor of pty */
314 /* send from pty off via GRE */
316 syslog(LOG_ERR, "CTRL: PTY read or GRE write failed (pty,gre)=(%d,%d)", pty_fd, gre_fd);
319 /* send from GRE off to pty */
322 syslog(LOG_ERR, "CTRL: GRE-tunnel has collapsed (GRE read or PTY write failed (gre,pty)=(%d,%d))", gre_fd, pty_fd);
324 syslog(LOG_ERR, "CTRL: GRE read or PTY write failed (gre,pty)=(%d,%d)", gre_fd, pty_fd);
542 * retn: pty file descriptor
561 /* userspace ppp doesn't need to waste a real pty/tty pair */
570 /* Finds an open pty/tty pair */