Attention is currently required from: fixeria, laforge, osmith, pespin.
Hello Jenkins Builder, fixeria, laforge, osmith,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmo-sigtran/+/38636?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Code-Review+1 by osmith, Verified+1 by Jenkins Builder
Change subject: sigtran: Make osmo_ss7_route struct and several APIs private
......................................................................
sigtran: Make osmo_ss7_route struct and several APIs private
The struct is in general managed internally by the library, only a few
APIs which are in use by some external users (osmo-hnbgw and osmo-bsc
vty) are left public.
Change-Id: I8a86966cb6a5361687987a2e9acd79c4ab3d97c4
---
M TODO-RELEASE
M include/osmocom/sigtran/osmo_ss7.h
M src/Makefile.am
M src/osmo_ss7.c
M src/osmo_ss7_as.c
M src/osmo_ss7_hmrt.c
A src/osmo_ss7_route.c
M src/osmo_ss7_route_table.c
M src/osmo_ss7_vty.c
M src/sccp_scrc.c
M src/sccp_user.c
A src/ss7_route.h
M src/xua_as_fsm.c
M src/xua_rkm.c
M tests/ss7/ss7_test.c
15 files changed, 401 insertions(+), 335 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/36/38636/2
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/38636?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I8a86966cb6a5361687987a2e9acd79c4ab3d97c4
Gerrit-Change-Number: 38636
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/38628?usp=email )
Change subject: bsc_ctrl: Use new libosmo-sigtran API osmo_ss7_route_get_dest_as()
......................................................................
bsc_ctrl: Use new libosmo-sigtran API osmo_ss7_route_get_dest_as()
Use this new API instead of accessing the route struct directly.
Depends: libosmo-sigtran.git Change-Id Ife63bd384d247a761e0b89505ea71c41a4a16d9b
Change-Id: I198351fba4cfeba310b397c964e5306cd73189ba
---
M TODO-RELEASE
M src/osmo-bsc/bsc_ctrl.c
2 files changed, 6 insertions(+), 1 deletion(-)
Approvals:
osmith: Looks good to me, approved
laforge: Looks good to me, but someone else must approve
pespin: Verified
diff --git a/TODO-RELEASE b/TODO-RELEASE
index 0ed7189..c073b60 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -7,3 +7,4 @@
# If any interfaces have been added since the last public release: c:r:a + 1.
# If any interfaces have been removed or changed since the last public release: c:r:0.
#library what description / commit summary line
+libosmo-sigtran >2.0.1 Use API osmo_ss7_route_get_dest_as()
\ No newline at end of file
diff --git a/src/osmo-bsc/bsc_ctrl.c b/src/osmo-bsc/bsc_ctrl.c
index aff1d83..5cc8d90 100644
--- a/src/osmo-bsc/bsc_ctrl.c
+++ b/src/osmo-bsc/bsc_ctrl.c
@@ -632,11 +632,15 @@
static struct osmo_ss7_as *msc_get_ss7_as(struct bsc_msc_data *msc)
{
struct osmo_ss7_route *rt;
+ struct osmo_ss7_as *as;
struct osmo_ss7_instance *ss7 = osmo_sccp_get_ss7(msc->a.sccp);
rt = osmo_ss7_route_lookup(ss7, msc->a.msc_addr.pc);
if (!rt)
return NULL;
- return rt->dest.as;
+ as = osmo_ss7_route_get_dest_as(rt);
+ if (!as)
+ return NULL;
+ return as;
}
static int _ss7_as_send(struct osmo_ss7_as *as, struct msgb *msg)
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/38628?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I198351fba4cfeba310b397c964e5306cd73189ba
Gerrit-Change-Number: 38628
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
pespin has removed a vote from this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/38628?usp=email )
Change subject: bsc_ctrl: Use new libosmo-sigtran API osmo_ss7_route_get_dest_as()
......................................................................
Removed Verified-1 by Jenkins Builder (1000002)
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/38628?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: deleteVote
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I198351fba4cfeba310b397c964e5306cd73189ba
Gerrit-Change-Number: 38628
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-bsc/+/38628?usp=email )
Change subject: bsc_ctrl: Use new libosmo-sigtran API osmo_ss7_route_get_dest_as()
......................................................................
Patch Set 1: Verified+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/38628?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I198351fba4cfeba310b397c964e5306cd73189ba
Gerrit-Change-Number: 38628
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 05 Nov 2024 11:37:54 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: pespin.
osmith has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-bsc/+/38628?usp=email )
Change subject: bsc_ctrl: Use new libosmo-sigtran API osmo_ss7_route_get_dest_as()
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/38628?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I198351fba4cfeba310b397c964e5306cd73189ba
Gerrit-Change-Number: 38628
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 05 Nov 2024 11:11:11 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes