Missing Kernel Header Files
Missing Kernel Header Files
- Subject: Missing Kernel Header Files
- From: Michael Cashwell <email@hidden>
- Date: Thu, 7 Nov 2002 17:16:47 -0500
Greetings,
I've got an NKE using a PF_SYSTEM / SYSPROTO_EVENT socket for network
kernel events. I'm interested in both KEV_DL_SUBCLASS and
KEV_INET_SUBCLASS. (My goal is to be notified of network interfaces
coming and going and media and IP address changes.)
The former is found in net/if.h but the latter is in the xnu sources in
netinet/in_var.h which doesn't exist in the version A kernel headers.
The same thing seems to be true for KEV_INET6_SUBCLASS in
netinet6/in6_var.h and KEV_ATALK_SUBCLASS in netat/at_var.h.
These headers also define matching event structs which I need to
interpret the event messages, so it's more than just simple defines
that are missing.
Were these files deliberately left out of the framework headers? Should
I not be using them?
If not then I'm faced with either copying them from xnu into the
framework headers (a pain to have to do on each development system) or
copy them in as a source file in my project (a risk that a future
update will add them to the framework and I'll then be using old ones).
Neither is ideal. What have others done in this situation?
Also, if it was an oversight is a bug report the correct way to get
them added to the kernel framework in a future release?
Thanks,
Mike
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.