Change in osmo-ttcn3-hacks[master]: library/DIAMETER_Templates: introduce c_def_{hbh, ete}_id constants

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

fixeria gerrit-no-reply at lists.osmocom.org
Sun Dec 12 01:42:32 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26511 )


Change subject: library/DIAMETER_Templates: introduce c_def_{hbh,ete}_id constants
......................................................................

library/DIAMETER_Templates: introduce c_def_{hbh,ete}_id constants

Change-Id: I714b18bbe77949593803e999d25e4ef8e1827917
Related: SYS#5602
---
M library/DIAMETER_Templates.ttcn
1 file changed, 5 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/11/26511/1

diff --git a/library/DIAMETER_Templates.ttcn b/library/DIAMETER_Templates.ttcn
index 2cc2986..8e7ae51 100644
--- a/library/DIAMETER_Templates.ttcn
+++ b/library/DIAMETER_Templates.ttcn
@@ -106,12 +106,15 @@
 const uint32_t c_DIAMETER_3GPP_S13_AID := 16777252;
 const uint32_t c_DIAMETER_3GPP_S7_AID := 16777308;
 
+const UINT32 c_def_hbh_id := '00000000'O;
+const UINT32 c_def_ete_id := '00000000'O;
+
 template (value) PDU_DIAMETER
 ts_DIAMETER(template (value) BIT8 flags,
 	    template (value) Command_Code cmd_code,
 	    template (value) OCTET4 app_id := '00000000'O,
-	    template (value) UINT32 hbh_id,
-	    template (value) UINT32 ete_id,
+	    template (value) UINT32 hbh_id := c_def_hbh_id,
+	    template (value) UINT32 ete_id := c_def_ete_id,
 	    template (value) AVP_list avps := {}
 ) := {
 	version := 1,

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26511
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I714b18bbe77949593803e999d25e4ef8e1827917
Gerrit-Change-Number: 26511
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211212/3d150738/attachment.htm>


More information about the gerrit-log mailing list