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: Communicating from kernel extension to application?




TCPLogger is DTS sample code. If you search the developer support web page, it should turn up.


You'll want to use a kernel control socket. TCPLogger sample should show you how. There is some documentation in the header file at /usr/include/sys/kern_control.h

-josh

On Jan 8, 2005, at 11:48 PM, Brian Kendall wrote:




I'm wondering what methods exist for having a kernel extension send a message of some kind that can be received by an application in user space. I searched the archives, and apparently circa a couple of years ago someone asked a similar question and was directed to the source of an example kext called TCPLogger in the Darwin source, but it doesn't look like it exists anymore. Is there anywhere I can find that source, or forgetting that, how could one send a message from a kext to an application?


- Brian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-kernel/jgraessley% 40apple.com


This email sent to email@hidden




Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

This email sent to email@hidden

References: 
 >Communicating from kernel extension to application? (From: "Brian Kendall" <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.