Lines Matching refs:netfd
2744 int netfd; /* fd of logindmux connected to netf */ in doit() local
2996 if ((netfd = open("/dev/logindmux", O_RDWR)) == -1) { in doit()
3002 if (ioctl(netfd, I_LINK, f) < 0) in doit()
3020 if (ioctl(netfd, I_STR, &telnetmod) < 0) in doit()
3021 fatal(netfd, "ioctl LOGDMX_IOC_QEXCHANGE of netfd failed\n"); in doit()
3027 if (fstat(netfd, &buf) < 0) { in doit()
3039 fatal(netfd, "ioctl LOGDMX_IOC_QEXCHANGE of ptmfd failed\n"); in doit()
3041 net = netfd; in doit()
3043 cryptmod_fd = netfd; in doit()
3101 fatalperror(netfd, "fork", errno); in doit()
3115 fatalperror(netfd, line, errno); in doit()
3116 (void) close(netfd); in doit()
3223 fatalperror(netfd, LOGIN_PROGRAM, errno); in doit()