TCP issues

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

 



Can somebody tell me what skb_checksum does? How is it different from 
computing a TCP checksum and why is it necessary?
What does it return?

In tcp_input.c I see the following lines

if (tcp_checksum_complete_user(sk,, skb))
     goto csum_error;

tcp_checksum_complete goes through a series of function calls that finally 
result in a call to skb_checksum?

Why does it have to return a 0?

Thanks

S
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux