Re: Regarding SCTP_DELAYED_ACK_TIME

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Padmalochan Moharana wrote:
> 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 ));
> 
> 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

> 
> Please let me know how can i set SCTP_DELAYED_ACK_TIME value in my application.
> 
> Br,
> Padmalochan
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux