aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-02-13 03:43:50 +0100
committerHarald Welte <laforge@gnumonks.org>2017-02-13 15:09:17 +0100
commit9b988826cdb21b3bb88108117bde92a9da5bb71a (patch)
tree8c22e3d79c6d20b41f82fe9e3dd19c060b4746a3 /include
parent663651462acc34cd7b56e997f72b7b268c8f3717 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/sccp/sccp_types.h20
1 files changed, 20 insertions, 0 deletions
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 @@ struct sccp_data_unitdata {
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;