All of lore.kernel.org
 help / color / mirror / Atom feed
* where is (if at all) ioctl support for sctp...?
@ 2008-07-21  1:02 leon zadorin
  2008-07-21  1:10 ` leon zadorin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: leon zadorin @ 2008-07-21  1:02 UTC (permalink / raw)
  To: linux-sctp

Hi all,
my system is
2.6.23.1-42.fc8 #1 SMP x86_64 x86_64 x86_64 GNU/Linux
as I understand it - it comes with the kernel that is already
sctp-enabled... (in fact I am able to create sctp sockets and
communicate data between them).

I have a question wrt ability of finding the amount of 'free space' in
the SND buffer associated with a givent sctp socket's fd (the actual
buffering strategy [single buffer per association or not] is not
important to me - only the fact that eventually any message written
via an SCTP socket will have to go to some kernel-level buffer - and I
want to know the amount of free space left in such a buffer before
actually writing the message).

Essentially I don't want to wait for 'would block' type of a response
from a written socket as in my deployment scenario it would,
essentially, be too late- I want to begin throttling the data rate
being directed to the outgoing sctp socket based on the amount of free
space available in socket's buffer (the exact reasons are not that
important and will not benefit this discussion).

This is present in TCP protocols with ioctls like SIOCOUTQ.

This is also available in SCTP's implelmentation by OpenSS7 (sctp-0.2.26)...

So just to clear a few things:
1) is linux's default SCTP implementation in 2.6 different from
OpenSS7 implementation?
2) if so - are there any plans to support the aforementioned ioctl?

kind regards
Leon.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-21 14:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-21  1:02 where is (if at all) ioctl support for sctp...? leon zadorin
2008-07-21  1:10 ` leon zadorin
2008-07-21 13:19 ` Vlad Yasevich
2008-07-21 14:51 ` leon zadorin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.