Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What the bleep do I know?



At 13:07 -0800 31/3/06, David A Rowland wrote:
I am trying to write an NKE and an application that communicate with each other using the Kernel Control mechanism described in "Network Kernel Extensions Programming Guide", 2005-8-11. The sample code uses a struct called "kern_ctl_reg". That is defined several different ways in different versions of "kern_control.h", and not defined at all in the one in the 10.4.0 SDK. Is this struct coming or going? How does one use it?

When writing kernel code, always use the headers from the Kernel pseudo framework. As of 10.4, we process the canonical internal headers into user space stuff (that goes into /usr/include) and kernel stuff (that goes into Kernel.framework).


If you start with the standard Xcode stationery for a KEXT, you get these headers automatically.

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden
References: 
 >What the bleep do I know? (From: David A Rowland <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.