aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/sigtran
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-04-03 16:28:14 +0200
committerHarald Welte <laforge@gnumonks.org>2017-04-10 10:41:16 +0200
commite9360a75bbd99f8745ad8fa727d0a75c5db7e4ca (patch)
tree9dad48d2e45ab73fdd89e02d1ac9879838a2ebe3 /include/osmocom/sigtran
parent64deeb0a5204f446cbd053c400d87fbd91957599 (diff)
sua.h: Add #define for the varius SUA protocol errors
again using m3ua.h definitions as base whenever applicable. Change-Id: Iec2563cb158b1c18064671564a7502b5c4d82517
Diffstat (limited to 'include/osmocom/sigtran')
-rw-r--r--include/osmocom/sigtran/protocol/sua.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/osmocom/sigtran/protocol/sua.h b/include/osmocom/sigtran/protocol/sua.h
index 0ae4131..de67041 100644
--- a/include/osmocom/sigtran/protocol/sua.h
+++ b/include/osmocom/sigtran/protocol/sua.h
@@ -136,3 +136,25 @@
#define SUA_CAUSE_T_RELEASE 0x0300
#define SUA_CAUSE_T_RESET 0x0400
#define SUA_CAUSE_T_ERROR 0x0500
+
+/* 3.9.12 Error: Identical to M3UA, extended by two at the bottom */
+#define SUA_ERR_INVALID_VERSION M3UA_ERR_INVALID_VERSION
+#define SUA_ERR_UNSUPP_MSG_CLASS M3UA_ERR_UNSUPP_MSG_CLASS
+#define SUA_ERR_UNSUPP_MSG_TYPE M3UA_ERR_UNSUPP_MSG_TYPE
+#define SUA_ERR_UNSUPP_TRAF_MOD_TYP M3UA_ERR_UNSUPP_TRAF_MOD_TYP
+#define SUA_ERR_UNEXPECTED_MSG M3UA_ERR_UNEXPECTED_MSG
+#define SUA_ERR_PROTOCOL_ERR M3UA_ERR_PROTOCOL_ERR
+#define SUA_ERR_INVAL_STREAM_ID M3UA_ERR_INVAL_STREAM_ID
+#define SUA_ERR_REFUSED_MGMT_BLOCKING M3UA_ERR_REFUSED_MGMT_BLOCKING
+#define SUA_ERR_ASP_ID_REQD M3UA_ERR_ASP_ID_REQD
+#define SUA_ERR_INVAL_ASP_ID M3UA_ERR_INVAL_ASP_ID
+#define SUA_ERR_INVAL_PARAM_VAL M3UA_ERR_INVAL_PARAM_VAL
+#define SUA_ERR_PARAM_FIELD_ERR M3UA_ERR_PARAM_FIELD_ERR
+#define SUA_ERR_UNEXP_PARAM M3UA_ERR_UNEXP_PARAM
+#define SUA_ERR_DEST_STATUS_UNKN M3UA_ERR_DEST_STATUS_UNKN
+#define SUA_ERR_INVAL_NET_APPEAR M3UA_ERR_INVAL_NET_APPEAR
+#define SUA_ERR_MISSING_PARAM M3UA_ERR_MISSING_PARAM
+#define SUA_ERR_INVAL_ROUT_CTX M3UA_ERR_INVAL_ROUT_CTX
+#define SUA_ERR_NO_CONFGD_AS_FOR_ASP M3UA_ERR_NO_CONFGD_AS_FOR_ASP
+#define SUA_ERR_SUBSYS_STATUS_UNKN 0x1b
+#define SUA_ERR_INVAL_LOADSH_LEVEL 0x1c