From owner-freebsd-hackers Mon Jan 21 12:20:37 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 2E18137B422 for ; Mon, 21 Jan 2002 12:20:09 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020121202008.NUJG3578.rwcrmhc52.attbi.com@InterJet.elischer.org>; Mon, 21 Jan 2002 20:20:08 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA12806; Mon, 21 Jan 2002 12:17:20 -0800 (PST) Date: Mon, 21 Jan 2002 12:17:19 -0800 (PST) From: Julian Elischer To: Skye Poier Cc: hackers@freebsd.org Subject: Re: mbuf chains In-Reply-To: <20020121114552.H48759@ffwd.cx> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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