Searched refs:strioctl (Results 1 - 23 of 23) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/samba/source/lib/
H A Dinterfaces.c170 struct strioctl strioctl; local
183 strioctl.ic_cmd = SIOCGIFCONF;
184 strioctl.ic_dp = buff;
185 strioctl.ic_len = sizeof(buff);
186 if (ioctl(fd, I_STR, &strioctl) < 0) {
193 n = strioctl.ic_len / sizeof(struct ifreq);
198 if (n*sizeof(struct ifreq) + sizeof(int) == strioctl.ic_len) {
209 strioctl.ic_cmd = SIOCGIFFLAGS;
210 strioctl
[all...]
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/
H A Dsys-sunos4.c101 static int strioctl __P((int, int, void *, int, int));
132 strioctl(pppfd, PPPIO_DEBUG, &x, sizeof(int), 0);
136 if (strioctl(pppfd, PPPIO_NEWPPA, &ifunit, 0, sizeof(int)) < 0)
147 strioctl(iffd, PPPIO_DEBUG, &x, sizeof(int), 0);
149 if (strioctl(iffd, PPPIO_ATTACH, &ifunit, sizeof(int), 0) < 0)
155 strioctl(iffd, PPPIO_DEBUG, &x, sizeof(int), 0);
157 if (strioctl(iffd, PPPIO_NEWPPA, &ifunit, sizeof(int), 0) < 0)
160 if (strioctl(iffd, PPPIO_BIND, &x, sizeof(int), 0) < 0)
295 if (strioctl(pppfd, PPPIO_GCLEAN, &x, 0, sizeof(x)) < 0)
698 if (strioctl(pppf
1290 strioctl(fd, cmd, ptr, ilen, olen) function
[all...]
H A Dsys-solaris.c207 static int strioctl __P((int, int, void *, int, int));
561 strioctl(pppfd, PPPIO_DEBUG, &x, sizeof(int), 0);
565 if (strioctl(pppfd, PPPIO_NEWPPA, &ifunit, 0, sizeof(int)) < 0)
587 strioctl(ifd, PPPIO_DEBUG, &x, sizeof(int), 0);
598 strioctl(i6fd, PPPIO_DEBUG, &x, sizeof(int), 0);
715 if (strioctl(ipfd, SIOCSIFNAME, (char *)&ifr, sizeof ifr, 0) < 0)
881 strioctl(pppfd, PPPIO_DEBUG, &i, sizeof(int), 0);
898 strioctl(pppfd, PPPIO_DEBUG, &i, sizeof(int), 0);
958 if (strioctl(pppfd, PPPIO_GCLEAN, &x, 0, sizeof(x)) < 0)
1449 if (strioctl(pppf
2368 strioctl(fd, cmd, ptr, ilen, olen) function
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/
H A Dsys-sunos4.c149 static int strioctl __P((int, int, void *, int, int));
180 strioctl(pppfd, PPPIO_DEBUG, &x, sizeof(int), 0);
184 if (strioctl(pppfd, PPPIO_NEWPPA, &ifunit, 0, sizeof(int)) < 0)
195 strioctl(iffd, PPPIO_DEBUG, &x, sizeof(int), 0);
197 if (strioctl(iffd, PPPIO_ATTACH, &ifunit, sizeof(int), 0) < 0)
203 strioctl(iffd, PPPIO_DEBUG, &x, sizeof(int), 0);
205 if (strioctl(iffd, PPPIO_NEWPPA, &ifunit, sizeof(int), 0) < 0)
208 if (strioctl(iffd, PPPIO_BIND, &x, sizeof(int), 0) < 0)
368 if (strioctl(pppfd, PPPIO_GCLEAN, &x, 0, sizeof(x)) < 0)
815 if (strioctl(pppf
1407 strioctl(fd, cmd, ptr, ilen, olen) function
[all...]
H A Dsys-solaris.c256 static int strioctl __P((int, int, void *, int, int));
610 strioctl(pppfd, PPPIO_DEBUG, &x, sizeof(int), 0);
614 if (strioctl(pppfd, PPPIO_NEWPPA, &ifunit, 0, sizeof(int)) < 0)
636 strioctl(ifd, PPPIO_DEBUG, &x, sizeof(int), 0);
647 strioctl(i6fd, PPPIO_DEBUG, &x, sizeof(int), 0);
764 if (strioctl(ipfd, SIOCSIFNAME, (char *)&ifr, sizeof ifr, 0) < 0)
955 strioctl(pppfd, PPPIO_DEBUG, &i, sizeof(int), 0);
972 strioctl(pppfd, PPPIO_DEBUG, &i, sizeof(int), 0);
1032 if (strioctl(pppfd, PPPIO_GCLEAN, &x, 0, sizeof(x)) < 0)
1551 if (strioctl(pppf
2499 strioctl(fd, cmd, ptr, ilen, olen) function
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/
H A Dsys-sunos4.c149 static int strioctl __P((int, int, void *, int, int));
180 strioctl(pppfd, PPPIO_DEBUG, &x, sizeof(int), 0);
184 if (strioctl(pppfd, PPPIO_NEWPPA, &ifunit, 0, sizeof(int)) < 0)
195 strioctl(iffd, PPPIO_DEBUG, &x, sizeof(int), 0);
197 if (strioctl(iffd, PPPIO_ATTACH, &ifunit, sizeof(int), 0) < 0)
203 strioctl(iffd, PPPIO_DEBUG, &x, sizeof(int), 0);
205 if (strioctl(iffd, PPPIO_NEWPPA, &ifunit, sizeof(int), 0) < 0)
208 if (strioctl(iffd, PPPIO_BIND, &x, sizeof(int), 0) < 0)
368 if (strioctl(pppfd, PPPIO_GCLEAN, &x, 0, sizeof(x)) < 0)
815 if (strioctl(pppf
1407 strioctl(fd, cmd, ptr, ilen, olen) function
[all...]
H A Dsys-solaris.c256 static int strioctl __P((int, int, void *, int, int));
610 strioctl(pppfd, PPPIO_DEBUG, &x, sizeof(int), 0);
614 if (strioctl(pppfd, PPPIO_NEWPPA, &ifunit, 0, sizeof(int)) < 0)
636 strioctl(ifd, PPPIO_DEBUG, &x, sizeof(int), 0);
647 strioctl(i6fd, PPPIO_DEBUG, &x, sizeof(int), 0);
764 if (strioctl(ipfd, SIOCSIFNAME, (char *)&ifr, sizeof ifr, 0) < 0)
955 strioctl(pppfd, PPPIO_DEBUG, &i, sizeof(int), 0);
972 strioctl(pppfd, PPPIO_DEBUG, &i, sizeof(int), 0);
1032 if (strioctl(pppfd, PPPIO_GCLEAN, &x, 0, sizeof(x)) < 0)
1551 if (strioctl(pppf
2499 strioctl(fd, cmd, ptr, ilen, olen) function
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-mips/
H A Dshmiq.h22 struct strioctl { struct
224 int get_sioc (struct strioctl *sioc, unsigned long arg);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-mips64/
H A Dshmiq.h28 struct strioctl { struct
230 int get_sioc (struct strioctl *sioc, unsigned long arg);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-mips/
H A Dshmiq.h22 struct strioctl { struct
224 int get_sioc (struct strioctl *sioc, unsigned long arg);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-mips64/
H A Dshmiq.h28 struct strioctl { struct
230 int get_sioc (struct strioctl *sioc, unsigned long arg);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm/
H A Dshmiq.h22 struct strioctl { struct
224 int get_sioc (struct strioctl *sioc, unsigned long arg);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm/
H A Dshmiq.h22 struct strioctl { struct
224 int get_sioc (struct strioctl *sioc, unsigned long arg);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sgi/char/
H A Dstreamable.c34 /* Fetchs the strioctl information from user space for I_STR ioctls */
36 get_sioc (struct strioctl *sioc, unsigned long arg)
40 v = verify_area (VERIFY_WRITE, (void *) arg, sizeof (struct strioctl));
43 if (copy_from_user (sioc, (void *) arg, sizeof (struct strioctl)))
117 struct strioctl sioc;
275 struct strioctl sioc;
H A Dshmiq.c170 shmiq_sioc (int device, int cmd, struct strioctl *s)
202 struct strioctl sioc;
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppstats/
H A Dpppstats.c221 strioctl(fd, cmd, ptr, ilen, olen) function
225 struct strioctl str;
234 fprintf(stderr, "strioctl: expected %d bytes, got %d for cmd %x\n",
243 if (strioctl(s, PPPIO_GETSTAT, curp, 0, sizeof(*curp)) < 0) {
257 if (strioctl(s, PPPIO_GETCSTAT, csp, 0, sizeof(*csp)) < 0) {
548 if (strioctl(s, PPPIO_ATTACH, &unit, sizeof(int), 0) < 0) {
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppstats/
H A Dpppstats.c221 strioctl(fd, cmd, ptr, ilen, olen) function
225 struct strioctl str;
234 fprintf(stderr, "strioctl: expected %d bytes, got %d for cmd %x\n",
243 if (strioctl(s, PPPIO_GETSTAT, curp, 0, sizeof(*curp)) < 0) {
257 if (strioctl(s, PPPIO_GETCSTAT, csp, 0, sizeof(*csp)) < 0) {
548 if (strioctl(s, PPPIO_ATTACH, &unit, sizeof(int), 0) < 0) {
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppstats/
H A Dpppstats.c221 strioctl(fd, cmd, ptr, ilen, olen) function
225 struct strioctl str;
234 fprintf(stderr, "strioctl: expected %d bytes, got %d for cmd %x\n",
243 if (strioctl(s, PPPIO_GETSTAT, curp, 0, sizeof(*curp)) < 0) {
257 if (strioctl(s, PPPIO_GETCSTAT, csp, 0, sizeof(*csp)) < 0) {
548 if (strioctl(s, PPPIO_ATTACH, &unit, sizeof(int), 0) < 0) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc64/solaris/
H A Dioctl.c237 struct strioctl { struct
463 struct strioctl si;
523 if (copy_from_user(&si, (struct strioctl *)A(arg), sizeof(struct strioctl)))
531 &((struct strioctl*)A(arg))->len);
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/plugins/rp-pppoe/
H A Dif.c80 int strioctl(int fd, int cmd, int timout, int len, char *dp);
756 if ( strioctl(fd, DLIOCRAW, -1, 0, NULL) < 0 ) {
965 int strioctl(int fd, int cmd, int timout, int len, char *dp) function
967 struct strioctl sioc;
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/plugins/rp-pppoe/
H A Dif.c80 int strioctl(int fd, int cmd, int timout, int len, char *dp);
756 if ( strioctl(fd, DLIOCRAW, -1, 0, NULL) < 0 ) {
965 int strioctl(int fd, int cmd, int timout, int len, char *dp) function
967 struct strioctl sioc;
/asus-wl-520gu-7.0.1.45/src/router/pppoe-relay/
H A Dif.c82 int strioctl(int fd, int cmd, int timout, int len, char *dp);
774 if ( strioctl(fd, DLIOCRAW, -1, 0, NULL) < 0 ) {
983 int strioctl(int fd, int cmd, int timout, int len, char *dp) function
985 struct strioctl sioc;
/asus-wl-520gu-7.0.1.45/src/router/rp-pppoe/
H A Dif.c76 int strioctl(int fd, int cmd, int timout, int len, char *dp);
717 if ( strioctl(fd, DLIOCRAW, -1, 0, NULL) < 0 ) {
926 int strioctl(int fd, int cmd, int timout, int len, char *dp) function
928 struct strioctl sioc;

Completed in 308 milliseconds