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)
1550 if (strioctl(pppfd, PPPIO_MTU, &mtu, sizeof(mtu), 0) < 0) {
1559 if (strioctl(pppfd, PPPIO_XACCM, &asyncmap, sizeof(asyncmap), 0) < 0)
1565 strioctl(pppfd, PPPIO_CFLAGS, cf, sizeof(cf), sizeof(int)) < 0)
1581 && strioctl(pppfd, PPPIO_XACCM, accm, sizeof(ext_accm), 0) < 0) {
1600 if (strioctl(pppfd, PPPIO_MRU, &mru, sizeof(mru), 0) < 0) {
1609 if (strioctl(pppfd, PPPIO_RACCM, &asyncmap, sizeof(asyncmap), 0) < 0)
1615 strioctl(pppfd, PPPIO_CFLAGS, cf, sizeof(cf), sizeof(int)) < 0)
1629 if (strioctl(pppfd, (for_transmit? PPPIO_XCOMP: PPPIO_RCOMP),
1646 if (strioctl(pppfd, PPPIO_CFLAGS, cf, sizeof(cf), sizeof(int)) < 0) {
1660 return strioctl(pppfd, PPPIO_GIDLE, ip, 0, sizeof(struct ppp_idle)) >= 0;
1674 strioctl(pppfd, PPPIO_GETSTAT, &s, 0, sizeof(s)) < 0) {
1696 if (strioctl(pppfd, PPPIO_PASSFILT, pass,
1703 if (strioctl(pppfd, PPPIO_ACTIVEFILT, active,
1725 if (strioctl(pppfd, PPPIO_CFLAGS, cf, sizeof(cf), sizeof(int)) < 0) {
1746 if (strioctl(pppfd, PPPIO_VJINIT, maxcid, sizeof(maxcid), 0) < 0) {
1754 if (strioctl(pppfd, PPPIO_CFLAGS, cf, sizeof(cf), sizeof(int)) < 0) {
1823 if (strioctl(pppfd, PPPIO_NPMODE, &npi, 2 * sizeof(int), 0) < 0) {
2503 strioctl(fd, cmd, ptr, ilen, olen)
2507 struct strioctl str;
2516 dbglog("strioctl: expected %d bytes, got %d for cmd %x\n",