HomeSort by relevance Sort by last modified time
    Searched full:ifunit (Results 1 - 6 of 6) sorted by null

  /external/ppp/pppd/
sys-linux.c 480 ifunit = -1;
494 if (ioctl(fd, PPPIOCCONNECT, &ifunit) < 0) {
495 error("Couldn't attach to PPP unit %d: %m", ifunit);
511 if (looped && x != ifunit)
512 fatal("transfer_ppp failed: wanted unit %d, got %d", ifunit, x);
513 ifunit = x;
632 ifunit = req_unit;
633 x = ioctl(ppp_dev_fd, PPPIOCNEWUNIT, &ifunit);
636 ifunit = -1;
637 x = ioctl(ppp_dev_fd, PPPIOCNEWUNIT, &ifunit);
    [all...]
sys-solaris.c 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);
    [all...]
auth.c 555 if (!demand && ifunit >= 0)
562 if (ifunit >= 0)
1113 update_link_stats(ifunit);
    [all...]
pppd.h 214 extern int ifunit; /* Interface unit number */
467 void set_ifunit __P((int)); /* set stuff that depends on ifunit */
    [all...]
ipcp.c     [all...]
main.c 129 int ifunit; /* Interface unit number */ variable
781 info("Using interface %s%d", PPP_DRV_NAME, ifunit);
782 slprintf(ifname, sizeof(ifname), "%s%d", PPP_DRV_NAME, ifunit);
    [all...]

Completed in 593 milliseconds