[sr-dev] git:andrei/blst_send_flags: blacklist: ignore mask support

Andrei Pelinescu-Onciul andrei at iptel.org
Wed Dec 23 13:42:55 CET 2009


Module: sip-router
Branch: andrei/blst_send_flags
Commit: 5d6752dc5d37e112a7493d9e50f40e8f19a5dd41
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5d6752dc5d37e112a7493d9e50f40e8f19a5dd41

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Wed Dec 23 09:44:12 2009 +0100

blacklist: ignore mask support

blacklist:
- a blacklist ignore mask (part of the send flags) is now
  supported by the blacklist functions
- blacklist add functions don't require anymore checking if the
  blacklist is enabled
- added dst_blacklist_force_add_to() and dst_blacklist_force_su_to()
tcp:
- updated to the changed dst_blacklist_su()
- a tcp connection send_flags and blacklist ignore mask are
  inherited from the packet that opens the connection
sctp:
- updated to the changed dst_blacklist_su()

---

 dst_blacklist.c |   12 ++--
 dst_blacklist.h |  117 +++++++++++++++++++++++++++++++++++++------
 forward.c       |    5 +-
 sctp_server.c   |   15 ++---
 tcp_conn.h      |    5 +--
 tcp_main.c      |  147 +++++++++++++++++++++++++------------------------------
 tcp_read.c      |   21 +++-----
 7 files changed, 192 insertions(+), 130 deletions(-)

Diff:   http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=5d6752dc5d37e112a7493d9e50f40e8f19a5dd41



More information about the sr-dev mailing list