diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2014-08-21 10:01:30 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-08-24 16:16:40 +0200 |
commit | 5f1faa3cd25663716de8cc4c2a81fac0f378ff76 (patch) | |
tree | 0c02c1de5d2dbcfd3370ec4512b5b5b3802a25ef /openbsc/tests/gbproxy/gbproxy_test.c | |
parent | 9114bee2424fa5a5e30261054573f9f78b5c5477 (diff) |
gbproxy: Move peer definitions to gb_proxy_peer.c
This patch moves the peer related definitions from gb_proxy.c to
gb_proxy_peer.c and adjusts the prefix of each global symbol to
gbproxy_:
Peer definitions (prefix adjusted to gbproxy_):
peer_ctr_description -> gprs/gb_proxy_peer.c (static)
peer_ctrg_desc -> gprs/gb_proxy_peer.c (static)
*peer_by_* -> gprs/gb_proxy_peer.c
gbproxy_peer_alloc -> gprs/gb_proxy_peer.c
gbproxy_peer_free -> gprs/gb_proxy_peer.c
gbprox_cleanup_peers -> gprs/gb_proxy_peer.c
Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/tests/gbproxy/gbproxy_test.c')
-rw-r--r-- | openbsc/tests/gbproxy/gbproxy_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/tests/gbproxy/gbproxy_test.c b/openbsc/tests/gbproxy/gbproxy_test.c index 1d89ef6f2..a8a84af84 100644 --- a/openbsc/tests/gbproxy/gbproxy_test.c +++ b/openbsc/tests/gbproxy/gbproxy_test.c @@ -1203,7 +1203,7 @@ static void test_gbproxy_ra_patching() gprs_dump_nsi(nsi); dump_peers(stdout, 0, 0, &gbcfg); - peer = gbprox_peer_by_nsei(&gbcfg, 0x1000); + peer = gbproxy_peer_by_nsei(&gbcfg, 0x1000); OSMO_ASSERT(peer != NULL); send_bssgp_reset_ack(nsi, &sgsn_peer, 0x1002); @@ -1423,7 +1423,7 @@ static void test_gbproxy_ptmsi_patching() setup_ns(nsi, &bss_peer[0], 0x1001, 0x1000); setup_bssgp(nsi, &bss_peer[0], 0x1002); - peer = gbprox_peer_by_nsei(&gbcfg, 0x1000); + peer = gbproxy_peer_by_nsei(&gbcfg, 0x1000); OSMO_ASSERT(peer != NULL); send_bssgp_reset_ack(nsi, &sgsn_peer, 0x1002); |