Home | History | Annotate | Download | only in pppd

Lines Matching refs:ifd

922 start_charshunt(ifd, ofd)
923 int ifd, ofd;
927 cpid = safe_fork(ifd, ofd, (log_to_fd >= 0? log_to_fd: 2));
972 * (We assume ofd >= ifd which is true the way this gets called. :-).
975 charshunt(ifd, ofd, record_file)
976 int ifd, ofd;
1038 if (ifd >= FD_SETSIZE || ofd >= FD_SETSIZE || pty_master >= FD_SETSIZE)
1040 ifd, ofd, pty_master);
1056 flags = fcntl(ifd, F_GETFL);
1058 || fcntl(ifd, F_SETFL, flags | O_NONBLOCK) == -1)
1059 warn("couldn't set %s to nonblock: %m", (ifd==0? "stdin": "tty"));
1060 if (ofd != ifd) {
1103 FD_SET(ifd, &ready);
1130 if (FD_ISSET(ifd, &ready)) {
1132 nibuf = read(ifd, ibufp, PPP_MRU + PPP_HDRLEN);