mark tinguely wrote: > why don't you place the buffer pointer into an external mbuf. > this requires you to set several fields but you can use the macro > MCLGET as a reference. > > You will also need to use the ext_free() pointer to a routine to correctly > free the buffer when the mbuf is released. There is only one ext_free() > per mbuf, if a stack layer also uses this function, then we lose the > earlier function unless saved/restored as part of the mbuf setup/freeing.
And if this doesn't make sense to the original poster... look at the "sendfile" source code, which uses external mbufs that point to buffer cache entries. -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message