Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2011 20:01:49 +0200
From:      =?iso-8859-1?Q?Michael_T=FCxen?= <Michael.Tuexen@lurchi.franken.de>
To:        jyl_2006 <yilinjing2006@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: message from sctp getsockopt or sctp_opt_info show error
Message-ID:  <AE6AB879-EB03-4F50-ABF9-820903EF9780@lurchi.franken.de>
In-Reply-To: <1316871818655-4836594.post@n5.nabble.com>
References:  <1316871818655-4836594.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AE6AB879-EB03-4F50-ABF9-820903EF9780>