[PATCH] libosmo-sccp[master]: sua.h: Define more IEIs; base definitions on m3ua.h

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

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

sua.h: Define more IEIs; base definitions on m3ua.h

A lot of IEIs are identical between the different xUA dialects, so let's
base the SUA definitions on the m3ua definitions.

Change-Id: I64c7166cf0b5c8a927ab7e14955100f8d13fe16a
---
M include/osmocom/sigtran/protocol/sua.h
1 file changed, 13 insertions(+), 2 deletions(-)


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

diff --git a/include/osmocom/sigtran/protocol/sua.h b/include/osmocom/sigtran/protocol/sua.h
index d191368..0ae4131 100644
--- a/include/osmocom/sigtran/protocol/sua.h
+++ b/include/osmocom/sigtran/protocol/sua.h
@@ -21,6 +21,9 @@
 #pragma once
 #include <stdint.h>
 
+#include <osmocom/sigtran/protocol/m3ua.h>
+
+#define SUA_VERSION	1
 #define SUA_PPID	4
 #define SUA_PORT 	14001
 
@@ -76,8 +79,16 @@
 #define SUA_CO_COERR		10
 #define SUA_CO_COIT		11 /* Connection Oriented Inactiviy Test */
 
-#define SUA_IEI_ROUTE_CTX	0x0006
-#define SUA_IEI_CORR_ID		0x0013
+#define SUA_IEI_INFO_STRING	M3UA_IEI_INFO_STRING
+#define SUA_IEI_ROUTE_CTX	M3UA_IEI_ROUTE_CTX
+#define SUA_IEI_DIAG_INFO	M3UA_IEI_DIAG_INFO
+#define SUA_IEI_HEARTBT_DATA	M3UA_IEI_HEARDBT_DATA
+#define SUA_IEI_TRAF_MODE_TYP	M3UA_IEI_TRAF_MODE_TYP
+#define SUA_IEI_ERR_CODE	M3UA_IEI_ERR_CODE
+#define SUA_IEI_STATUS		M3UA_IEI_STATUS
+#define SUA_IEI_ASP_ID		M3UA_IEI_ASP_ID
+#define SUA_IEI_AFFECTED_PC	M3UA_IEI_AFFECTED_PC
+#define SUA_IEI_CORR_ID		M3UA_IEI_CORR_ID
 #define SUA_IEI_REG_RESULT	0x0014
 #define SUA_IEI_DEREG_RESULT	0x0015
 

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

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