aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-31 13:02:22 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:24:10 +0800
commita7f8018eb292767ee0fa97876830d791f3563fd1 (patch)
tree31dcd10784ae919376302fa488516c8956b4abf5 /openbsc/include
parent241e13005ada8e5651b90f239f27b46fdf4d1809 (diff)
nat: First go at handling MGCP inside the nat
Listen on the MGCP gateway port and let our protocol stack handle everything for now. We will need to have some more control over things though.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/bsc_nat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h
index a5d3b1c79..6f79106fd 100644
--- a/openbsc/include/openbsc/bsc_nat.h
+++ b/openbsc/include/openbsc/bsc_nat.h
@@ -142,6 +142,7 @@ struct bsc_nat {
/* MGCP config */
struct mgcp_config *mgcp_cfg;
+ struct write_queue mgcp_queue;
};
/* create and init the structures */
@@ -180,5 +181,6 @@ int bsc_write_mgcp(struct bsc_connection *bsc, const u_int8_t *data, unsigned in
int bsc_mgcp_assign(struct sccp_connections *, struct msgb *msg);
void bsc_mgcp_clear(struct sccp_connections *);
void bsc_mgcp_free_endpoints(struct bsc_nat *nat);
+int bsc_mgcp_init(struct bsc_nat *nat);
#endif