aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-12-03 14:59:04 +0100
committerHarald Welte <laforge@gnumonks.org>2015-12-12 21:43:16 +0100
commit53d51f501ca2ee138556258b0b5c72041c2ac95a (patch)
tree5d64644b3c686e51c2ef8a86f1e4ce5dc2c4d029 /openbsc/include
parentda8a19fec0ae16f110869508dd20f9ebab1520e5 (diff)
mncc: introduce 'struct gsm_mncc_bridge' for MNCC_BRIDGE
When a MNCC handler wants to issue the MNCC_BRIDGE primitive overt the MNCC interface, this was not possible so far via the MNCC socket. This primitive was so far only available from the internal MNCC handler, more or less by accident I suppose. The reason for this is in the way the array of two call references had been passed into mncc_tx_to_cc().
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/mncc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mncc.h b/openbsc/include/openbsc/mncc.h
index 2a170cd4d..10192addd 100644
--- a/openbsc/include/openbsc/mncc.h
+++ b/openbsc/include/openbsc/mncc.h
@@ -191,6 +191,11 @@ struct gsm_mncc_rtp {
uint32_t payload_msg_type;
};
+struct gsm_mncc_bridge {
+ uint32_t msg_type;
+ uint32_t callref[2];
+};
+
const char *get_mncc_name(int value);
void mncc_set_cause(struct gsm_mncc *data, int loc, int val);
void cc_tx_to_mncc(struct gsm_network *net, struct msgb *msg);