Re: Combining mbufs
Re: Combining mbufs
- Subject: Re: Combining mbufs
- From: Andrew Gallatin <email@hidden>
- Date: Mon, 29 Nov 2004 16:25:16 -0500 (EST)
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden