netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sridhar Samudrala <samudrala@mail.com>
To: Ankit Jain <radical@corewars.org>
Cc: netdev@oss.sgi.com
Subject: Re: some queries
Date: Mon, 17 Jun 2002 16:21:03 -0700	[thread overview]
Message-ID: <3D0E6EDF.9010207@mail.com> (raw)
In-Reply-To: Pine.LNX.4.33L2.0206151420410.4436-100000@radical.corewars.org

Ankit Jain wrote:

>Hi,
>
>I have been trying to find answers to some queries but noone seems to be
>able to help. My queries are: (kernel 2.4.18)
>
>1. what is tcp_ehash_bucket used for? hash table for tcp sockets? what
>does the "e" is the ehash mean/represent?
>
It is a hash table of all tcp sockets in ESTABLISHED state.

>
>2. Why is a tcp control socket created at init time in tcp_v4_init(..) ?
>Its of SOCK_RAW type and its unhashed to make sure that it doesnt receive
>any incoming packets. why? is it used to set some options or something?
>Where is it used?
>
The main purpose of this socket is to send RSTs when a packet is 
received for a non-existing socket.

Thanks
Sridhar

>
>Hoping for a reply!! :)
>
>-Ankit
>
>
>
>  
>

      reply	other threads:[~2002-06-17 23:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-15  8:54 some queries Ankit Jain
2002-06-17 23:21 ` Sridhar Samudrala [this message]

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=3D0E6EDF.9010207@mail.com \
    --to=samudrala@mail.com \
    --cc=netdev@oss.sgi.com \
    --cc=radical@corewars.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;
as well as URLs for NNTP newsgroup(s).