Home | History | Annotate | Download | only in pppd

Lines Matching refs:ifunit

610     if (strioctl(pppfd, PPPIO_NEWPPA, &ifunit, 0, sizeof(int)) < 0)
620 sprintf(ifname, PPP_DRV_NAME "%d", ifunit);
624 * IP will assign a unit number which hopefully is the same as ifunit.
660 if (sifppa(ifd, ifunit) < 0) {
665 fatal("Can't set ppa for unit %d: %m", ifunit);
685 if (slifname(i6fd, ifunit) < 0) {
688 fatal("Can't set ifname for unit %d: %m", ifunit);
722 if (dlpi_attach(ifd, ifunit) < 0 ||
725 fatal("Can't attach to ppp%d: %m", ifunit);
758 slprintf(ifr.ifr_name, sizeof(ifr.ifr_name), PPP_DRV_NAME "%d", ifunit);