Hi,
i have a little question :
When tcp checksum offloading is enabled, the chip
computes a sum on all words of the packet contents and
stores the result in skb->csum, setting skb->ip_summed
to CHECKSUM_HW. (see for example, e100_main.c)
Then, when packet reaches tcp layer, via
tcp_checksum_init(), tcp checksum is verified (using
together skb->csum and the pseudo header checksum).
How does TCP deal with skb->csum, as it doesn't cover
only the tcpheader+data (but ipheader+tcpheader+data)
Thanks.
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
|