Network interface information through ioctls

Hi all,

I am new to this group. I don't known weather I can ask this question in this group or not, but from last one week I am trying for this problem.

I need to find the network interfaces which are present in the system. after finding that list I need to discriminate whether that interface is wired or wireless, and I need to find which device driver was binded for that network card.

I able to find that network interface list by using IOCTL commands. But I am not able to find that difference in wired  wireless and driver related information.

Is there any kernel level structure which contain this information.

help me...



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]