• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Obtaining NIC driver name from socket FD
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Obtaining NIC driver name from socket FD (From: Pratima Kudale <email@hidden>)

  • Prev by Date: Obtaining NIC driver name from socket FD
  • Next by Date: CFSocket client side exc_bad_access
  • Previous by thread: Obtaining NIC driver name from socket FD
  • Next by thread: CFSocket client side exc_bad_access
  • Index(es):
    • Date
    • Thread