I want to know how to use copyout in drivers to communicate with the inbuilt binary application like ifconfig and wpa_supplicant.. Want to communicate with embedded pointers. Is copyout can handle this embedded pointers..??
If you have a copy of the io-pkt source then I suggest taking a look at io-pkt/sys/net80211/ieee80211_ioctl.c Many of the 802.11 ioctls from wpa_supplicant are handled here with a copyout() call.