[MERGED] libosmo-sccp[master]: sccp_types.h: Add 'struct sccp_data_unitdata_service'

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Feb 13 14:36:37 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: sccp_types.h: Add 'struct sccp_data_unitdata_service'
......................................................................


sccp_types.h: Add 'struct sccp_data_unitdata_service'

We didn't have as struct for UDTS messages so far, let's change that.

Change-Id: I9cbd3980fd95d5af6f0fc807ede34aa6b0f64ea7
---
M include/sccp/sccp_types.h
1 file changed, 20 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Holger Freyther: Looks good to me, approved



diff --git a/include/sccp/sccp_types.h b/include/sccp/sccp_types.h
index 986de0d..e1c6612 100644
--- a/include/sccp/sccp_types.h
+++ b/include/sccp/sccp_types.h
@@ -400,6 +400,26 @@
 	uint8_t			data[0];
 } __attribute__((packed));
 
+struct sccp_data_unitdata_service {
+	/* mandantory */
+	uint8_t			type;
+	uint8_t			return_cause;
+
+
+	/* variable */
+	uint8_t			variable_called;
+	uint8_t			variable_calling;
+	uint8_t			variable_data;
+
+#if VARIABLE
+	called party address
+	calling party address
+#endif
+
+	uint8_t			data[0];
+} __attribute__((packed));
+
+
 struct sccp_data_it {
 	/* mandantory */
 	uint8_t			type;

-- 
To view, visit https://gerrit.osmocom.org/1806
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9cbd3980fd95d5af6f0fc807ede34aa6b0f64ea7
Gerrit-PatchSet: 3
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list