Searched refs:master_fd (Results 1 – 1 of 1) sorted by relevance
179 static int master_fd = -1; /* pty for old-style demand mode, master */ variable370 if (master_fd >= 0) in sys_close()371 close(master_fd); in sys_close()693 int master_fd; in bundle_attach() local698 master_fd = open("/dev/ppp", O_RDWR); in bundle_attach()699 if (master_fd < 0) in bundle_attach()701 if (ioctl(master_fd, PPPIOCATTACH, &ifnum) < 0) { in bundle_attach()703 close(master_fd); in bundle_attach()710 modify_flags(master_fd, 0, SC_MULTILINK); in bundle_attach()711 close(master_fd); in bundle_attach()[all …]