Module: sip-router
Branch: master
Commit: 9c8616aa86f47d9f360f9eecd35266cc360583c1
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9c8616a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sun Jan 24 22:25:03 2010 +0100
pipelimit: module for pipe traffic limit
- based on ratelimit
- has only pipe functionality so far
- pipe definitions loaded from database
- pipe id is name
- dynamic management of piples
(cherry picked from commit 163cd084ab97d8938dd014867f70811f0cffa54f)
---
modules/pipelimit/Makefile | 18 +
modules/pipelimit/pipelimit.c | 703 +++++++++++++++++++++++++++++++++++++++++
modules/pipelimit/pl_db.c | 223 +++++++++++++
modules/pipelimit/pl_db.h | 38 +++
modules/pipelimit/pl_ht.c | 594 ++++++++++++++++++++++++++++++++++
modules/pipelimit/pl_ht.h | 152 +++++++++
6 files changed, 1728 insertions(+), 0 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=9c8…