linux-mips
[Top] [All Lists]

Re: Relative Checksum

To: Gilad Benjamini <yaelgilad@myrealbox.com>
Subject: Re: Relative Checksum
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 26 Mar 2003 19:16:01 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <1048667601.7d003520yaelgilad@myrealbox.com>; from yaelgilad@myrealbox.com on Wed, Mar 26, 2003 at 08:33:21AM +0000
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1048667601.7d003520yaelgilad@myrealbox.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
On Wed, Mar 26, 2003 at 08:33:21AM +0000, Gilad Benjamini wrote:

> ip_fast_csum provides an asm version for IP checksum.
> Any available mips-asm implementation out there for 
> a relative checksum?
> 
> i.e. I get a packet, change
> a field or two, and want to compute just the 
> change in the checksum.

I suggest to look at the code for IP masquerading which already does things
like this when rewriting packets.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>