mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "francois donzet" <fdonzet@yahoo.fr>
To: linux-kernel@vger.kernel.org
Subject: checksum offloading
Date: Mon, 10 Nov 2003 12:29:33 +0100 (CET)	[thread overview]
Message-ID: <20031110112933.52101.qmail@web25203.mail.ukl.yahoo.com> (raw)


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

             reply	other threads:[~2003-11-10 11:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-10 11:29 francois donzet [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-11-07 16:40 francois donzet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031110112933.52101.qmail@web25203.mail.ukl.yahoo.com \
    --to=fdonzet@yahoo.fr \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®