/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/rc/ |
H A D | udhcpc.c | 298 int unit, ifunit; local 305 if ((ifunit = wan_prefix(wan_ifname, wanprefix)) < 0) 308 snprintf(prefix, sizeof(prefix), "wan%d_x", ifunit); 309 else snprintf(prefix, sizeof(prefix), "wan%d_", ifunit); 312 stop_zcip(ifunit); 316 if (get_dualwan_by_unit(ifunit) == WANS_DUALWAN_IF_USB && 470 int unit, ifunit; local 474 if ((ifunit = wan_prefix(wan_ifname, wanprefix)) < 0) 477 snprintf(prefix, sizeof(prefix), "wan%d_x", ifunit); 478 else snprintf(prefix, sizeof(prefix), "wan%d_", ifunit); 785 int unit, ifunit; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/rc/ |
H A D | udhcpc.c | 298 int unit, ifunit; local 305 if ((ifunit = wan_prefix(wan_ifname, wanprefix)) < 0) 308 snprintf(prefix, sizeof(prefix), "wan%d_x", ifunit); 309 else snprintf(prefix, sizeof(prefix), "wan%d_", ifunit); 312 stop_zcip(ifunit); 316 if (get_dualwan_by_unit(ifunit) == WANS_DUALWAN_IF_USB && 470 int unit, ifunit; local 474 if ((ifunit = wan_prefix(wan_ifname, wanprefix)) < 0) 477 snprintf(prefix, sizeof(prefix), "wan%d_x", ifunit); 478 else snprintf(prefix, sizeof(prefix), "wan%d_", ifunit); 785 int unit, ifunit; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/rc/ |
H A D | udhcpc.c | 298 int unit, ifunit; local 305 if ((ifunit = wan_prefix(wan_ifname, wanprefix)) < 0) 308 snprintf(prefix, sizeof(prefix), "wan%d_x", ifunit); 309 else snprintf(prefix, sizeof(prefix), "wan%d_", ifunit); 312 stop_zcip(ifunit); 316 if (get_dualwan_by_unit(ifunit) == WANS_DUALWAN_IF_USB && 470 int unit, ifunit; local 474 if ((ifunit = wan_prefix(wan_ifname, wanprefix)) < 0) 477 snprintf(prefix, sizeof(prefix), "wan%d_x", ifunit); 478 else snprintf(prefix, sizeof(prefix), "wan%d_", ifunit); 785 int unit, ifunit; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/accel-pptp/src/pppd/ |
H A D | sys-linux.c | 492 ifunit = -1; 506 if (ioctl(fd, PPPIOCCONNECT, &ifunit) < 0) { 507 error("Couldn't attach to PPP unit %d: %m", ifunit); 523 if (looped && x != ifunit) 524 fatal("transfer_ppp failed: wanted unit %d, got %d", ifunit, x); 525 ifunit = x; 644 ifunit = (req_unit >= 0) ? req_unit : req_minunit; 646 x = ioctl(ppp_dev_fd, PPPIOCNEWUNIT, &ifunit); 648 warn("Couldn't allocate PPP unit %d as it is already in use", ifunit); 649 ifunit [all...] |
H A D | 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...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/pppd/pppd/ |
H A D | sys-linux.c | 492 ifunit = -1; 506 if (ioctl(fd, PPPIOCCONNECT, &ifunit) < 0) { 507 error("Couldn't attach to PPP unit %d: %m", ifunit); 523 if (looped && x != ifunit) 524 fatal("transfer_ppp failed: wanted unit %d, got %d", ifunit, x); 525 ifunit = x; 644 ifunit = (req_unit >= 0) ? req_unit : req_minunit; 646 x = ioctl(ppp_dev_fd, PPPIOCNEWUNIT, &ifunit); 648 warn("Couldn't allocate PPP unit %d as it is already in use", ifunit); 649 ifunit [all...] |
H A D | 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...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/accel-pptp/src/pppd/ |
H A D | sys-linux.c | 492 ifunit = -1; 506 if (ioctl(fd, PPPIOCCONNECT, &ifunit) < 0) { 507 error("Couldn't attach to PPP unit %d: %m", ifunit); 523 if (looped && x != ifunit) 524 fatal("transfer_ppp failed: wanted unit %d, got %d", ifunit, x); 525 ifunit = x; 644 ifunit = (req_unit >= 0) ? req_unit : req_minunit; 646 x = ioctl(ppp_dev_fd, PPPIOCNEWUNIT, &ifunit); 648 warn("Couldn't allocate PPP unit %d as it is already in use", ifunit); 649 ifunit [all...] |
H A D | 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...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/accel-pptp/src/pppd/ |
H A D | sys-linux.c | 492 ifunit = -1; 506 if (ioctl(fd, PPPIOCCONNECT, &ifunit) < 0) { 507 error("Couldn't attach to PPP unit %d: %m", ifunit); 523 if (looped && x != ifunit) 524 fatal("transfer_ppp failed: wanted unit %d, got %d", ifunit, x); 525 ifunit = x; 644 ifunit = (req_unit >= 0) ? req_unit : req_minunit; 646 x = ioctl(ppp_dev_fd, PPPIOCNEWUNIT, &ifunit); 648 warn("Couldn't allocate PPP unit %d as it is already in use", ifunit); 649 ifunit [all...] |
H A D | 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...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/pppd/pppd/ |
H A D | sys-linux.c | 492 ifunit = -1; 506 if (ioctl(fd, PPPIOCCONNECT, &ifunit) < 0) { 507 error("Couldn't attach to PPP unit %d: %m", ifunit); 523 if (looped && x != ifunit) 524 fatal("transfer_ppp failed: wanted unit %d, got %d", ifunit, x); 525 ifunit = x; 644 ifunit = (req_unit >= 0) ? req_unit : req_minunit; 646 x = ioctl(ppp_dev_fd, PPPIOCNEWUNIT, &ifunit); 648 warn("Couldn't allocate PPP unit %d as it is already in use", ifunit); 649 ifunit [all...] |
H A D | 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...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/pppd/pppd/ |
H A D | sys-linux.c | 492 ifunit = -1; 506 if (ioctl(fd, PPPIOCCONNECT, &ifunit) < 0) { 507 error("Couldn't attach to PPP unit %d: %m", ifunit); 523 if (looped && x != ifunit) 524 fatal("transfer_ppp failed: wanted unit %d, got %d", ifunit, x); 525 ifunit = x; 644 ifunit = (req_unit >= 0) ? req_unit : req_minunit; 646 x = ioctl(ppp_dev_fd, PPPIOCNEWUNIT, &ifunit); 648 warn("Couldn't allocate PPP unit %d as it is already in use", ifunit); 649 ifunit [all...] |
H A D | 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...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/accel-pptp/src/pppd/plugins/pppol2tp/ |
H A D | pppol2tp.c | 219 ifunit, ifname); 229 netif_set_mtu(ifunit, mtu); 283 if ((ifunit >= 0) && ioctl(pppol2tp_fd, PPPIOCSMRU, (caddr_t) &mru) < 0)
|
H A D | openl2tp.c | 177 int unit = ifunit;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/pppd/pppd/plugins/pppol2tp/ |
H A D | pppol2tp.c | 219 ifunit, ifname); 229 netif_set_mtu(ifunit, mtu); 283 if ((ifunit >= 0) && ioctl(pppol2tp_fd, PPPIOCSMRU, (caddr_t) &mru) < 0)
|
H A D | openl2tp.c | 177 int unit = ifunit;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/accel-pptp/src/pppd/plugins/pppol2tp/ |
H A D | pppol2tp.c | 219 ifunit, ifname); 229 netif_set_mtu(ifunit, mtu); 283 if ((ifunit >= 0) && ioctl(pppol2tp_fd, PPPIOCSMRU, (caddr_t) &mru) < 0)
|
H A D | openl2tp.c | 177 int unit = ifunit;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/accel-pptp/src/pppd/plugins/pppol2tp/ |
H A D | pppol2tp.c | 219 ifunit, ifname); 229 netif_set_mtu(ifunit, mtu); 283 if ((ifunit >= 0) && ioctl(pppol2tp_fd, PPPIOCSMRU, (caddr_t) &mru) < 0)
|
H A D | openl2tp.c | 177 int unit = ifunit;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/pppd/pppd/plugins/pppol2tp/ |
H A D | pppol2tp.c | 219 ifunit, ifname); 229 netif_set_mtu(ifunit, mtu); 283 if ((ifunit >= 0) && ioctl(pppol2tp_fd, PPPIOCSMRU, (caddr_t) &mru) < 0)
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/pppd/pppd/plugins/pppol2tp/ |
H A D | pppol2tp.c | 219 ifunit, ifname); 229 netif_set_mtu(ifunit, mtu); 283 if ((ifunit >= 0) && ioctl(pppol2tp_fd, PPPIOCSMRU, (caddr_t) &mru) < 0)
|