summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-12-12 15:53:40 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-12 15:53:40 +0100
commit4c5ef5b3e1bb7775386a6c6c2e9b00b3456c59d8 (patch)
tree4b9c5edece8450c2ec8ad5375416fd729e3709db
parent2f157f6cf971165e8d39f28c44a3a2e93eb48bc6 (diff)
IPA_Types: Add ts_PDU_IPA (selftest fixup
-rw-r--r--library/IPA_Types.ttcn7
1 files changed, 7 insertions, 0 deletions
diff --git a/library/IPA_Types.ttcn b/library/IPA_Types.ttcn
index 517ca47..5522e87 100644
--- a/library/IPA_Types.ttcn
+++ b/library/IPA_Types.ttcn
@@ -49,6 +49,13 @@ type record PDU_IPA
variant (streamIdExt) "PRESENCE(streamId=IPAC_PROTO_OSMO)";
}
+template PDU_IPA ts_PDU_IPA(IpaStreamId id, template octetstring payload) := {
+ lengthInd := 0,
+ streamId := id,
+ streamIdExt := omit,
+ payloadData := valueof(payload)
+}
+
type enumerated IpaCcmMsgtype {
IPAC_MSGT_PING ('00'H),