From owner-freebsd-net@FreeBSD.ORG Thu Jun 29 22:57:22 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9ED1916A794 for ; Thu, 29 Jun 2006 22:57:22 +0000 (UTC) (envelope-from JRANA@nortel.com) Received: from zcars04f.nortel.com (zcars04f.nortel.com [47.129.242.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1E8C4588C for ; Thu, 29 Jun 2006 22:27:58 +0000 (GMT) (envelope-from JRANA@nortel.com) Received: from zrc2hxm0.corp.nortel.com (zrc2hxm0.corp.nortel.com [47.103.123.71]) by zcars04f.nortel.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id k5TMRt608910 for ; Thu, 29 Jun 2006 18:27:55 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 29 Jun 2006 17:27:35 -0500 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Query :Regading IPv6 logo phase 1 Thread-Index: AcabpSaIOE1t9y2sTYux53BvJtYvBwAJXtcg From: "Jeewan Rana" To: Subject: Query :Regading IPv6 logo phase 1 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 22:57:22 -0000 Hi all, To getting the IPv6logo phase 1 , Interoperability test case is necessary or only self-test case result is enough to get ipv6 logo phase 1. Reagards jeewan -----Original Message----- From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@freebsd.org] On Behalf Of Haisang Wu Sent: Thursday, June 29, 2006 10:46 AM To: freebsd-net@freebsd.org Subject: Reading m_flags in tcp_output and tcp_input Hello, I need to read m_flags of a mbuf in an TCP application in the following two cases: (1) in sending direction, right before TCP calls ip_output() to send out a packet, (2) in receiving direction, right before TCP appends a packet to so_rcv of the corresponding socket and wakes up the socket. My understandings are: for (1), tcp_output() only calls ip_output() once, so right before that function call, I should read the m_flags. For (2), tcp_input() is more complex and calls insbappendstream_locked() twice, one for fast path processing, and one for slow path processing. I think I should read m_flags before both of the two insbappendstream_locked() function calls. I am using freebsd 5.4. Could you let me know whether my above understandings are correct, and provide some suggestions? Thank you! Haisang _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"