From: "Richard B. Johnson" <root@chaos.analogic.com>
To: jw schultz <jw@pegasys.ws>
Cc: "'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>
Subject: Re: ICMP REQUEST
Date: Wed, 23 Jul 2003 14:26:41 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.53.0307231422010.15818@chaos> (raw)
In-Reply-To: <20030723181212.GB15719@pegasys.ws>
On Wed, 23 Jul 2003, jw schultz wrote:
> On Wed, Jul 23, 2003 at 12:53:35PM +0530, Hemanshu Kanji Bhadra, Noida wrote:
> > Hi, All
> >
> > i am developing a ping program, through my program I get ECHO_REPLY..but I
> > dont get ECHO_REQUEST.
> >
> > is that the ECHO_REQUEST is handled by kernel.?
> >
> > please respond as it is urgent.
>
> In most cases ICMP ECHO_REQUEST is handled by the NIC. The
> kernel doesn't even see it. That is why you can ping a
> crashed system; the NIC is still configured.
>
No. It may be handled entirely in an interrupt service routine, but
never by the hardware alone, even the "smart" hardware that does
IP checksumming. There isn't enough information available. The
echo request contains the IP that the caller seeks to respond.
The responder needs to know, not only its IP address, but also the
IP address of all the IPs it's going to ARP (proxy ARP).
Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
Note 96.31% of all statistics are fiction.
next prev parent reply other threads:[~2003-07-23 18:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-23 7:23 Hemanshu Kanji Bhadra, Noida
2003-07-23 18:12 ` jw schultz
2003-07-23 18:22 ` David S. Miller
2003-07-23 18:26 ` Richard B. Johnson [this message]
2003-07-23 19:11 ` jw schultz
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=Pine.LNX.4.53.0307231422010.15818@chaos \
--to=root@chaos.analogic.com \
--cc=jw@pegasys.ws \
--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®