site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Nov 29, 2004, at 13:18, Matt Jaffa wrote: Hi, Regards, Justin -- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | Some people have a mental | horizon of radius zero, and | call it their point of view. | -- David Hilbert *--------------------------------------*-------------------------------* _______________________________________________ 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... Is there an easy way to combine mbufs, I have a sosend filter on sockets, and on the same socket I am collecting the mbufs together if they meet a certain condition, and when the last one arrives I would like to put all of these mbufs into one. Why do you want to? Unless the chain gets unreasonably long, the system should be able to handle it with no problems. If you really need to do this, then you need to pay attention to the "shape" of each mbuf (the bits in the flags word) in the chain. Just blindly copying chunks of bits from one place to another (as in your code snippet) won't do what you want. This email sent to site_archiver@lists.apple.com
participants (1)
-
Justin Walker