Re: Incremental update of TCP Checksum

From: Patrick McHardy
Date: Tue Sep 16 2003 - 15:33:48 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/