Home | History | Annotate | Download | only in pppd

Lines Matching defs:strioctl

252 static int strioctl __P((int, int, void *, int, int));
606 strioctl(pppfd, PPPIO_DEBUG, &x, sizeof(int), 0);
610 if (strioctl(pppfd, PPPIO_NEWPPA, &ifunit, 0, sizeof(int)) < 0)
632 strioctl(ifd, PPPIO_DEBUG, &x, sizeof(int), 0);
643 strioctl(i6fd, PPPIO_DEBUG, &x, sizeof(int), 0);
760 if (strioctl(ipfd, SIOCSIFNAME, (char *)&ifr, sizeof ifr, 0) < 0)
951 strioctl(pppfd, PPPIO_DEBUG, &i, sizeof(int), 0);
968 strioctl(pppfd, PPPIO_DEBUG, &i, sizeof(int), 0);
1028 if (strioctl(pppfd, PPPIO_GCLEAN, &x, 0, sizeof(x)) < 0)
1547 if (strioctl(pppfd, PPPIO_MTU, &mtu, sizeof(mtu), 0) < 0) {
1556 if (strioctl(pppfd, PPPIO_XACCM, &asyncmap, sizeof(asyncmap), 0) < 0)
1562 strioctl(pppfd, PPPIO_CFLAGS, cf, sizeof(cf), sizeof(int)) < 0)
1578 && strioctl(pppfd, PPPIO_XACCM, accm, sizeof(ext_accm), 0) < 0) {
1597 if (strioctl(pppfd, PPPIO_MRU, &mru, sizeof(mru), 0) < 0) {
1606 if (strioctl(pppfd, PPPIO_RACCM, &asyncmap, sizeof(asyncmap), 0) < 0)
1612 strioctl(pppfd, PPPIO_CFLAGS, cf, sizeof(cf), sizeof(int)) < 0)
1626 if (strioctl(pppfd, (for_transmit? PPPIO_XCOMP: PPPIO_RCOMP),
1643 if (strioctl(pppfd, PPPIO_CFLAGS, cf, sizeof(cf), sizeof(int)) < 0) {
1657 return strioctl(pppfd, PPPIO_GIDLE, ip, 0, sizeof(struct ppp_idle)) >= 0;
1671 strioctl(pppfd, PPPIO_GETSTAT, &s, 0, sizeof(s)) < 0) {
1693 if (strioctl(pppfd, PPPIO_PASSFILT, pass,
1700 if (strioctl(pppfd, PPPIO_ACTIVEFILT, active,
1722 if (strioctl(pppfd, PPPIO_CFLAGS, cf, sizeof(cf), sizeof(int)) < 0) {
1743 if (strioctl(pppfd, PPPIO_VJINIT, maxcid, sizeof(maxcid), 0) < 0) {
1751 if (strioctl(pppfd, PPPIO_CFLAGS, cf, sizeof(cf), sizeof(int)) < 0) {
1820 if (strioctl(pppfd, PPPIO_NPMODE, &npi, 2 * sizeof(int), 0) < 0) {
2495 strioctl(fd, cmd, ptr, ilen, olen)
2499 struct strioctl str;
2508 dbglog("strioctl: expected %d bytes, got %d for cmd %x\n",