From: Vlad Yasevich <vladislav.yasevich@hp.com>
To: linux-sctp@vger.kernel.org
Subject: Re: Regarding SCTP_DELAYED_ACK_TIME
Date: Wed, 29 Apr 2009 12:28:34 +0000 [thread overview]
Message-ID: <49F847F2.8060802@hp.com> (raw)
In-Reply-To: <816fa6970904290514q347cdc9am2b25c123a94af605@mail.gmail.com>
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
>
next prev parent reply other threads:[~2009-04-29 12:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-29 12:26 Regarding SCTP_DELAYED_ACK_TIME Padmalochan Moharana
2009-04-29 12:28 ` Vlad Yasevich [this message]
2009-04-29 12:38 ` regarding SCTP_DELAYED_ACK_TIME Padmalochan Moharana
2009-04-30 5:40 ` Regarding SCTP_DELAYED_ACK_TIME Padmalochan Moharana
2009-04-30 12:41 ` Vlad Yasevich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49F847F2.8060802@hp.com \
--to=vladislav.yasevich@hp.com \
--cc=linux-sctp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.