Module: sip-router Branch: ser_core_cvs Commit: 31fd952ba8af48122876ded631446e210f1634f8 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=31fd952b...
Author: Andrei Pelinescu-Onciul andrei@iptel.org Committer: Andrei Pelinescu-Onciul andrei@iptel.org Date: Wed Mar 4 20:56:00 2009 +0000
sctp: connection reuse & connection tracking
- support for sctp connection tracking and true sctp connection reuse for replies. We need this to support reply connection reuse with asymmetric sctp peers (while there is no reason not to use the same port on sctp for sending and receiving messages and it should be strongly discouraged to do so, we never now with what implementation we'll have to deal). What makes this particularly complex is the not-yet-complete sctp API, the slight but important behaviour differences between its linux, freebsd and solaris implementations and the fact that is more geared towards serial single threaded application rather then parallel-processing multi-process or multi-threaded ones.
- keep track of the number of active and tracked sctp connections
- blacklist moved into sctp_handles_assoc_change()
---
forward.c | 11 +- main.c | 8 + msg_translator.c | 20 +- sctp_server.c | 1274 +++++++++++++++++++++++++++++++++++++++++++++++++++--- sctp_server.h | 11 + 5 files changed, 1266 insertions(+), 58 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=31fd...