From owner-freebsd-net Wed Sep 5 13:48:11 2001 Delivered-To: freebsd-net@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id 3DEAF37B407 for ; Wed, 5 Sep 2001 13:48:07 -0700 (PDT) Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id OAA25199; Wed, 5 Sep 2001 14:11:44 -0700 (PDT) Date: Wed, 5 Sep 2001 14:11:43 -0700 (PDT) From: Julian Elischer To: "Ramasubramanian Ramamoorthy (EXT-NRC/Boston)" Cc: freebsd-net@freebsd.org Subject: RE: Reg. mbuf structure In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 5 Sep 2001, Ramasubramanian Ramamoorthy (EXT-NRC/Boston) wrote: > Yes, I used this copydata function, to extract some data to calculate my > checksum. But, how do I send the same extracted data which is contained > in skbuff structure in the linux machine? > > I need to check that the packet what I am sending from the Linux machine > to the BSD machine using the checksum that I am generating. > I am able to extract data using m_copydata() in BSD. But, I need the > same data in Linux for calculating the same checksum, as the algorithms > are same at both ends. Shouldn't you ask the linux people? none of us have lookad at skbufs. I thought you just needed to extract the data to checksum it? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message