Module: sip-router
Branch: kamailio_3.0
Commit: 1b83a39eafb5c2ff77f3f8028dbcb39e864f3d5e
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1b83a39…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
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.
(cherry picked from commit cc16495666e948f2c18dc0bacebecfac85ff59a5)
---
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=1b8…