aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-05 09:10:30 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-05 09:10:30 +0200
commitc6a1fe773d16eb20d4cb1d3097761419436f4537 (patch)
tree505aa6ba3f4d99d4b7da902271149a529e35e90e /openbsc/include
parent729d468fdf196fb674127e053ec8a058858655f5 (diff)
nat: Remember where the BTS is listening for things.
Extract the port from the BSS's MGCP Gateway so we know where to forward the data to.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/bsc_nat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h
index 6ec666a17..e27234911 100644
--- a/openbsc/include/openbsc/bsc_nat.h
+++ b/openbsc/include/openbsc/bsc_nat.h
@@ -205,5 +205,6 @@ void bsc_mgcp_forward(struct bsc_connection *bsc, struct msgb *msg);
int bsc_mgcp_parse_response(const char *str, int *code, char transaction[60]);
int bsc_mgcp_extract_ci(const char *resp);
+int bsc_mgcp_extract_port(const char *resp);
#endif