public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Parav Pandit <paravpandit@yahoo.com>
To: Linux kernel <linux-kernel@vger.kernel.org>
Subject: sending TCP/IP packet based on NIC MTU size
Date: Wed, 8 Oct 2008 03:41:41 -0700 (PDT)	[thread overview]
Message-ID: <513565.4838.qm@web30101.mail.mud.yahoo.com> (raw)

Hi,

I am searching Linux kernel TCP/IP code which does following functionality.

TCP/IP stack needs to check that - 
how many bytes of a TCP stream it can send to NIC driver.

Can anybody point me where this check in performed?
Like if MTU size is set to 1500 for a NIC and VLAN is not set then it will send 1492 bytes. 
If VLAN is set then it will send 1398 bytes to NIC.

Regards,
Parav Pandit



      

                 reply	other threads:[~2008-10-08 10:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=513565.4838.qm@web30101.mail.mud.yahoo.com \
    --to=paravpandit@yahoo.com \
    --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