From a550a096c42283d40f370568637916962b6b4162 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Fri, 30 Jun 2017 16:38:42 +0200 Subject: 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. --- openbsc/include/openbsc/bsc_msc_data.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'openbsc/include/openbsc/bsc_msc_data.h') 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; }; -- cgit v1.2.3