Thread (1 message) 1 message, 1 author, 2004-12-15

Re: loopback packet processing.

From: Harsh <hidden>
Date: 2004-12-15 09:08:54

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
[off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help