All of lore.kernel.org
 help / color / mirror / Atom feed
From: Harsh <hanemade@gmail.com>
To: MANJUNATH <manjunath@ece.iisc.ernet.in>
Cc: netdev@oss.sgi.com
Subject: Re: loopback packet processing.
Date: Wed, 15 Dec 2004 14:38:54 +0530	[thread overview]
Message-ID: <cfc95936041215010821f2c22a@mail.gmail.com> (raw)
In-Reply-To: <Pine.BSF.4.58.0412141649050.71544@ece.iisc.ernet.in>

Hi MANJUNATH,
         I actually did a lot work on kernel packet processing and 
found that ping packet creation enters in ethernet.c.
           Also can you tell me what happens in ip_finish_output2 when
ping ICMP packet is created by kernel? what header is added there.
            Also in receving end control enters in ethernet.c to check
eth->h_proto field which is ETH_P_IP. How & where it is added by
kernel in case of PING packet?

regards,
Harsh.

On Tue, 14 Dec 2004 16:53:33 +0530 (IST), MANJUNATH
<manjunath@ece.iisc.ernet.in> wrote:
> 
> 
> Hi,
> 
>   When u send data to the loopback address, control never
>   Enters "ethernet" modules.(Data link layer)
> 
>   Since ping inturn uses program interface to ICMP which is a part
>   of IPV4 s/w, for loopback ping IP modules themselves replies. Ethernet
>   does not come into picture.
> 
> cheers,
> Manjunath
> 
>

      parent reply	other threads:[~2004-12-15  9:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-14 10:42 loopback packet processing Harshal Nemade
     [not found] ` <Pine.BSF.4.58.0412141649050.71544@ece.iisc.ernet.in>
2004-12-15  9:08   ` Harsh [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=cfc95936041215010821f2c22a@mail.gmail.com \
    --to=hanemade@gmail.com \
    --cc=manjunath@ece.iisc.ernet.in \
    --cc=netdev@oss.sgi.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.