How to use ioctl in my own userspace program

Li Jian Song
Mon Sep 5 23:22:22 PDT 2005

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: at
-----Original Message-----
From: at
[ at] On Behalf Of
Hyewon Jun
Sent: 2005 09 06 12:56
To: hostap at
Subject: alternative to "ipconfig renew"


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
from a DHCP server?

Thank you!
-Hyewon Jun

HostAP mailing list
HostAP at

More information about the Hostap mailing list