From owner-freebsd-hackers Mon Jan 21 11:45:59 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hoth.ffwd.cx (hoth.ffwd.cx [216.187.116.122]) by hub.freebsd.org (Postfix) with ESMTP id 1BB5C37B400 for ; Mon, 21 Jan 2002 11:45:58 -0800 (PST) Received: from skye by hoth.ffwd.cx with local (Exim 3.13 #1) id 16SkO9-000DVR-00 for hackers@freebsd.org; Mon, 21 Jan 2002 11:45:53 -0800 Date: Mon, 21 Jan 2002 11:45:53 -0800 From: Skye Poier To: hackers@freebsd.org Subject: Re: mbuf chains Message-ID: <20020121114552.H48759@ffwd.cx> References: <20020118164617.L99893@ffwd.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from julian@elischer.org on Fri, Jan 18, 2002 at 04:52:08PM -0800 X-URL: http://www.ffwd.cx/ 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 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