aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-30 13:01:22 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-30 13:08:32 +0200
commit571ba8e4daafebd12fb64a99bba4a4bcc976872c (patch)
tree9085cd998cf7d21c1eb2552b228947d0dcbdb282 /openbsc/include
parentbed6234e269aa782e5a1a78edf5f39e048059300 (diff)
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...
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/bsc_nat.h7
1 files changed, 7 insertions, 0 deletions
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 <sys/types.h>
#include <sccp/sccp_types.h>
@@ -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 */