Re: Incremental update of TCP Checksum

Patrick McHardy
2003-09-16T20:31:52Z

Vishwas Raman wrote:

> Can anyone out there tell me the algorithm to update the checksum
> without having to recalculate it.

Have a look at net/ipv4/netfilter/ipt_TCPMSS.c (cheat_check).

Regards,
Patrick