Module: sip-router Branch: master Commit: aa940ed3b54c8078beba93502c17cb27327885a0 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=aa940ed3...
Author: Iñaki Baz Castillo ibc@aliax.net Committer: Iñaki Baz Castillo ibc@aliax.net Date: Mon Aug 1 12:21:44 2011 +0200
ipops: Added function is_ip_rfc1918(ip) for detecting private IPv4 according to RFC 1918.
---
modules/ipops/README | 22 ++ modules/ipops/compile_rfc1918_parser.rl.sh | 21 ++ modules/ipops/doc/ipops_admin.xml | 39 +++ modules/ipops/ipops_mod.c | 28 ++- modules/ipops/rfc1918_parser.c | 399 ++++++++++++++++++++++++++++ modules/ipops/rfc1918_parser.h | 16 ++ modules/ipops/rfc1918_parser.rl | 43 +++ 7 files changed, 567 insertions(+), 1 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=aa94...