Searched refs:sioc (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsyncstat.c64 struct strioctl sioc; local
131 sioc.ic_cmd = S_IOCGETMODE;
132 sioc.ic_timout = -1;
133 sioc.ic_len = sizeof (struct scc_mode);
134 sioc.ic_dp = (char *)&sm;
135 if (ioctl(fd, I_STR, &sioc) < 0) {
142 sioc.ic_cmd = S_IOCCLRSTATS;
143 sioc.ic_timout = -1;
144 sioc.ic_len = sizeof (struct sl_stats);
145 sioc
192 struct strioctl sioc; local
[all...]
H A Dsyncloop.c103 struct strioctl sioc; local
210 sioc.ic_cmd = S_IOCGETMODE;
211 sioc.ic_timout = -1;
212 sioc.ic_len = sizeof (struct scc_mode);
213 sioc.ic_dp = (char *)&sm;
214 if (ioctl(cfd, I_STR, &sioc) < 0) {
273 sioc.ic_cmd = S_IOCSETMODE;
274 sioc.ic_timout = -1;
275 sioc.ic_len = sizeof (struct scc_mode);
276 sioc
350 struct strioctl sioc; local
414 struct strioctl sioc; local
[all...]
H A Dsyncinit.c106 struct strioctl sioc; local
155 sioc.ic_cmd = S_IOCGETMODE;
156 sioc.ic_timout = -1;
157 sioc.ic_len = sizeof (struct scc_mode);
158 sioc.ic_dp = (char *)&sm;
160 if (ioctl(fd, I_STR, &sioc) < 0) {
235 sioc.ic_cmd = S_IOCSETMODE;
236 sioc.ic_timout = -1;
237 sioc.ic_len = sizeof (struct scc_mode);
238 sioc
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c753 struct strioctl sioc; local
756 sioc.ic_cmd = cmd;
757 sioc.ic_timout = timout;
758 sioc.ic_len = len;
759 sioc.ic_dp = dp;
760 rc = ioctl(fd, I_STR, &sioc);
765 return (sioc.ic_len);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montecarlo/common/
H A Dmontecarlo.c2404 struct strioctl sioc; local
2407 sioc.ic_cmd = ENVC_IOC_GETMODE;
2409 sioc.ic_cmd = ENVC_IOC_SETMODE;
2411 sioc.ic_timout = 0;
2412 sioc.ic_len = sizeof (uint8_t);
2413 sioc.ic_dp = (char *)new_mode;
2416 if (ioctl(fd, I_STR, &sioc) == -1) {
2432 struct strioctl sioc; local
2436 sioc.ic_timout = 0;
2437 sioc
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/watchdog/
H A Dpiclwatchdog.c1396 struct strioctl sioc; local
1397 sioc.ic_cmd = cmd;
1398 sioc.ic_timout = 60;
1399 sioc.ic_len = len;
1400 sioc.ic_dp = buf;
1401 rtnval = ioctl(fd, I_STR, &sioc);

Completed in 74 milliseconds