Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2002 11:45:53 -0800
From:      Skye Poier <skye@ffwd.cx>
To:        hackers@freebsd.org
Subject:   Re: mbuf chains
Message-ID:  <20020121114552.H48759@ffwd.cx>
In-Reply-To: <Pine.BSF.4.21.0201181651020.93091-100000@InterJet.elischer.org>; from julian@elischer.org on Fri, Jan 18, 2002 at 04:52:08PM -0800
References:  <20020118164617.L99893@ffwd.cx> <Pine.BSF.4.21.0201181651020.93091-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Word on the street is that Julian Elischer said:
> > My confusion is around splitting/concatenating -
> > 
> > When splitting an mbuf chain, the two resultant chains must be as above
> > (heads have M_PKTHDR and mbuf.m_pkthdr.len set) right?
> 
> That depends on why yuo need to split them.
> 

OK, let's say hypothetically we sorecieve() a bunch of data in mbuf
chains and need to split it up to some chunk size and resend the chunks
with a header via sosend() to a different host.

Skye


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020121114552.H48759>