LLC_Templates: Add templates for NULL and DISC

Change-Id: Ia5b350990379bba1677a0c1c99cf37e6651ba84d
This commit is contained in:
Harald Welte 2019-04-23 22:18:05 +02:00
parent 2216b75a58
commit ceaff26682
1 changed files with 13 additions and 0 deletions

View File

@ -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;