Home | History | Annotate | Download | only in pppd

Lines Matching refs:slave_fd

178 static int slave_fd = -1;	/* pty for old-style demand mode, slave */
274 if (!hungup || ppp_fd == slave_fd)
276 if (slave_fd >= 0) {
277 set_ppp_fd(slave_fd);
368 if (slave_fd >= 0)
369 close(slave_fd);
411 && ioctl(slave_fd, PPPIOCXFERUNIT, 0) < 0) {
606 set_ppp_fd(slave_fd);
2637 if (!get_pty(&master_fd, &slave_fd, loop_name, 0))
2640 set_ppp_fd(slave_fd);