message from sctp getsockopt or sctp_opt_info show error

Michael Tüxen Michael.Tuexen at lurchi.franken.de
Sat Sep 24 18:01:52 UTC 2011


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



More information about the freebsd-net mailing list