site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Hello, Your assistance is appreciated. Raj Doshi _______________________________________________ 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... I'm using kernel controls (Mac OS X 10.4) for communication between a kext and a user space process. The kern_ctl_reg structure that is passed to the ctl_register function has some fields (ctl_sendsize and ctl_recvsize) that can be set to adjust the buffer sizes for messages. When I set these fields to zero, then they are changed to default sizes of 2048 and 8192, respectively, after calling ctl_register. However, when I specify larger values for these fields, they are still set to these default values after the ctl_register call. When I establish a connection, a call to ctl_getenqueuespace confirms that the receive buffer is set to 8192 bytes, even though I specified a larger amount. For my purposes (sending network packets back and forth), I would like these buffers to be at least 32000 bytes. My questions are the following: 1. Am I doing something wrong, or is this a bug? 2. Is there another good method of kext/user space communication that I should consider using (for moderate latency and moderate bandwidth, a pointer to documentation/examples would be helpful)? This email sent to site_archiver@lists.apple.com