Lines Matching refs:gbuf
143 dladm_wlan_wlresult2status(wldp_t *gbuf) in dladm_wlan_wlresult2status() argument
145 switch (gbuf->wldp_result) { in dladm_wlan_wlresult2status()
1094 wldp_t *gbuf, uint_t id, size_t len, uint_t cmd, size_t cmdlen) in i_dladm_wlan_legacy_ioctl() argument
1123 gbuf->wldp_type = NET_802_11; in i_dladm_wlan_legacy_ioctl()
1124 gbuf->wldp_id = id; in i_dladm_wlan_legacy_ioctl()
1125 gbuf->wldp_length = len; in i_dladm_wlan_legacy_ioctl()
1128 stri.ic_dp = (char *)gbuf; in i_dladm_wlan_legacy_ioctl()
1139 status = dladm_wlan_wlresult2status(gbuf); in i_dladm_wlan_legacy_ioctl()
1155 wldp_t *gbuf; in do_cmd_ioctl() local
1158 if ((gbuf = malloc(MAX_BUF_LEN)) == NULL) in do_cmd_ioctl()
1161 (void) memset(gbuf, 0, MAX_BUF_LEN); in do_cmd_ioctl()
1162 status = i_dladm_wlan_legacy_ioctl(handle, linkid, gbuf, cmd, in do_cmd_ioctl()
1164 (void) memcpy(buf, gbuf->wldp_buf, buflen); in do_cmd_ioctl()
1165 free(gbuf); in do_cmd_ioctl()