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

1234

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpt.c78 struct strioctl istr;
123 struct strioctl istr;
139 struct strioctl istr;
175 struct strioctl istr;
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dstropts.h85 #define I_STR _IOWR('S',010,struct strioctl)
102 struct strioctl { struct
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_failfast.c47 struct strioctl si;
78 struct strioctl si;
170 struct strioctl si;
204 struct strioctl si;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/sppptun/
H A Dsppptun.c150 strioctl(int fd, int cmd, void *ptr, int ilen, int olen, const char *iocname) function
152 struct strioctl str;
267 if (strioctl(devfd, PPPTUN_SNAME, pti.pti_name,
281 if (strioctl(devfd, PPPTUN_LCLADDR, &adata.localaddr, adata.locallen,
290 if (strioctl(devfd, PPPTUN_SSAP, &adata.sap, sizeof (adata.sap), 0,
312 if (strioctl(muxfd, PPPTUN_SINFO, &pti, sizeof (pti), 0,
356 if (strioctl(muxfd, PPPTUN_GINFO, &pti, sizeof (pti),
402 if (strioctl(muxfd, PPPTUN_GNNAME, &ptn, sizeof (ptn),
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dipaddrsel.c70 static int strioctl(int, int, void *, int);
338 if (strioctl(sock, SIOCSIP6ADDRPOLICY, new_policy,
362 if ((count = strioctl(sock, SIOCGIP6ADDRPOLICY, policy_ptr,
373 if ((count = strioctl(sock, SIOCGIP6ADDRPOLICY, policy_ptr,
479 * strioctl(fd, cmd, ptr, ilen)
487 strioctl(int fd, int cmd, void *ptr, int ilen) function
489 struct strioctl str;
H A Dsyncstat.c64 struct strioctl sioc;
192 struct strioctl sioc;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Devents.c99 if (strioctl(control_fd, BRIOC_NEWBRIDGE, &bnb, sizeof (bnb)) == -1) {
104 if (strioctl(control_fd, BRIOC_TABLEMAX, &tablemax,
162 if (strioctl(control_fd, BRIOC_VLANENAB, &bve, sizeof (bve)) == -1) {
260 if (strioctl(control_fd, BRIOC_ADDLINK, &adddata,
283 if (strioctl(control_fd, BRIOC_SETPVID, &bsv, sizeof (bsv)) == -1) {
307 if (strioctl(control_fd, BRIOC_REMLINK, &port->linkid,
378 if (strioctl(control_fd, BRIOC_TABLEMAX, &new_tablemax,
428 if (strioctl(control_fd, BRIOC_REMLINK,
471 if (strioctl(control_fd, BRIOC_SETSTATE, &bss,
538 if (strioctl(control_f
[all...]
H A Dglobal.h71 extern ssize_t strioctl(int, int, void *, size_t);
H A Dmain.c85 strioctl(int fd, int cmd, void *buf, size_t buflen) function
88 struct strioctl ic;
H A Drstp.c92 if (strioctl(control_fd, BRIOC_FLUSHFWD, &bff, sizeof (bff)) == -1) {
199 if (strioctl(control_fd, BRIOC_SETSTATE, &bss, sizeof (bss)) == -1) {
511 if (strioctl(control_fd, BRIOC_SETSTATE, &bss, sizeof (bss)) == -1) {
546 if (strioctl(control_fd, BRIOC_VLANENAB, &bve, sizeof (bve)) == -1) {
H A Ddlpi.c217 if (strioctl(fd, DLIOCLOWLINK, &lowflag, sizeof (lowflag)) != 0)
228 if (strioctl(fd, PFIOCSETF, &pf, sizeof (pf)) == -1)
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c188 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(pppf
2916 strioctl(int fd, int cmd, void *ptr, int ilen, int olen) function
[all...]
/illumos-gate/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) {
/illumos-gate/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));
/illumos-gate/usr/src/uts/common/io/
H A Dl_strplumb.c91 if (error = strioctl(vp, I_PLINK, (intptr_t)fd, 0, K_TO_K, CRED(), &id))
103 return (strioctl(vp, I_PUNLINK, (intptr_t)mux_id, 0,
112 return (strioctl(vp, I_PUSH, (intptr_t)mod, 0, K_TO_K, CRED(), &rval));
120 return (strioctl(vp, I_POP, 0, 0, K_TO_K, CRED(), &rval));
149 return (strioctl(vp, cmd, arg, 0, K_TO_K, CRED(), &rval));
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc_gen.c113 struct strioctl strioc;
149 error = strioctl(fp->f_vnode, I_STR, (intptr_t)&strioc, 0, K_TO_K,
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dcommon.h65 extern int strioctl(int fd, int cmd, void *ptr, int ilen, int olen);
H A Dcommon.c123 strioctl(int fd, int cmd, void *ptr, int ilen, int olen) function
125 struct strioctl str;
/illumos-gate/usr/src/cmd/sdpadm/
H A Dsdpadm.c94 struct strioctl stri;
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_kunbind.c78 struct strioctl strioc;
H A Dt_kgtstate.c72 struct strioctl strioc;
H A Dt_kopen.c75 struct strioctl strioc;
172 error = strioctl(vp, I_FIND, (intptr_t)"timod", 0, K_TO_K, cr, &retval);
177 KTLILOG(1, "t_kopen: strioctl(I_FIND, timod): %d\n", error);
183 error = strioctl(vp, I_PUSH, (intptr_t)"timod", 0, K_TO_K, cr,
H A Dt_kbind.c76 struct strioctl strioc;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c75 static int strioctl(int, int, int, int, void *);
223 if (strioctl(netfd, PFIOCSETF, -1, sizeof (*fp),
231 if (strioctl(netfd, SBIOCSTIME, -1, sizeof (struct timeval),
235 if (strioctl(netfd, SBIOCSCHUNK, -1, sizeof (uint_t),
239 if (strioctl(netfd, SBIOCSSNAP, -1, sizeof (uint_t),
751 strioctl(int fd, int cmd, int timout, int len, void *dp) function
753 struct strioctl sioc;
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dopen.c165 struct strioctl istr;

Completed in 104 milliseconds

1234