[sr-dev] git:pd/outbound: modules_k/nathelper: Moved code for nat_uac_test into header files

Peter Dunkley peter.dunkley at crocodile-rcs.com
Sun Aug 19 21:21:59 CEST 2012


Module: sip-router
Branch: pd/outbound
Commit: 7376222d183d8122ef64467eae2d8d8dfdc6bc47
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7376222d183d8122ef64467eae2d8d8dfdc6bc47

Author: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Date:   Sun Aug 19 20:18:51 2012 +0100

modules_k/nathelper: Moved code for nat_uac_test into header files

- This is to enable the code to be directly included into other modules and
  used without requiring nathelper to be loaded.
- Specifically, this will be used with Outbound where the nat_uac_test()
  will be helpful for Outbound-based NAT traversal, but there should be no
  need to load nathelper too.

---

 modules_k/nathelper/nat_uac_test.h |  245 ++++++++++++++++++++++++++++++++++++
 modules_k/nathelper/nathelper.c    |  203 +-----------------------------
 modules_k/nathelper/nhelpr_funcs.c |   34 +-----
 modules_k/nathelper/nhelpr_funcs.h |   31 +++++-
 4 files changed, 277 insertions(+), 236 deletions(-)

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



More information about the sr-dev mailing list