Received: with ECARTIS (v1.0.0; list netdev); Thu, 30 Dec 2004 21:14:17 -0800 (PST) Received: from web51507.mail.yahoo.com (web51507.mail.yahoo.com [206.190.38.199]) by oss.sgi.com (8.13.0/8.13.0) with SMTP id iBV5DpUW027795 for ; Thu, 30 Dec 2004 21:14:11 -0800 Received: (qmail 15580 invoked by uid 60001); 31 Dec 2004 05:22:21 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=rN0CgE3gI0+JrTIE7SHX+O9KBCWBUTbzjsGQJOtfSH1VKCefzcc6AziWfjaPoFE33N/CPfo5ZMthneEcnkxMvIVXAOn5nXHhrnjYPgOH6TiRaM8WxICNNtszTIPUCCQZtcS0vRtGKdLmhnKeZ6uiQJnDbe64bl9GiybjHeJI1Vo= ; Message-ID: <20041231052221.15578.qmail@web51507.mail.yahoo.com> Received: from [221.15.137.76] by web51507.mail.yahoo.com via HTTP; Thu, 30 Dec 2004 21:22:21 PST Date: Thu, 30 Dec 2004 21:22:21 -0800 (PST) From: Park Lee Subject: A sending packet and its socket and sock To: netdev@oss.sgi.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: ClamAV 0.80/645/Mon Dec 27 14:56:20 2004 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean X-archive-position: 13275 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: parklee_sel@yahoo.com Precedence: bulk X-list: netdev Hi, In Linux IP network, when a packet is going to be sent out. Would you please tell me which one of the following items is right for the packet (Let's suppose struct sock *sk; struct socket *skt): 1), The packet has a sock (i.e. sk!=NULL), but doesn't has a socket (i.e. skt=NULL) corresponding to the packet? 2), The packet has a socket (i.e. skt!=NULL), but doesn't has a sock (i.e. sk=NULL) corresponding to the packet? 3), The packet doesn't has the both (i.e. sk=NULL and skt=NULL)? And, If some of them are right, Would you please also give me some examples of them? Thank you very much. ===== Best Regards, Park Lee __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250