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

/asus-wl-520gu-7.0.1.45/src/router/ppp/pppoecd/
H A Dsys-linux.c88 static int chindex; /* channel index (new style driver) */ variable
297 if (ioctl(fd, PPPIOCGCHAN, &chindex) == -1) {
301 dbglog("using channel %d", chindex);
307 if (ioctl(fd, PPPIOCATTCHAN, &chindex) < 0) {
308 error("Couldn't attach to channel %d: %m", chindex);
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/
H A Dsys-linux.c131 static int chindex; /* channel index (new style driver) */ variable
377 if (ioctl(fd, PPPIOCGCHAN, &chindex) == -1) {
381 dbglog("using channel %d", chindex);
387 if (ioctl(fd, PPPIOCATTCHAN, &chindex) < 0) {
388 error("Couldn't attach to channel %d: %m", chindex);
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/
H A Dsys-linux.c194 static int chindex; /* channel index (new style driver) */ variable
465 if (ioctl(fd, PPPIOCGCHAN, &chindex) == -1) {
469 dbglog("using channel %d", chindex);
476 if (ioctl(fd, PPPIOCATTCHAN, &chindex) < 0) {
477 error("Couldn't attach to channel %d: %m", chindex);
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/
H A Dsys-linux.c194 static int chindex; /* channel index (new style driver) */ variable
465 if (ioctl(fd, PPPIOCGCHAN, &chindex) == -1) {
469 dbglog("using channel %d", chindex);
476 if (ioctl(fd, PPPIOCATTCHAN, &chindex) < 0) {
477 error("Couldn't attach to channel %d: %m", chindex);

Completed in 183 milliseconds