arehbein has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/34720?usp=email )
Change subject: gsmtap: Hide implementation of gsmtap_inst
......................................................................
Patch Set 5:
(1 comment)
Patchset:
PS5:
> osmo-remsim: create a TODO-RELEASE file if it exists. […]
I have uploaded https://gerrit.osmocom.org/c/osmo-remsim/+/34919 for osmo-remsim.
@laforge@osmocom.org I suppose "you don't need to worry" means that I don't have to upload any changes at all for osmocom-bb as well as simtrace2?
Just checking because simtrace2.git:host/lib/gsmtap.c contains a call to `gsmtap_inst_fd()` and host code does make use of system libosmocore
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/34720?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ibe1a51205a6df764571b6d074e365825555609a5
Gerrit-Change-Number: 34720
Gerrit-PatchSet: 5
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: arehbein <arehbein(a)sysmocom.de>
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 30 Oct 2023 11:26:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: arehbein <arehbein(a)sysmocom.de>
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
laforge has restored this change. ( https://gerrit.osmocom.org/c/osmo-e1d/+/27578?usp=email )
Change subject: usb: Pass not just the actual transfer length but also the buffer size
......................................................................
Restored
--
To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/27578?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: I5088a5213d2945fdfaf3b242a63e35d0ed511914
Gerrit-Change-Number: 27578
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: manawyrm <osmocom.account(a)tbspace.de>
Gerrit-Reviewer: tnt <tnt(a)246tNt.com>
Gerrit-MessageType: restore
Attention is currently required from: pespin.
arehbein has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-remsim/+/34919?usp=email )
Change subject: bankd: Use gsmtap_inst_fd2()
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
Not entirely sure if the TODO-RELEASE line should look like this
--
To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/34919?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: I2a7736d6fba795b2c479b2a0bc371b90f838ed61
Gerrit-Change-Number: 34919
Gerrit-PatchSet: 1
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 30 Oct 2023 11:16:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
arehbein has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-remsim/+/34919?usp=email )
Change subject: bankd: Use gsmtap_inst_fd2()
......................................................................
bankd: Use gsmtap_inst_fd2()
- Use gsmtap_inst_fd2() because gsmtap_inst_fd() is deprecated
- Add TODO-RELEASE file
Related: OS#6213
Change-Id: I2a7736d6fba795b2c479b2a0bc371b90f838ed61
---
A TODO-RELEASE
M src/bankd/gsmtap.c
2 files changed, 24 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/19/34919/1
diff --git a/TODO-RELEASE b/TODO-RELEASE
new file mode 100644
index 0000000..4a35f50
--- /dev/null
+++ b/TODO-RELEASE
@@ -0,0 +1,10 @@
+# When cleaning up this file: bump API version in corresponding Makefile.am and rename corresponding debian/lib*.install
+# according to https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info…
+# In short:
+# LIBVERSION=c:r:a
+# If the library source code has changed at all since the last update, then increment revision: c:r + 1:a.
+# If any interfaces have been added, removed, or changed since the last update: c + 1:0:0.
+# 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
+libosmocore > 1.9.0 working (compiling) gsmtap_inst_fd2()
diff --git a/src/bankd/gsmtap.c b/src/bankd/gsmtap.c
index 8aced6a..7bdbe51 100644
--- a/src/bankd/gsmtap.c
+++ b/src/bankd/gsmtap.c
@@ -97,7 +97,7 @@
LOGP(DGSMTAP, LOGL_DEBUG, "sending APDU sub_type=%u, mdm_tpdu len=%u, sim_tpdu len=%u, iov cnt=%u\n",
sub_type, mdm_tpdu_len, sim_tpdu_len, cnt);
- const int rc = writev(gsmtap_inst_fd(g_gti), iov, cnt);
+ const int rc = writev(gsmtap_inst_fd2(g_gti), iov, cnt);
if (rc < 0) {
char errtxt[128];
LOGP(DGSMTAP, LOGL_ERROR, "writev() failed with errno=%d: %s\n", errno, strerror_r(errno,
--
To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/34919?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: I2a7736d6fba795b2c479b2a0bc371b90f838ed61
Gerrit-Change-Number: 34919
Gerrit-PatchSet: 1
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-MessageType: newchange