Re: Obtaining NIC driver name from socket FD
Re: Obtaining NIC driver name from socket FD
- Subject: Re: Obtaining NIC driver name from socket FD
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Thu, 13 Mar 2014 09:38:36 +0000
On 12 Mar 2014, at 19:48, Pratima Kudale <email@hidden> wrote:
> IOKitLib.h is not meant to be used in kernel mode. In Kernel mode extension, is there any way available to obtain NIC driver name using socket?
The I/O Registry has a KPI that has even more features than the user space API. Check out <IOKit/IORegistryEntry.h> in the Kernel framework. A good starting point is the IOService::getMatchingServices() static member function.
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden