[sr-dev] git:master: ipops: Added function is_ip_rfc1918(ip) for detecting private IPv4 according to RFC 1918.

Iñaki Baz Castillo ibc at aliax.net
Mon Aug 1 12:23:06 CEST 2011


Module: sip-router
Branch: master
Commit: aa940ed3b54c8078beba93502c17cb27327885a0
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=aa940ed3b54c8078beba93502c17cb27327885a0

Author: Iñaki Baz Castillo <ibc at aliax.net>
Committer: Iñaki Baz Castillo <ibc at 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=aa940ed3b54c8078beba93502c17cb27327885a0



More information about the sr-dev mailing list