Lines Matching refs:slave_fd
180 static int slave_fd = -1; /* pty for old-style demand mode, slave */
278 if (!hungup || ppp_fd == slave_fd)
280 if (slave_fd >= 0) {
281 set_ppp_fd(slave_fd);
375 if (slave_fd >= 0)
376 close(slave_fd);
418 && ioctl(slave_fd, PPPIOCXFERUNIT, 0) < 0) {
613 set_ppp_fd(slave_fd);
2703 if (!get_pty(&master_fd, &slave_fd, loop_name, 0))
2706 set_ppp_fd(slave_fd);