[PATCH] libosmo-sccp[master]: protocol/m3ua.h: Add definition for RKM reg/dereg result codes

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/2256

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

protocol/m3ua.h: Add definition for RKM reg/dereg result codes

Change-Id: I16db7847e20501b89cc487029b29c8796b10bb84
---
M include/osmocom/sigtran/protocol/m3ua.h
1 file changed, 26 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/56/2256/3

diff --git a/include/osmocom/sigtran/protocol/m3ua.h b/include/osmocom/sigtran/protocol/m3ua.h
index c10808c..7b8eadc 100644
--- a/include/osmocom/sigtran/protocol/m3ua.h
+++ b/include/osmocom/sigtran/protocol/m3ua.h
@@ -116,6 +116,32 @@
 #define M3UA_NOTIFY_I_OT_ALT_ASP_ACT	2
 #define M3UA_NOTIFY_I_OT_ASP_FAILURE	3
 
+/* 3.6.2 Registration Status */
+enum m3ua_rkm_reg_status {
+	M3UA_RKM_REG_SUCCESS			= 0,
+	M3UA_RKM_REG_ERR_UNKNOWN		= 1,
+	M3UA_RKM_REG_ERR_INVAL_DPC		= 2,
+	M3UA_RKM_REG_ERR_INVAL_NET_APPEAR	= 3,
+	M3UA_RKM_REG_ERR_INVAL_RKEY		= 4,
+	M3UA_RKM_REG_ERR_PERM_DENIED		= 5,
+	M3UA_RKM_REG_ERR_CANT_SUPP_UNQ_RT	= 6,
+	M3UA_RKM_REG_ERR_RKEY_NOT_PROVD		= 7,
+	M3UA_RKM_REG_ERR_INSUFF_RESRC		= 8,
+	M3UA_RKM_REG_ERR_UNSUPP_RK_PARAM	= 9,
+	M3UA_RKM_REG_ERR_UNSUPP_TRAF_MODE	= 10,
+	M3UA_RKM_REG_ERR_RKEY_CHG_REFUSED	= 11,
+	M3UA_RKM_REG_ERR_RKEY_ALRDY_REGD	= 12,
+};
+
+enum m3ua_rkm_dereg_satus {
+	M3UA_RKM_DEREG_SUCCESS		= 0,
+	M3UA_RKM_DEREG_ERR_UNKNOWN	= 1,
+	M3UA_RKM_DEREG_ERR_INVAL_RCTX	= 2,
+	M3UA_RKM_DEREG_ERR_PERM_DENIED	= 3,
+	M3UA_RKM_DEREG_ERR_NOT_REGD	= 4,
+	M3UA_RKM_DEREG_ERR_ASP_ACTIVE	= 5,
+};
+
 /* 3.8.1 Error */
 enum m3ua_error_code {
 	M3UA_ERR_INVALID_VERSION	= 0x01,

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

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



More information about the gerrit-log mailing list