lkml.org 
[lkml]   [1999]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectHow does raw socket implementation handle ICMP (or any other non-kernel related protocols)
Date
hi gurus,

I make the following assumption (text in bold), if its wrong tell me the actual story.

"In ip.c ip gives the whole ip packet (with header) to the raw socket implementation. (RSI)


RSI strips the ip header off and gives the "raw ICMP" packet to the application which uses the socket.


Also the application when it wants to send a "raw ICMP" packet, it gives it to the RSI, which in turn
gives it to ip.c which wraps it with IP header and sends it out."

is the story same for any other non-kernel related protocols.



thanx in advance,

shankar






-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.056 / U:1.964 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site