Home
last modified time | relevance | path

Searched refs:strioctl (Results 1 – 25 of 78) sorted by relevance

1234

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpt.c80 struct strioctl istr; in ptsdev()
125 struct strioctl istr; in unlockpt()
163 struct strioctl istr; in __unlockpt_xpg4()
180 struct strioctl istr; in grantpt()
216 struct strioctl istr; in zonept()
/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) in strioctl() function
152 struct strioctl str; in strioctl()
267 if (strioctl(devfd, PPPTUN_SNAME, pti.pti_name, in plumb_it()
281 if (strioctl(devfd, PPPTUN_LCLADDR, &adata.localaddr, adata.locallen, in plumb_it()
290 if (strioctl(devfd, PPPTUN_SSAP, &adata.sap, sizeof (adata.sap), 0, in plumb_it()
312 if (strioctl(muxfd, PPPTUN_SINFO, &pti, sizeof (pti), 0, in plumb_it()
356 if (strioctl(muxfd, PPPTUN_GINFO, &pti, sizeof (pti), in unplumb_it()
402 if (strioctl(muxfd, PPPTUN_GNNAME, &ptn, sizeof (ptn), in query_interfaces()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c182 static int strioctl __P((int, int, void *, int, int));
936 if (strioctl(fd, PPPIO_LASTMOD, NULL, 0, 0) < 0) { in modpush()
997 if (strioctl(pppfd, PPPIO_LASTMOD, NULL, 0, 0) < 0) {
1228 if (strioctl(fd, S_IOCGETMODE, &sm, sizeof (sm),
1907 if (strioctl(pppfd, PPPIO_XACCM, &asyncmap,
1936 if (fdmuxid != -1 && strioctl(pppfd, PPPIO_XACCM, accm,
1973 if (strioctl(pppfd, PPPIO_RACCM, &asyncmap,
2179 if (strioctl(pppfd, PPPIO_PASSFILT, pass,
2186 if (strioctl(pppfd, PPPIO_ACTIVEFILT, active,
2247 if (strioctl(pppfd, PPPIO_VJINIT, maxcid,
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Devents.c99 if (strioctl(control_fd, BRIOC_NEWBRIDGE, &bnb, sizeof (bnb)) == -1) { in open_bridge_control()
104 if (strioctl(control_fd, BRIOC_TABLEMAX, &tablemax, in open_bridge_control()
162 if (strioctl(control_fd, BRIOC_VLANENAB, &bve, sizeof (bve)) == -1) { in set_vlan()
260 if (strioctl(control_fd, BRIOC_ADDLINK, &adddata, in update_port()
283 if (strioctl(control_fd, BRIOC_SETPVID, &bsv, sizeof (bsv)) == -1) { in update_port()
307 if (strioctl(control_fd, BRIOC_REMLINK, &port->linkid, in update_port()
378 if (strioctl(control_fd, BRIOC_TABLEMAX, &new_tablemax, in handle_refresh()
428 if (strioctl(control_fd, BRIOC_REMLINK, in handle_refresh()
471 if (strioctl(control_fd, BRIOC_SETSTATE, &bss, in handle_control()
538 if (strioctl(control_fd, BRIOC_SETSTATE, &bss, in receive_packet()
[all …]
H A Dmain.c85 strioctl(int fd, int cmd, void *buf, size_t buflen) in strioctl() function
88 struct strioctl ic; in strioctl()
H A Drstp.c92 if (strioctl(control_fd, BRIOC_FLUSHFWD, &bff, sizeof (bff)) == -1) { in flush_lt()
199 if (strioctl(control_fd, BRIOC_SETSTATE, &bss, sizeof (bss)) == -1) { in set_port_state()
511 if (strioctl(control_fd, BRIOC_SETSTATE, &bss, sizeof (bss)) == -1) { in rstp_add_port()
546 if (strioctl(control_fd, BRIOC_VLANENAB, &bve, sizeof (bve)) == -1) { in rstp_add_port()
H A Ddlpi.c217 if (strioctl(fd, DLIOCLOWLINK, &lowflag, sizeof (lowflag)) != 0) in port_dlpi_open()
228 if (strioctl(fd, PFIOCSETF, &pf, sizeof (pf)) == -1) in port_dlpi_open()
H A Dglobal.h71 extern ssize_t strioctl(int, int, void *, size_t);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dipaddrsel.c68 static int strioctl(int, int, void *, int);
336 if (strioctl(sock, SIOCSIP6ADDRPOLICY, new_policy, in setpolicy()
360 if ((count = strioctl(sock, SIOCGIP6ADDRPOLICY, policy_ptr, in printpolicy()
371 if ((count = strioctl(sock, SIOCGIP6ADDRPOLICY, policy_ptr, in printpolicy()
485 strioctl(int fd, int cmd, void *ptr, int ilen) in strioctl() function
487 struct strioctl str; in strioctl()
H A Din.rarpd.c139 static int strioctl(int, int, int, int, char *);
689 (void) strioctl(fd, SIOCDXARP, -1, sizeof (struct xarpreq), in add_arp()
691 if (strioctl(fd, SIOCSXARP, -1, sizeof (struct xarpreq), in add_arp()
875 if (strioctl(fd, SIOCGIFADDR, -1, sizeof (struct ifreq), in get_ifdata()
887 if (strioctl(fd, SIOCGIFNETMASK, -1, sizeof (struct ifreq), in get_ifdata()
983 strioctl(int fd, int cmd, int timout, int len, char *dp) in strioctl() function
985 struct strioctl si; in strioctl()
H A Dsyncstat.c62 struct strioctl sioc; in main()
190 struct strioctl sioc; in sample()
H A Dsyncloop.c101 struct strioctl sioc; in main()
348 struct strioctl sioc; in first_packet()
412 struct strioctl sioc; in many_packets()
/illumos-gate/usr/src/uts/common/io/
H A Dl_strplumb.c89 if (error = strioctl(vp, I_PLINK, (intptr_t)fd, 0, K_TO_K, CRED(), &id)) in kstr_plink()
101 return (strioctl(vp, I_PUNLINK, (intptr_t)mux_id, 0, in kstr_unplink()
110 return (strioctl(vp, I_PUSH, (intptr_t)mod, 0, K_TO_K, CRED(), &rval)); in kstr_push()
118 return (strioctl(vp, I_POP, 0, 0, K_TO_K, CRED(), &rval)); in kstr_pop()
147 return (strioctl(vp, cmd, arg, 0, K_TO_K, CRED(), &rval)); in kstr_ioctl()
H A Diwscons.c374 (void) strioctl(f->f_vnode, I_LOOK, (intptr_t)modname, in iwscnioctl()
384 error = strioctl(f->f_vnode, I_PUSH, in iwscnioctl()
440 (void) strioctl(lp->wl_vp, I_LOOK, (intptr_t)modname, in iwscnioctl()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppstats/
H A Dpppstats.c229 strioctl(fd, cmd, ptr, ilen, olen) in strioctl() function
233 struct strioctl str;
254 if (strioctl(s, PPPIO_GETSTAT64, (char *)curp, 0, sizeof(*curp)) >= 0)
256 if (strioctl(s, PPPIO_GETSTAT, (char *)&oldstat, 0, sizeof(oldstat)) >= 0) {
267 if (strioctl(s, PPPIO_GETSTAT, (char *)curp, 0, sizeof(*curp)) >= 0)
283 if (strioctl(s, PPPIO_GETCSTAT, (char *)csp, 0, sizeof(*csp)) < 0) {
576 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.c65 strioctl(int fd, int cmd, void *ptr, int ilen, int olen) in strioctl() function
67 struct strioctl str; in strioctl()
112 retv = strioctl(tstfd, PPPTUN_GDATA, &ptn, 0, sizeof (ptn)); in pppoe_check_options()
120 retv = strioctl(0, PPPIO_GTYPE, &intv, 0, sizeof (intv)); in pppoe_check_options()
125 retv = strioctl(0, PPPTUN_GDATA, &ptn, 0, sizeof (ptn)); in pppoe_check_options()
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_kopen.c75 struct strioctl strioc; in t_kopen()
172 error = strioctl(vp, I_FIND, (intptr_t)"timod", 0, K_TO_K, cr, &retval); in t_kopen()
183 error = strioctl(vp, I_PUSH, (intptr_t)"timod", 0, K_TO_K, cr, in t_kopen()
H A Dt_kgtstate.c70 struct strioctl strioc; in t_kgetstate()
H A Dt_kunbind.c76 struct strioctl strioc; in t_kunbind()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c77 static int strioctl(int, int, int, int, void *);
246 if (strioctl(netfd, PFIOCSETF, -1, sizeof (*fp), in init_datalink()
254 if (strioctl(netfd, SBIOCSTIME, -1, sizeof (struct timeval), in init_datalink()
258 if (strioctl(netfd, SBIOCSCHUNK, -1, sizeof (uint_t), in init_datalink()
262 if (strioctl(netfd, SBIOCSSNAP, -1, sizeof (uint_t), in init_datalink()
858 strioctl(int fd, int cmd, int timout, int len, void *dp) in strioctl() function
860 struct strioctl sioc; in strioctl()
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc_gen.c113 struct strioctl strioc; in svc_tli_kcreate()
149 error = strioctl(fp->f_vnode, I_STR, (intptr_t)&strioc, 0, K_TO_K, in svc_tli_kcreate()
/illumos-gate/usr/src/uts/common/inet/kifconf/
H A Dkifconf.c165 struct strioctl iocb; in kifioctl()
217 struct strioctl iocb; in ksetifflags()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dcommon.c121 strioctl(int fd, int cmd, void *ptr, int ilen, int olen) in strioctl() function
123 struct strioctl str; in strioctl()
H A Dcommon.h63 extern int strioctl(int fd, int cmd, void *ptr, int ilen, int olen);
/illumos-gate/usr/src/cmd/sdpadm/
H A Dsdpadm.c92 struct strioctl stri; in main()

1234