Change in osmo-e1-recorder[master]: make e1cap format portable

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Fri May 8 16:19:10 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-e1-recorder/+/16186 )

Change subject: make e1cap format portable
......................................................................

make e1cap format portable

The original format included a 'struct timeval' into the packet header,
which unfortunately is non-potrable between e.g. i386 and amd64.

Change-Id: I0d22ad8f772d173c2252c2f6c562faee2e578806
---
M src/storage.h
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  tnt: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve



diff --git a/src/storage.h b/src/storage.h
index c7c1890..0ea9937 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -11,7 +11,10 @@
 /* header for each frame we store */
 struct osmo_e1cap_pkthdr {
 	/* Timestamp at which frame was received */
-	struct timeval ts;
+	struct {
+		uint32_t tv_sec;
+		uint32_t tv_usec;
+	} ts;
 	/* length of frame data after this header */
 	uint32_t len;
 	/* line/span number on which frame was received */

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-e1-recorder/+/16186
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-e1-recorder
Gerrit-Branch: master
Gerrit-Change-Id: I0d22ad8f772d173c2252c2f6c562faee2e578806
Gerrit-Change-Number: 16186
Gerrit-PatchSet: 6
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: tnt <tnt at 246tNt.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200508/f6a49b93/attachment.htm>


More information about the gerrit-log mailing list