aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-04-23 22:18:05 +0200
committerHarald Welte <laforge@gnumonks.org>2019-04-25 20:06:15 +0000
commitceaff266829866392feeda5640010d97587a5381 (patch)
tree642e50aef057c7330c8c3296752e814e2532098a
parent2216b75a580d2683c8ad1781e126830478122527 (diff)
LLC_Templates: Add templates for NULL and DISC
-rw-r--r--library/LLC_Templates.ttcn13
1 files changed, 13 insertions, 0 deletions
diff --git a/library/LLC_Templates.ttcn b/library/LLC_Templates.ttcn
index 024ae0b2..b1cdb75c 100644
--- a/library/LLC_Templates.ttcn
+++ b/library/LLC_Templates.ttcn
@@ -135,6 +135,19 @@ template (value) PDU_LLC ts_LLC_DM(template (value) BIT1 p_f, template (value) B
template (value) BIT1 cr) :=
ts_LLC_U('0001'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;