aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/sigtran
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-02-13 03:43:15 +0100
committerHarald Welte <laforge@gnumonks.org>2017-02-13 15:09:17 +0100
commit663651462acc34cd7b56e997f72b7b268c8f3717 (patch)
tree3e16a0a356133dc457b6bd8af201a6bd8fa65b19 /include/osmocom/sigtran
parent222cd10c2fc2ea0fff9ce792ece34444b6b1e7da (diff)
protocol/sua.h: Add #defines for CAUSE group values (from RFC)
Diffstat (limited to 'include/osmocom/sigtran')
-rw-r--r--include/osmocom/sigtran/protocol/sua.h7
1 files changed, 7 insertions, 0 deletions
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