site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Apr 4, 2005, at 4:08 PM, Carl Smith wrote: Hi Carl, regards.....Peter _______________________________________________ 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 want to create a new chain of mbufs, I am using the function m_devget, my question is, what if I have data larger than 1500 bytes, say 3000 bytes, can I pass the buffer into m_devget and m_devget will chain, link out the data correctly or do I have to break up the large data myself, into 1500 bytes chunks and call m_devget twice? I hope this is relatively simple question so I can get some response back from this forum. If this is not the proper forum for asking this question I would appreciate some feedback on where I should be asking these questions. Looking at xnu/bsd/kern/uipc.mbuf.c (hint hint) it would appear that it will break it up for you. Note that it doesn't wait, and can therefore fail and return zero (NULL). In case you don't know, you can also post such questions here (with probably a better hit rate) ... List-Subscribe: <http://lists.apple.com/mailman/listinfo/macnetworkprog>, <mailto:macnetworkprog-request@lists.apple.com?subject=subscribe> This email sent to site_archiver@lists.apple.com
participants (1)
-
Peter Lovell