Skip to contentSkip to conversation

Regarding SCTP_DELAYED_ACK_TIME

Lksctp-developers Bibhuti Bhusan Tosh 1 participant 1 message Apr 30, 2009 SCTP protocol

lore
Share & tools
lore
#0 lore raw

HI All

Please let me know which version of linux and lksctp-tools is currently supporting this SACK timer customisation?

Best Regards,
--Bibhuti

-----Original Message-----
From: Vlad Yasevich [mailto:[email protected]]
Sent: Wednesday, April 29, 2009 5:59 PM
To: Padmalochan Moharana
Cc: [email protected]; [email protected]
Subject: Re: [Lksctp-developers] Regarding SCTP_DELAYED_ACK_TIME

Quoted 11 lines · Padmalochan Moharana

Hello,

In my application I have tried to set the SACK timer to 400 Milli second by writing following code.

struct sctp_assoc_value sack_timer ; bzero(&sack_timer, sizeof(sack_timer)); sack_timer.assoc_id =1 ; sack_timer.assoc_value = 400 ; int res = setsockopt(socketFD, IPPROTO_SCTP, SCTP_DELAYED_ACK_TIME, &sack_timer,sizeof(struct sctp_assoc_value ));

Quoted 3 lines

But setsockopt() returns error ("Protocol not available").

The kernel version i have used is : 2.6.9-55.EL lksctp version: 1.0.8

This kernel does not support the socket option you are trying to use. You need to upgrade the kernel.

-vlad

Quoted 2 lines

Please let me know how can i set SCTP_DELAYED_ACK_TIME value in my

application.

Quoted 4 lines

Br,
Padmalochan

----------------------------------------------------------------------------
--
Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Lksctp-developers mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/lksctp-developers