Lines Matching refs:strioctl

188 static int strioctl __P((int, int, void *, int, int));
289 if (strioctl(fd, PPPIO_GTYPE, &typ, 0, sizeof (typ)) >= 0 &&
468 strioctl(pppfd, PPPIO_GTYPE, &typ, 0, sizeof (typ)) >= 0 &&
491 if (strioctl(pppfd, PPPIO_DEBUG, &x, sizeof (x), 0) < 0) {
499 if (strioctl(pppfd, PPPIO_NEWPPA, &x, sizeof (x), sizeof (x)) < 0) {
518 if (strioctl(pppfd, PPPIO_USETIMESTAMP, NULL, 0, 0) < 0) {
581 if (strioctl(tmpfd, PPPIO_DEBUG, &x, sizeof (x), 0) < 0) {
942 if (strioctl(fd, PPPIO_LASTMOD, NULL, 0, 0) < 0) {
1003 if (strioctl(pppfd, PPPIO_LASTMOD, NULL, 0, 0) < 0) {
1012 if (strioctl(pppfd, PPPIO_DEBUG, &x, sizeof (x), 0) < 0) {
1018 if (strioctl(pppfd, PPPIO_DEBUG, &x, sizeof (x), 0) < 0) {
1102 if (strioctl(pppfd, PPPIO_GCLEAN, &x, 0, sizeof (x)) < 0) {
1287 if (strioctl(fd, S_IOCGETMODE, &sm, sizeof (sm),
1908 if (strioctl(pppfd, PPPIO_MUX, cf, sizeof (cf), 0) < 0) {
1930 if (strioctl(pppfd, PPPIO_MUX, cf, sizeof (cf), 0) < 0) {
1958 if (strioctl(pppfd, PPPIO_MTU, cf, sizeof (cf[0]), 0) < 0) {
1966 if (strioctl(pppfd, PPPIO_XACCM, &asyncmap,
1974 if (any_compressions() && strioctl(pppfd, PPPIO_CFLAGS, cf,
1995 if (fdmuxid != -1 && strioctl(pppfd, PPPIO_XACCM, accm,
2024 if (strioctl(pppfd, PPPIO_MRU, cf, sizeof (cf[0]), 0) < 0) {
2032 if (strioctl(pppfd, PPPIO_RACCM, &asyncmap,
2040 if (any_compressions() && strioctl(pppfd, PPPIO_CFLAGS, cf,
2071 if (strioctl(pppfd, PPPIO_XFCS, &fcs, sizeof (fcs), 0) < 0) {
2099 if (strioctl(pppfd, PPPIO_RFCS, &fcs, sizeof (fcs), 0) < 0) {
2118 if (strioctl(pppfd, (for_transmit ? PPPIO_XCOMP : PPPIO_RCOMP),
2141 if (strioctl(pppfd, PPPIO_COMPLEV, &x, sizeof (x), 0) < 0) {
2162 if (strioctl(pppfd, PPPIO_CFLAGS, cf, sizeof (cf), sizeof (cf[0]))
2183 rc = strioctl(pppfd, PPPIO_GIDLE, pids, 0, sizeof (struct ppp_idle));
2205 if (strioctl(pppfd, PPPIO_GETSTAT64, &s64, 0, sizeof (s64)) >= 0) {
2213 if (strioctl(pppfd, PPPIO_GETSTAT, &s, 0, sizeof (s)) < 0) {
2238 if (strioctl(pppfd, PPPIO_PASSFILT, pass,
2245 if (strioctl(pppfd, PPPIO_ACTIVEFILT, active,
2270 if (strioctl(pppfd, PPPIO_CFLAGS, cf, sizeof (cf), sizeof (cf[0]))
2306 if (strioctl(pppfd, PPPIO_VJINIT, maxcid,
2318 if (strioctl(pppfd, PPPIO_CFLAGS, cf, sizeof (cf), sizeof (cf[0]))
2463 if (strioctl(pppfd, PPPIO_NPMODE, npi, sizeof (npi), 0) < 0) {
2911 * strioctl()
2916 strioctl(int fd, int cmd, void *ptr, int ilen, int olen)
2918 struct strioctl str;
2929 dbglog("strioctl: expected %d bytes, got %d for cmd %x\n",
3155 if (strioctl(tmpfd, PPPIO_DEBUG, &x, sizeof (x), 0) < 0) {
3638 if (strioctl(pppfd, PPPIO_BLOCKNP, &proto, sizeof (proto), 0) < 0) {
3653 if (strioctl(pppfd, PPPIO_UNBLOCKNP, &proto, sizeof (proto), 0) < 0) {