From owner-freebsd-net@FreeBSD.ORG Sat Sep 24 18:01:51 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 F079C1065670 for ; Sat, 24 Sep 2011 18:01:51 +0000 (UTC) (envelope-from Michael.Tuexen@lurchi.franken.de) Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) by mx1.freebsd.org (Postfix) with ESMTP id 640478FC0A for ; Sat, 24 Sep 2011 18:01:51 +0000 (UTC) Received: from [192.168.1.195] (p5481D960.dip.t-dialin.net [84.129.217.96]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id 69A431C0C0BEA; Sat, 24 Sep 2011 20:01:50 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: =?iso-8859-1?Q?Michael_T=FCxen?= In-Reply-To: <1316871818655-4836594.post@n5.nabble.com> Date: Sat, 24 Sep 2011 20:01:49 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1316871818655-4836594.post@n5.nabble.com> To: jyl_2006 X-Mailer: Apple Mail (2.1084) Cc: freebsd-net@freebsd.org Subject: Re: 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 18:01:52 -0000 On Sep 24, 2011, at 3:43 PM, jyl_2006 wrote: > 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. >=20 > Here are the result that getting from function getsockopt or = sctp_opt_info: >=20 > 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 = =20 > 1452 ACTIVE 4380 0 3000 1500 >=20 > other datas have same value with the data show above. >=20 > But the message I get from wireshark ,show the value of RWND is = changed > ,when I get a sack. >=20 > So can anyone point out something we did wrong or steps we missed?=20 > Thanks in advance.=20 Just a followup: OK, you use the SCTP_STATUS socket option for the first values. I tested with FreeBSD 9 and get reported the correct values of rwnd. Please = provide more information how to reproduce the problem... Best regards Michael >=20 > -- > 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. > _______________________________________________ > 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" >=20