Searched refs:chindex (Results 1 - 5 of 5) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/pptp/
H A Dpptp_gre.c374 int chindex; local
386 if (ioctl(*poxfd, PPPIOCGCHAN, &chindex) == -1)
391 if ((err = ioctl(*pppfd, PPPIOCATTCHAN, &chindex)) < 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/
H A Dsys-linux.c189 static int chindex; /* channel index (new style driver) */ variable
457 if (ioctl(fd, PPPIOCGCHAN, &chindex) == -1) {
461 dbglog("using channel %d", chindex);
468 if (ioctl(fd, PPPIOCATTCHAN, &chindex) < 0) {
469 error("Couldn't attach to channel %d: %m", chindex);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/pppoecd/
H A Dpppoe.c464 int chindex; local
476 if (ioctl(*poxfd, PPPIOCGCHAN, &chindex) == -1) {
483 if ((err = ioctl(*pppfd, PPPIOCATTCHAN, &chindex)) < 0) {
H A Dpppoe2.c496 int chindex; local
508 if (ioctl(*poxfd, PPPIOCGCHAN, &chindex) == -1) {
515 if ((err = ioctl(*pppfd, PPPIOCATTCHAN, &chindex)) < 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/l2tpd-0.69/
H A Dcontrol.c856 //int chindex;
881 int chindex; local
884 if (ioctl(pox_fd, PPPIOCGCHAN, &chindex) == -1)
892 if ((ret = ioctl(ppp_fd, PPPIOCATTCHAN, &chindex)) < 0)

Completed in 127 milliseconds