[sr-dev] git:sr_3.0: sctp: workaround SCTP_DELAYED_SACK lksctp typo
Andrei Pelinescu-Onciul
andrei at iptel.org
Thu Nov 12 17:51:10 CET 2009
Module: sip-router
Branch: sr_3.0
Commit: cc16495666e948f2c18dc0bacebecfac85ff59a5
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cc16495666e948f2c18dc0bacebecfac85ff59a5
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Thu Nov 12 16:24:08 2009 +0100
sctp: workaround SCTP_DELAYED_SACK lksctp typo
- workaround typo in linux libsctp api: SCTP_DELAYED_ACK is
used/defined instead of SCTP_DELAYED_SACK.
- to support older kernels (< 2.6.27), if setting/getting the
socket options with SCTP_DELAYED_SACK fails, fallback to
SCTP_DELAYED_ACK_TIME for sctp sack_delay and report an error if
the user tries to set sack_freq (not supported on older
kernels).
- split sctp_get_os_default() into sctp_get_os_default() and
sctp_get_cfg_from_sock() for debugging purposes.
---
sctp_options.c | 48 ++++++++++++-----
sctp_options.h | 1 +
sctp_server.c | 156 +++++++++++++++++++++++++++++++++++++------------------
sctp_sockopts.h | 44 +++++++++++++++
4 files changed, 185 insertions(+), 64 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=cc16495666e948f2c18dc0bacebecfac85ff59a5
More information about the sr-dev
mailing list