On Wed, 20 Apr 2005 at 18:20, Rick Jones wrote:
>> On Wed, 20 Apr 2005 at 10:29, Park Lee wrote:
>> Can I think that every packet (e.g. IP packet) must
>> have a corresponding creating socket? (i.e. Must
>> every packet be created by a socket?)
>
> No. ICMP messages come to mind - although I
> _suppose_ that since those are in response to other
> traffic, you could claim it was in response to
> something sent from a "socket" or "endpoint" -
> depends on how far away you consider it to still
> be from a socket.
But as I know, The Linux network component creates
two special purpose sockets for use by the AF_INET
protocol family. The tcp socket is used to send resets
when a TCP packet is rejected, since there may be no
local socket corresponding to the packet. The icmp
socket is used to send ICMP messages.
Then, ICMP echo replies are asociated with the
special kernel socket.
So, I still think that every packet (e.g. IP
packet) must have a corresponding creating socket.
Am I right?
Thank you.
Best Regards,
Park Lee
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html