From owner-freebsd-net@FreeBSD.ORG Sat Sep 24 13:43:39 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D6A0106567A for ; Sat, 24 Sep 2011 13:43:39 +0000 (UTC) (envelope-from yilinjing2006@gmail.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 6C8928FC1A for ; Sat, 24 Sep 2011 13:43:39 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1R7SW2-0003QQ-Lk for freebsd-net@freebsd.org; Sat, 24 Sep 2011 06:43:38 -0700 Date: Sat, 24 Sep 2011 06:43:38 -0700 (PDT) From: jyl_2006 To: freebsd-net@freebsd.org Message-ID: <1316871818655-4836594.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: message from sctp getsockopt or sctp_opt_info show error 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: Sat, 24 Sep 2011 13:43:39 -0000 Recently , I use getsockopt or sctp_opt_info to get the information of sctp association message, both two function return value of 0, and that means they work well, but the result of testing show some error. Here are the result that getting from function getsockopt or sctp_opt_info: NO. ASSOC-ID STATE RWND UNACKDATA PENDDATA INSTRMS OUTSTRMS FRAG-POINT SPINFO-STATE SPINFO-CWDN SPINFO-SRTT SPINFO-RTO SPINFO-MTU 1 36 ESTABLISHED 57344 0 0 10 10 1452 ACTIVE 4380 0 3000 1500 other datas have same value with the data show above. But the message I get from wireshark ,show the value of RWND is changed ,when I get a sack. So can anyone point out something we did wrong or steps we missed? Thanks in advance. -- View this message in context: http://freebsd.1045724.n5.nabble.com/message-from-sctp-getsockopt-or-sctp-opt-info-show-error-tp4836594p4836594.html Sent from the freebsd-net mailing list archive at Nabble.com.