Home
last modified time | relevance | path

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

1234

/titanic_41/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()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dpt.c78 struct strioctl istr; in ptsdev()
123 struct strioctl istr; in unlockpt()
139 struct strioctl istr; in grantpt()
175 struct strioctl istr; in zonept()
/titanic_41/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 && in ppp_available()
468 strioctl(pppfd, PPPIO_GTYPE, &typ, 0, sizeof (typ)) >= 0 && in sys_init()
491 if (strioctl(pppfd, PPPIO_DEBUG, &x, sizeof (x), 0) < 0) { in sys_init()
499 if (strioctl(pppfd, PPPIO_NEWPPA, &x, sizeof (x), sizeof (x)) < 0) { in sys_init()
518 if (strioctl(pppfd, PPPIO_USETIMESTAMP, NULL, 0, 0) < 0) { in sys_init()
581 if (strioctl(tmpfd, PPPIO_DEBUG, &x, sizeof (x), 0) < 0) { in plumb_ipif()
942 if (strioctl(fd, PPPIO_LASTMOD, NULL, 0, 0) < 0) { in modpush()
1003 if (strioctl(pppfd, PPPIO_LASTMOD, NULL, 0, 0) < 0) {
1012 if (strioctl(pppfd, PPPIO_DEBUG, &x, sizeof (x), 0) < 0) {
[all …]
/titanic_41/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);
/titanic_41/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, in setpolicy()
362 if ((count = strioctl(sock, SIOCGIP6ADDRPOLICY, policy_ptr, in printpolicy()
373 if ((count = strioctl(sock, SIOCGIP6ADDRPOLICY, policy_ptr, in printpolicy()
487 strioctl(int fd, int cmd, void *ptr, int ilen) in strioctl() function
489 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.c64 struct strioctl sioc; in main()
192 struct strioctl sioc; in sample()
/titanic_41/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)) in kstr_plink()
103 return (strioctl(vp, I_PUNLINK, (intptr_t)mux_id, 0, in kstr_unplink()
112 return (strioctl(vp, I_PUSH, (intptr_t)mod, 0, K_TO_K, CRED(), &rval)); in kstr_push()
120 return (strioctl(vp, I_POP, 0, 0, K_TO_K, CRED(), &rval)); in kstr_pop()
149 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()
/titanic_41/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_failfast.c47 struct strioctl si; in mhd_ff_disarm()
78 struct strioctl si; in mhd_ff_open()
170 struct strioctl si; in mhd_ff_rearm()
204 struct strioctl si; in mhd_ff_die()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppstats/
H A Dpppstats.c235 strioctl(fd, cmd, ptr, ilen, olen) in strioctl() function
239 struct strioctl str;
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) {
/titanic_41/usr/src/lib/libbc/inc/include/sys/
H A Dstropts.h85 #define I_STR _IOWR('S',010,struct strioctl)
102 struct strioctl { struct
/titanic_41/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), in init_datalink()
231 if (strioctl(netfd, SBIOCSTIME, -1, sizeof (struct timeval), in init_datalink()
235 if (strioctl(netfd, SBIOCSCHUNK, -1, sizeof (uint_t), in init_datalink()
239 if (strioctl(netfd, SBIOCSSNAP, -1, sizeof (uint_t), in init_datalink()
751 strioctl(int fd, int cmd, int timout, int len, void *dp) in strioctl() function
753 struct strioctl sioc; in strioctl()
/titanic_41/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()
/titanic_41/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.c72 struct strioctl strioc; in t_kgetstate()
H A Dt_kunbind.c78 struct strioctl strioc; in t_kunbind()
/titanic_41/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()
/titanic_41/usr/src/uts/common/inet/kifconf/
H A Dkifconf.c165 struct strioctl iocb; in kifioctl()
217 struct strioctl iocb; in ksetifflags()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dcommon.c123 strioctl(int fd, int cmd, void *ptr, int ilen, int olen) in strioctl() function
125 struct strioctl str; in strioctl()
/titanic_41/usr/src/cmd/sdpadm/
H A Dsdpadm.c94 struct strioctl stri; in main()

1234