diff options
author | Harald Welte <laforge@gnumonks.org> | 2019-04-23 22:18:05 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-04-25 20:06:15 +0000 |
commit | ceaff266829866392feeda5640010d97587a5381 (patch) | |
tree | 642e50aef057c7330c8c3296752e814e2532098a | |
parent | 2216b75a580d2683c8ad1781e126830478122527 (diff) |
LLC_Templates: Add templates for NULL and DISC
Change-Id: Ia5b350990379bba1677a0c1c99cf37e6651ba84d
-rw-r--r-- | library/LLC_Templates.ttcn | 13 |
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; |