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. > > 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. 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 > > -- > 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-unsubscr...@freebsd.org" > _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"