mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "nctucis" <gis88530@cis.nctu.edu.tw>
To: <linux-kernel@vger.kernel.org>
Subject: skbuff.h
Date: Mon, 9 Apr 2001 21:48:12 +0800	[thread overview]
Message-ID: <012a01c0c0fb$b9305290$ae58718c@cis.nctu.edu.tw> (raw)

Hi,

I use 2.2.16 kernel.
I found that there is a sk_buff structure in
"/usr/src/linux/include/linux/skbuff.c", and
there is a variable "unsigned in csum;" in 
the sk_buff structure.

I want to know this checksum check what information.
Could you give me a hand, please?

-=-=-=-=-=-=-=-
In fact, I found 64byte and 1518byte UDP packet waste different
time to do masquerade(ip_fw_masquerade). 
Many books say NAT just modify header fields, so it should no 
different between small and big packet size.
I guess the different time due to csum_partial(h.raw, doff, sum)
in ip_fw_masquerade(). Right? Thanks a lot.
(But I can't find out source code of this function.)

Cheers,
Tom



             reply	other threads:[~2001-04-09 13:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-09 13:48 nctucis [this message]
2001-04-09 14:36 ` skbuff.h Richard B. Johnson
2001-04-09 15:46   ` skbuff.h gis88530
2001-04-09 15:59     ` skbuff.h Richard B. Johnson

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='012a01c0c0fb$b9305290$ae58718c@cis.nctu.edu.tw' \
    --to=gis88530@cis.nctu.edu.tw \
    --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®