Verify checksum of IP header and TCP header

Guibin(Bill) Tian gbtian at gmail.com
Tue Feb 11 15:03:42 EST 2014


Hi,
I am looking for the code in linux kernel that verifies the checksum of TCP
header and IP header for inbound packet. The packet supposes to be dropped
if the checksum doesn't match.

I tried tcp_input.c and ip_input.c, also with global search. But I couldn't
find any code that does this job. Can anyone tell me where is the code?
 Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140211/206ea6f2/attachment.html 


More information about the Kernelnewbies mailing list