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

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


Hello Jenkins Builder, Holger Freyther,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/1806

to look at the new patch set (#2).

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(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/06/1806/2

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: newpatchset
Gerrit-Change-Id: I9cbd3980fd95d5af6f0fc807ede34aa6b0f64ea7
Gerrit-PatchSet: 2
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: 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