From 571ba8e4daafebd12fb64a99bba4a4bcc976872c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 30 Mar 2010 13:01:22 +0200 Subject: nat: Add MGCP code and parsing to the nat code.. For the nat we will have NAT and MGCP in the same process and this commit starts with that. We are linking in the MGCP code and one can embed MGCP config snippets... --- openbsc/include/openbsc/bsc_nat.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'openbsc/include') diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h index 638791a8b..ab80cb401 100644 --- a/openbsc/include/openbsc/bsc_nat.h +++ b/openbsc/include/openbsc/bsc_nat.h @@ -22,6 +22,8 @@ #ifndef BSC_NAT_H #define BSC_NAT_H +#include "mgcp.h" + #include #include @@ -33,6 +35,8 @@ #define DIR_BSC 1 #define DIR_MSC 2 +#define NAT_IPAC_PROTO_MGCP + struct bsc_nat; /* @@ -135,6 +139,9 @@ struct bsc_nat { /* known BSC's */ struct llist_head bsc_configs; int num_bsc; + + /* MGCP config */ + struct mgcp_config *mgcp_cfg; }; /* create and init the structures */ -- cgit v1.2.3