Originally Posted by Joe1989
Doing work on a honers project and in order to predict the thoughput on SCTP. Me and the lecture originally though this might be menitoned int he proc files however it is not, I have also been serching all day tonight and came up with nothing but the lksctp-tools but these dont mesure the cwnd either.
SCTP runs as a layer on top of IP, just like TCP and UDP does, so your base assumption should start that the throughput will be equal or less to that of the the capacity or capability of the IP link you have.
Your post is not clear what you want to use the /proc information for. Do you want to measure
the throughput? You can do that by counting the number of packets flowing past the interface by polling these files:
Alternatively set up iptables
accounting rules to count bytes to/from your IP addresses to which you've set up your associations.
Finally, in your test application itself, you'll have to generate SCTP streaming traffic - you might as well count the octets there and compute the throughput you're getting.
The SCTP implementation is very will documented under linux and the API makes provision for getting lots of status onformation about a specific association. Have you looked at the sctp library code and API yet?
Here's an excellet intro to SCTP as well: