site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Hi, Also, is the first mbuf in the mbuf chain always (or never) a header mbuf? Thanks, Jamie _______________________________________________ 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 have a couple of questions about the ctl_write function that needs to be provided when registering a kernel control. The declaration looks like this: int (*ctl_write) (kern_ctl_ref ctlref, void *userdata, struct mbuf *m); /* Send data to the controller, called when user client */ /* writes data to the socket */ My question is about the lifetime of the input mbuf chain. Will the caller of ctl_write free the mbuf chain after ctl_write returns, or does it assume that ctl_write will free the mbuf chain? This email sent to site_archiver@lists.apple.com
participants (1)
-
Jamie Wood