[PATCH] 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:03:46 UTC 2017


Hello Jenkins Builder, Holger Freyther,

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

    https://gerrit.osmocom.org/1805

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

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


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

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