Searched defs:strioctl (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c60 * strioctl()
65 strioctl(int fd, int cmd, void *ptr, int ilen, int olen) function
67 struct strioctl str;
112 retv = strioctl(tstfd, PPPTUN_GDATA, &ptn, 0, sizeof (ptn));
120 retv = strioctl(0, PPPIO_GTYPE, &intv, 0, sizeof (intv));
125 retv = strioctl(0, PPPTUN_GDATA, &ptn, 0, sizeof (ptn));
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppstats/
H A Dpppstats.c235 strioctl(fd, cmd, ptr, ilen, olen) function
239 struct strioctl str;
249 "strioctl: expected %d bytes, got %d for cmd %x\n",
260 if (strioctl(s, PPPIO_GETSTAT64, (char *)curp, 0, sizeof(*curp)) >= 0)
262 if (strioctl(s, PPPIO_GETSTAT, (char *)&oldstat, 0, sizeof(oldstat)) >= 0) {
273 if (strioctl(s, PPPIO_GETSTAT, (char *)curp, 0, sizeof(*curp)) >= 0)
289 if (strioctl(s, PPPIO_GETCSTAT, (char *)csp, 0, sizeof(*csp)) < 0) {
582 if (strioctl(s, PPPIO_ATTACH, (char *)&unit, sizeof(int), 0) < 0) {

Completed in 30 milliseconds