[PATCH] libosmo-sccp[master]: sua.h: Add #define for the varius SUA protocol errors

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
Sun Apr 9 19:31:09 UTC 2017


Hello Jenkins Builder,

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

    https://gerrit.osmocom.org/2193

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

sua.h: Add #define for the varius SUA protocol errors

again using m3ua.h definitions as base whenever applicable.

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


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

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

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

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Iec2563cb158b1c18064671564a7502b5c4d82517
Gerrit-PatchSet: 2
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: Jenkins Builder



More information about the gerrit-log mailing list