Searched refs:stri (Results 1 – 5 of 5) sorted by relevance
94 struct strioctl stri; in main() local130 stri.ic_cmd = SIOCSENABLESDP; in main()131 stri.ic_timout = 0; in main()132 stri.ic_len = sizeof (int); in main()133 stri.ic_dp = (char *)&enable; in main()135 if (ioctl(fd, I_STR, &stri) >= 0) { in main()
487 struct strioctl stri; in do_getset() local500 stri.ic_cmd = cmd; in do_getset()501 stri.ic_timout = 0; in do_getset()502 stri.ic_len = buf_len; in do_getset()503 stri.ic_dp = buf; in do_getset()504 is_name_get = stri.ic_cmd == ND_GET && buf[0] == '?' && buf[1] == '\0'; in do_getset()506 if (ioctl(fd, I_STR, &stri) == -1) { in do_getset()516 else if (stri.ic_cmd == ND_GET) { in do_getset()
1097 struct strioctl stri; in i_dladm_wlan_legacy_ioctl() local1126 stri.ic_timout = 0; in i_dladm_wlan_legacy_ioctl()1127 stri.ic_dp = (char *)gbuf; in i_dladm_wlan_legacy_ioctl()1128 stri.ic_cmd = cmd; in i_dladm_wlan_legacy_ioctl()1129 stri.ic_len = cmdlen; in i_dladm_wlan_legacy_ioctl()1131 if ((rc = ioctl(fd, I_STR, &stri)) != 0) { in i_dladm_wlan_legacy_ioctl()
1171 struct strioctl stri; in call_ioctl() local1179 stri.ic_len = MAX_BUF_LEN; in call_ioctl()1183 stri.ic_len = gbuf->wldp_length; in call_ioctl()1187 stri.ic_len = gbuf->wldp_length; in call_ioctl()1197 stri.ic_cmd = cmd; in call_ioctl()1198 stri.ic_timout = 0; in call_ioctl()1199 stri.ic_dp = (char *)gbuf; in call_ioctl()1201 if (ioctl(fd, I_STR, &stri) == -1) { in call_ioctl()
888 matching stri