Lines Matching refs:sioc
103 struct strioctl sioc; in main() local
210 sioc.ic_cmd = S_IOCGETMODE; in main()
211 sioc.ic_timout = -1; in main()
212 sioc.ic_len = sizeof (struct scc_mode); in main()
213 sioc.ic_dp = (char *)&sm; in main()
214 if (ioctl(cfd, I_STR, &sioc) < 0) { in main()
273 sioc.ic_cmd = S_IOCSETMODE; in main()
274 sioc.ic_timout = -1; in main()
275 sioc.ic_len = sizeof (struct scc_mode); in main()
276 sioc.ic_dp = (char *)&sm; in main()
277 if (ioctl(cfd, I_STR, &sioc) < 0) { in main()
286 sioc.ic_cmd = S_IOCGETMODE; in main()
287 sioc.ic_timout = -1; in main()
288 sioc.ic_len = sizeof (struct scc_mode); in main()
289 sioc.ic_dp = (char *)&sm; in main()
290 if (ioctl(cfd, I_STR, &sioc) < 0) { in main()
350 struct strioctl sioc; in first_packet() local
356 sioc.ic_cmd = S_IOCGETSTATS; in first_packet()
357 sioc.ic_timout = -1; in first_packet()
358 sioc.ic_len = sizeof (struct sl_stats); in first_packet()
359 sioc.ic_dp = (char *)&start_stats; in first_packet()
360 if (ioctl(cfd, I_STR, &sioc) < 0) { in first_packet()
397 sioc.ic_cmd = S_IOCGETSTATS; in first_packet()
398 sioc.ic_timout = -1; in first_packet()
399 sioc.ic_len = sizeof (struct sl_stats); in first_packet()
400 sioc.ic_dp = (char *)&end_stats; in first_packet()
401 if (ioctl(cfd, I_STR, &sioc) < 0) { in first_packet()
414 struct strioctl sioc; in many_packets() local
425 sioc.ic_cmd = S_IOCGETSTATS; in many_packets()
426 sioc.ic_timout = -1; in many_packets()
427 sioc.ic_len = sizeof (struct sl_stats); in many_packets()
428 sioc.ic_dp = (char *)&start_stats; in many_packets()
429 if (ioctl(cfd, I_STR, &sioc) < 0) { in many_packets()
512 sioc.ic_cmd = S_IOCGETSTATS; in many_packets()
513 sioc.ic_timout = -1; in many_packets()
514 sioc.ic_len = sizeof (struct sl_stats); in many_packets()
515 sioc.ic_dp = (char *)&end_stats; in many_packets()
516 if (ioctl(cfd, I_STR, &sioc) < 0) { in many_packets()