Re: Relative Checksum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2003-03-26 at 18:16, Ralf Baechle wrote:
> 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.

Also read the RFC material on the danger of relative checksum updates.
There are a couple of interesting gotcha's with some stacks



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux