View Full Version : TCP checksum calculation
bsd_newbie
March 24th, 2009, 03:07
Can someone point me to the code that tries to redo tcp checksum as a result of mucking up with the ip source addrees.
hydra
March 25th, 2009, 00:23
Check out: /usr/src/sys/netinet. The checksum calculation is platform specific, the amd64 algorithm is for example located in: /usr/src/sys/amd64/amd64/in_cksum.c.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.