How to use ioctl in my own userspace program

David I S Mandala davidm
Tue Sep 6 14:15:09 PDT 2005


Might I suggest reading the source of "iwlist", you can see exactly how 
it does everything.

Li Jian Song wrote:
> I want to do more L2 handoff experiment and have done it in the driver.
> But for some reason, I must implement the algorithm in the user space.
> So I want to know how to use the hostap ioctl.
> 	For example, I issue cmd "iwlist wlan0 scan" and I will get the
> reault in the shell. But how to do it in my program?  
> 	Thanks before. 
> 
> ____________________________________
> Jason Lee  
> CR, THOMSON Broadband R&D (Beijing) Co., Ltd.
> Tel: (86 10) 8273 0866 Ext. 8134
> Fax: (86 10) 8273 0806
> E-mail: jian-song.li at thomson.net
> ____________________________________
> -----Original Message-----
> From: hostap-bounces+jian-song.li=thomson.net at shmoo.com
> [mailto:hostap-bounces+jian-song.li=thomson.net at shmoo.com] On Behalf Of
> Hyewon Jun
> Sent: 2005 09 06 12:56
> To: hostap at shmoo.com
> Subject: alternative to "ipconfig renew"
> 
> Hi,
> 
> In window, we can use "ipconfig renew" to obtain a new IP address
> using DHCP. Is there a similar command in Linux to obtain a new IP
> address
> from a DHCP server?
> 
> Thank you!
> -Hyewon Jun
> 
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 
> 
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap

-- 
David Mandala <davidm at them dot com>
www.them.com/~davidm Public Key id: 45B2D952
Murphy TX, 75094 214.774-2569 H 972.693.4007 C




More information about the Hostap mailing list