• 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
When is it safe to enable filtering in an NKE?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

When is it safe to enable filtering in an NKE?


  • Subject: When is it safe to enable filtering in an NKE?
  • From: Doug John <email@hidden>
  • Date: Sun, 8 Feb 2009 16:11:07 -0800

Hi,

I have an NKE that performs filtering on particular interfaces (calling iflt_attach). As suggested here: 
http://developer.apple.com/documentation/Darwin/Conceptual/NKEConceptual/control/chapter_4_section_4.html

the interfaces that are used in the NKE are set via a daemon which is loaded on startup with launchd.
To ensure the daemon doesn't enable filtering on the interfaces too early, it sets up a matching notification for both my kext and IOEthernetInterface.
Is IOEthernetInterface the best service to match on to wait until the interfaces are all available? What if there are many instances of IOEthernetInterface, some appearing on PCIe cards? How can I be sure that all of the interfaces have been loaded before starting up the daemon to enable filtering in the NKE?

Thanks,
DJ
 _______________________________________________
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

  • Prev by Date: Re: CFReadStreamCopyProperty() returns NULL?
  • Next by Date: Re: CFReadStreamCopyProperty() returns NULL?
  • Previous by thread: Re: CFReadStreamCopyProperty() returns NULL?
  • Next by thread: broadcast address of a network interface
  • Index(es):
    • Date
    • Thread