diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-31 13:02:22 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-31 13:15:19 +0200 |
commit | 82cb311c4fb184a12676fd2090fcdc09cb3e399a (patch) | |
tree | fdbb9cd84d129b0e6ecb2d631c6a900d77d8a3fd /openbsc/include | |
parent | 2980442e33028eca3917900dd5fa60c3c5a2c713 (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.h | 2 |
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 |