aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/bsc_msc_data.h
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-06-30 16:38:42 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2017-06-30 16:38:42 +0200
commita550a096c42283d40f370568637916962b6b4162 (patch)
tree95a57ca28eeb3659edd6b361d7c476aa65768e4c /openbsc/include/openbsc/bsc_msc_data.h
parent5ee15066de7b6b24820653ad5e2de04f60f55e00 (diff)
osmo-bsc: change calling/called_addr variable names
"calling_address" and "called_address" is not very expressive. change the respective struct memeber names of bsc_msc_data to bsc_addr and msc_addr to increase readability of the code.
Diffstat (limited to 'openbsc/include/openbsc/bsc_msc_data.h')
-rw-r--r--openbsc/include/openbsc/bsc_msc_data.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/bsc_msc_data.h b/openbsc/include/openbsc/bsc_msc_data.h
index e97ab13fc..f5815171e 100644
--- a/openbsc/include/openbsc/bsc_msc_data.h
+++ b/openbsc/include/openbsc/bsc_msc_data.h
@@ -117,8 +117,19 @@ struct bsc_msc_data {
struct osmo_ss7_instance *ss7;
struct osmo_sccp_instance *sccp;
struct osmo_sccp_user *sccp_user;
- struct osmo_sccp_addr g_calling_addr;
- struct osmo_sccp_addr g_called_addr;
+
+ /* Holds a copy of the our local MSC address,
+ * this will be the sccp-address that is associated
+ * with the A interface of this particular BSC,
+ * this address is filled up by the VTY interface */
+ struct osmo_sccp_addr bsc_addr;
+
+ /* Holds a copy of the MSC address. This is the
+ * address of the MSC that handles the calls of
+ * this BSC. The address is configured via the
+ * VTY interface */
+ struct osmo_sccp_addr msc_addr;
+
struct a_reset_ctx *reset;
} a;
};