Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2002 12:17:19 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        Skye Poier <skye@ffwd.cx>
Cc:        hackers@freebsd.org
Subject:   Re: mbuf chains
Message-ID:  <Pine.BSF.4.21.0201211216420.93091-100000@InterJet.elischer.org>
In-Reply-To: <20020121114552.H48759@ffwd.cx>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 21 Jan 2002, Skye Poier wrote:

> 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.

In that case you need to add a header to each.
yes.

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


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?Pine.BSF.4.21.0201211216420.93091-100000>