aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-08-05 07:20:09 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-08-05 07:20:09 +0800
commit1be9f2fddcfd9ba02f9f3a8203fa79b3b4e9b3e2 (patch)
tree00108dd09b873de1261d1d347faa739c0ecd3f8e /openbsc/include/openbsc
parent15e7389cf06af3e83d4a5d232d9409fc02002cd0 (diff)
mgcp: Allow to have a different port allocation mode
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r--openbsc/include/openbsc/mgcp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp.h b/openbsc/include/openbsc/mgcp.h
index e8d4bb02d..8f5917003 100644
--- a/openbsc/include/openbsc/mgcp.h
+++ b/openbsc/include/openbsc/mgcp.h
@@ -91,6 +91,11 @@ struct mgcp_port_range {
/* pre-allocated from a base? */
int base_port;
+
+ /* dynamically allocated */
+ int range_start;
+ int range_end;
+ int last_port;
};
struct mgcp_config {