site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Matt Jaffa writes:
Hi,
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.
Depending on exactly what you want, m_dup() may be what you're looking for. See bsd/kern/uipc_mbuf.c Drew _______________________________________________ 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... This email sent to site_archiver@lists.apple.com