Change in osmo-ttcn3-hacks[master]: LLC_Templates: Add templates for NULL and DISC

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Apr 23 20:37:49 UTC 2019


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/13759


Change subject: LLC_Templates: Add templates for NULL and DISC
......................................................................

LLC_Templates: Add templates for NULL and DISC

Change-Id: Ia5b350990379bba1677a0c1c99cf37e6651ba84d
---
M library/LLC_Templates.ttcn
1 file changed, 13 insertions(+), 0 deletions(-)



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

diff --git a/library/LLC_Templates.ttcn b/library/LLC_Templates.ttcn
index 1ea238e..0431a70 100644
--- a/library/LLC_Templates.ttcn
+++ b/library/LLC_Templates.ttcn
@@ -135,6 +135,19 @@
 				   template (value) BIT1 cr) :=
 	ts_LLC_U('1000'B, p_f, Information_field_U:{dM := ''O}, sapi, cr);
 
+template PDU_LLC tr_LLC_NULL(template BIT1 p_f, template BIT4 sapi, template BIT1 cr) :=
+	tr_LLC_U('0000'B, p_f, Information_field_U:{nULL := ''O}, sapi, cr);
+template (value) PDU_LLC ts_LLC_NULL(template (value) BIT1 p_f, template (value) BIT4 sapi,
+				     template (value) BIT1 cr) :=
+	ts_LLC_U('0000'B, p_f, Information_field_U:{nULL := ''O}, sapi, cr);
+
+template PDU_LLC tr_LLC_DISC(template BIT1 p_f, template BIT4 sapi, template BIT1 cr) :=
+	tr_LLC_U('0100'B, p_f, Information_field_U:{dISC := ''O}, sapi, cr);
+template (value) PDU_LLC ts_LLC_DISC(template (value) BIT1 p_f, template (value) BIT4 sapi,
+				     template (value) BIT1 cr) :=
+	ts_LLC_U('0100'B, p_f, Information_field_U:{dISC := ''O}, sapi, cr);
+
+
 const BIT4 c_LLC_SAPI_LLGMM := '0001'B;
 const BIT4 c_LLC_SAPI_TOM2 := '0010'B;
 const BIT4 c_LLC_SAPI_LL3 := '0011'B;

-- 
To view, visit https://gerrit.osmocom.org/13759
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia5b350990379bba1677a0c1c99cf37e6651ba84d
Gerrit-Change-Number: 13759
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190423/c30d9fdc/attachment.html>


More information about the gerrit-log mailing list