Home | History | Annotate | Download | only in pppd

Lines Matching full:ifunit

481 	    ifunit = -1;
495 if (ioctl(fd, PPPIOCCONNECT, &ifunit) < 0) {
496 error("Couldn't attach to PPP unit %d: %m", ifunit);
512 if (looped && x != ifunit)
513 fatal("transfer_ppp failed: wanted unit %d, got %d", ifunit, x);
514 ifunit = x;
633 ifunit = req_unit;
634 x = ioctl(ppp_dev_fd, PPPIOCNEWUNIT, &ifunit);
637 ifunit = -1;
638 x = ioctl(ppp_dev_fd, PPPIOCNEWUNIT, &ifunit);
663 if (ioctl(ppp_fd, PPPIOCCONNECT, &ifunit) < 0)
664 fatal("Couldn't attach to PPP unit %d: %m", ifunit);
714 ifunit = ifnum;
1167 if (ifunit >= 0 && ioctl(sock_fd, SIOCSIFMTU, (caddr_t) &ifr) < 0)
1182 if (ifunit >= 0 && ioctl(sock_fd, SIOCGIFMTU, (caddr_t) &ifr) < 0) {
2658 if (ioctl(ppp_fd, PPPIOCGUNIT, &ifunit) < 0)