Lines Matching full:slave_fd
179 static int slave_fd = -1; /* pty for old-style demand mode, slave */
275 if (!hungup || ppp_fd == slave_fd)
277 if (slave_fd >= 0) {
278 set_ppp_fd(slave_fd);
369 if (slave_fd >= 0)
370 close(slave_fd);
412 && ioctl(slave_fd, PPPIOCXFERUNIT, 0) < 0) {
607 set_ppp_fd(slave_fd);
2638 if (!get_pty(&master_fd, &slave_fd, loop_name, 0))
2641 set_ppp_fd(slave_fd);