• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: m_devget
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: m_devget


  • Subject: Re: m_devget
  • From: Justin Walker <email@hidden>
  • Date: Mon, 4 Apr 2005 13:43:36 -0700

Carl,

On Apr 4, 2005, at 13:08, Carl Smith wrote:

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?

This is the kind of question you should be able to answer for yourself, with a quick look at the kernel code. A handy tool for this purpose is 'cscope', and there is a "makefile" hook to make the cscope database ("make cscope").


To get you started, m_devget() is in xnu/bsd/kern.

If this is not the proper forum for asking this question I would appreciate some feedback on where I should be asking these questions.

This is the right forum.

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >m_devget (From: "Carl Smith" <email@hidden>)

  • Prev by Date: Re: m_devget
  • Next by Date: Request: Info for filtering keystrokes?
  • Previous by thread: Re: m_devget
  • Next by thread: Request: Info for filtering keystrokes?
  • Index(es):
    • Date
    • Thread