diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-06-30 16:38:42 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-07-12 23:42:47 +0200 |
commit | f9bac02f78d85a9d794bb76c3d3da84e2d72a08b (patch) | |
tree | c9af0eee6f945566f16375d977593e8831d36e8b /include | |
parent | 9181421441eec573424f0ce76c67273070f77f1a (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.
Change-Id: I63b2e810b97131c690edd5a9cc5c7b3b54ec5e12
Diffstat (limited to 'include')
-rw-r--r-- | include/openbsc/bsc_msc_data.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/include/openbsc/bsc_msc_data.h b/include/openbsc/bsc_msc_data.h index e97ab13fc..f5815171e 100644 --- a/include/openbsc/bsc_msc_data.h +++ b/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; }; |