site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Jun 16, 2005, at 2:20 AM, Quinn wrote: At 18:39 -0700 15/6/05, Allan Hoeltje wrote: You should check out the enetlognke. <http://developer.apple.com/samplecode/enetlognke/enetlognke.html> Kevin Brock apple@kevin.com Thanks for the quick reply. I know that tcplognke is a socket filter and even though I need an IP filter it would still be helpful to see some kind of sample code, Tiger or pre-Tiger, that uses KEXT. This new, Tiger-based sample is not directly relevant (it intercepts at the Ethernet layer rather than the IP layer), but it does show general NKE concepts, including packaging, memory allocation, locking, and so on. It's also much easier to understand than the tcplognke (-: ps One of the reasons that the tcplognke isn't published yet is because socket-level filters are tricky to get exactly right. The packet oriented filters (IP and Ethernet) are much easier. I've looked at the pre-release socket NKE example and at enetlognke. I've even got the basic stuff working on X.4.*. The thing that's missing from my viewpoint is legacy examples... Anything I develop is going to need to support X.3 users for at least a couple of years. Apple's own projections at the WWDC keynote showed a significant X.3 user base a year out. Is there a source for example code for X.3 NKEs? The documentation is still up there, but samples appear have simply been removed. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com