[MERGED] libosmo-sccp[master]: protocol/sua.h: Add #defines for CAUSE group values (from RFC)

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: protocol/sua.h: Add #defines for CAUSE group values (from RFC)
......................................................................


protocol/sua.h: Add #defines for CAUSE group values (from RFC)

Change-Id: I5b0af77aab4ba03262c0ecd25a893f170ca9c4bb
---
M include/osmocom/sigtran/protocol/sua.h
1 file changed, 7 insertions(+), 0 deletions(-)

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



diff --git a/include/osmocom/sigtran/protocol/sua.h b/include/osmocom/sigtran/protocol/sua.h
index d61c85a..d191368 100644
--- a/include/osmocom/sigtran/protocol/sua.h
+++ b/include/osmocom/sigtran/protocol/sua.h
@@ -118,3 +118,10 @@
 #define SUA_RI_SSN_PC	2
 #define SUA_RI_HOST	3
 #define SUA_RI_SSN_IP	4
+
+#define SUA_CAUSE_T_MASK	0xff00
+#define SUA_CAUSE_T_RETURN	0x0100
+#define SUA_CAUSE_T_REFUSAL	0x0200
+#define SUA_CAUSE_T_RELEASE	0x0300
+#define SUA_CAUSE_T_RESET	0x0400
+#define SUA_CAUSE_T_ERROR	0x0500

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5b0af77aab4ba03262c0ecd25a893f170ca9c4bb
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