aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/a_iface.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-06-23 17:36:01 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-12 23:42:47 +0200
commit90ac6b068413d9dbb5804a0f846175677552e040 (patch)
treea21b7a32a3481a861256a3968b9da82d2abecd5c /include/openbsc/a_iface.h
parent425cb6ddaa1649b0dc23dfab83745a23075a3164 (diff)
AoIP+3G: use one common SCCP client for A and IuCS
Move osmo_sccp_simple_client() setup out of iu_init() and a_init(). In msc_main.c and sgsn_main.c, initialize the STP connection first and then pass to iu_init() and a_init(). This allows serving 3G (IuCS) and 2G (A) from one and the same MSC instance. Since both OsmoHNBGW and OsmoBSC are using PC 23 by default now, move BSC to PC 42 (because OsmoBSC typically has vty port 4242, bla). Also: a_iface.c: remove now unused defines a_init(): remove osmo_ss7_init() call that duplicated msc_main.c Change-Id: I963a94e1a0bfc455992d22940dcc9c67c44570b9
Diffstat (limited to 'include/openbsc/a_iface.h')
-rw-r--r--include/openbsc/a_iface.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/openbsc/a_iface.h b/include/openbsc/a_iface.h
index 483ffa47f..b27c3db83 100644
--- a/include/openbsc/a_iface.h
+++ b/include/openbsc/a_iface.h
@@ -19,8 +19,7 @@
*/
/* Initalize A interface connection between to MSC and BSC */
-int a_init(void *ctx, const char *name, uint32_t local_pc, const char *listen_addr,
- const char *remote_addr, uint16_t local_port, struct gsm_network *network);
+int a_init(void *ctx, struct osmo_sccp_instance *sccp, struct gsm_network *network);
/* Send DTAP message via A-interface */
int a_iface_tx_dtap(struct msgb *msg);