initial chekin of code received by Ericsson on 20170410

This commit is contained in:
Harald Welte 2017-04-12 12:13:44 +02:00
commit ac35980083
94 changed files with 28239 additions and 0 deletions

View File

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2016 Ericsson
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
File: ProtocolModules_Common.tpd
Description: tpd project file
Rev: R9A
Prodnr: CNL 113 368
-->
<TITAN_Project_File_Information version="1.0">
<ProjectName>ProtocolModules_Common</ProjectName>
<Files>
<FileResource projectRelativePath="General_Types.ttcn" relativeURI="src/General_Types.ttcn"/>
<FileResource projectRelativePath="MobileDomainDefinitions.asn" relativeURI="src/MobileDomainDefinitions.asn"/>
<FileResource projectRelativePath="UsefulTtcn3Types.ttcn" relativeURI="src/UsefulTtcn3Types.ttcn"/>
<FileResource projectRelativePath="XSD.ttcn" relativeURI="src/XSD.ttcn"/>
<FileResource projectRelativePath="general_typedefs.ttcn" relativeURI="src/general_typedefs.ttcn"/>
<FileResource projectRelativePath="http_www_w3_org_XML_1998_namespace.ttcn" relativeURI="src/http_www_w3_org_XML_1998_namespace.ttcn"/>
</Files>
<ActiveConfiguration>Default</ActiveConfiguration>
<Configurations>
<Configuration name="Default">
<ProjectProperties>
<MakefileSettings>
<generateInternalMakefile>true</generateInternalMakefile>
<GNUMake>true</GNUMake>
<incrementalDependencyRefresh>true</incrementalDependencyRefresh>
<targetExecutable>bin/ProtocolModules_Common</targetExecutable>
<addSourceLineInfo>true</addSourceLineInfo>
<buildLevel>Level3-Creatingobjectfileswithdependencyupdate</buildLevel>
</MakefileSettings>
<LocalBuildSettings>
<workingDirectory>bin</workingDirectory>
</LocalBuildSettings>
</ProjectProperties>
</Configuration>
</Configurations>
</TITAN_Project_File_Information>

View File

@ -0,0 +1,13 @@
Please note that the storage of the documentation of the product has been
moved to the eridoc.ericsson.se from the ClearCase.
You can access the documentation of the product via the following links:
The documentation belongs to the R9A revision of the product
can be found here:
http://document.internal.ericsson.com/Download?DocNo=1095-CNL113368&Rev=K&Lang=EN&PRev=Y
The documentation belongs to the latest revision of the product
can be found here:
http://document.internal.ericsson.com/Download?DocNo=1095-CNL113368&Rev=HIGHEST&Lang=EN&Status=FREE&PRev=Y

View File

@ -0,0 +1,382 @@
/******************************************************************************
* Copyright (c) 2004, 2014 Ericsson AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Zoltan Jasz - initial implementation and initial documentation
* Abhishek Gupta
* Attila Balasko
* Endre Kulcsar
* Gabor Bettesch
* Gabor Szalai
* Janos Kovesdi
* Sandor Palugyai
* Tibor Csondes
******************************************************************************/
//
// File: General_Types.ttcn
// Rev: R9A
// Prodnr: CNL 113 368
// Reference:
module General_Types
{
group SimpleNativeTypes {
//****************************************************
// Bitstrings
//****************************************************
//bitstring with fixed length
type bitstring BIT1n length(1) with { variant "" };
type bitstring BIT2n length(2) with { variant "" };
type bitstring BIT3n length(3) with { variant "" };
type bitstring BIT4n length(4) with { variant "" };
type bitstring BIT5n length(5) with { variant "" };
type bitstring BIT6n length(6) with { variant "" };
type bitstring BIT7n length(7) with { variant "" };
type bitstring BIT8n length(8) with { variant "" };
type bitstring BIT9n length(9) with { variant "" };
type bitstring BIT12n length(12) with { variant "" };
type bitstring BIT14n length(14) with { variant "" };
type bitstring BIT15n length(15) with { variant "" };
type bitstring BIT16n length(16) with { variant "" };
type bitstring BIT56n length(56) with { variant "" };
//bitstring with length interval
type bitstring BIT14_24n length(14..24) with { variant "" };
//bitstring to be padded with fixed length
type bitstring BIT1np length(1) with { variant "" };
type bitstring BIT2np length(2) with { variant "" };
type bitstring BIT3np length(3) with { variant "" };
type bitstring BIT4np length(4) with { variant "" };
type bitstring BIT5np length(5) with { variant "" };
type bitstring BIT6np length(6) with { variant "" };
type bitstring BIT7np length(7) with { variant "" };
type bitstring BIT15np length(15) with { variant "" };
//bitstring with fixed length
type bitstring BIT1 length(1) with { variant "FIELDLENGTH(1)" };
type bitstring BIT2 length(2) with { variant "FIELDLENGTH(2)" };
type bitstring BIT3 length(3) with { variant "FIELDLENGTH(3)" };
type bitstring BIT4 length(4) with { variant "FIELDLENGTH(4)" };
type bitstring BIT5 length(5) with { variant "FIELDLENGTH(5)" };
type bitstring BIT6 length(6) with { variant "FIELDLENGTH(6)" };
type bitstring BIT7 length(7) with { variant "FIELDLENGTH(7)" };
type bitstring BIT8 length(8) with { variant "FIELDLENGTH(8)" };
type bitstring BIT9 length(9) with { variant "FIELDLENGTH(9)" };
type bitstring BIT10 length(10) with { variant "FIELDLENGTH(10)" };
type bitstring BIT11 length(11) with { variant "FIELDLENGTH(11)" };
type bitstring BIT12 length(12) with { variant "FIELDLENGTH(12)" };
type bitstring BIT14 length(14) with { variant "FIELDLENGTH(14)" };
type bitstring BIT15 length(15) with { variant "FIELDLENGTH(15)" };
type bitstring BIT16 length(16) with { variant "FIELDLENGTH(16)" };
type bitstring BIT24 length(24) with { variant "FIELDLENGTH(24)" };
type bitstring BIT31 length(31) with { variant "FIELDLENGTH(31)" };
type bitstring BIT56 length(56) with { variant "FIELDLENGTH(56)" };
type record of bitstring Bitstrings with { variant "" };
type Bitstrings BitstringList;
type set of bitstring BitstringSet with { variant "" };
//****************************************************
// Octetstrings
//****************************************************
//octetstring with fixed length
type octetstring OCT0n length(0) with { variant "" };
type octetstring OCT1n length(1) with { variant "" };
type octetstring OCT2n length(2) with { variant "" };
type octetstring OCT3n length(3) with { variant "" };
type octetstring OCT4n length(4) with { variant "" };
type octetstring OCT5n length(5) with { variant "" };
type octetstring OCT6n length(6) with { variant "" };
type octetstring OCT7n length(7) with { variant "" };
type octetstring OCT8n length(8) with { variant "" };
type octetstring OCT9n length(9) with { variant "" };
type octetstring OCT10n length(10) with { variant "" };
type octetstring OCT11n length(11) with { variant "" };
type octetstring OCT12n length(12) with { variant "" };
type octetstring OCT13n length(13) with { variant "" };
type octetstring OCT14n length(14) with { variant "" };
type octetstring OCT15n length(15) with { variant "" };
type octetstring OCT16n length(16) with { variant "" };
type octetstring OCT17n length(17) with { variant "" };
type octetstring OCT18n length(18) with { variant "" };
type octetstring OCT19n length(19) with { variant "" };
type octetstring OCT20n length(20) with { variant "" };
type octetstring OCT28n length(28) with { variant "" };
type octetstring OCT32n length(32) with { variant "" };
type octetstring OCT34n length(34) with { variant "" };
type octetstring OCT46n length(46) with { variant "" };
type octetstring OCT50n length(50) with { variant "" };
type octetstring OCT69n length(69) with { variant "" };
type octetstring OCT100n length(100) with { variant "" };
type octetstring OCT128n length(128) with { variant "" };
type octetstring OCT500n length(500) with { variant "" };
type octetstring OCTNn with { variant "" };
//octetstring with length interval
type octetstring OCT1_3n length(1..3) with { variant "" };
type octetstring OCT1_4n length(1..4) with { variant "" };
type octetstring OCT1_5n length(1..5) with { variant "" };
type octetstring OCT1_6n length(1..6) with { variant "" };
type octetstring OCT1_7n length(1..7) with { variant "" };
type octetstring OCT1_8n length(1..8) with { variant "" };
type octetstring OCT1_12n length(1..12) with { variant "" };
type octetstring OCT1_15n length(1..15) with { variant "" };
type octetstring OCT1_16n length(1..16) with { variant "" };
type octetstring OCT1_18n length(1..18) with { variant "" };
type octetstring OCT1_20n length(1..20) with { variant "" };
type octetstring OCT1_24n length(1..24) with { variant "" };
type octetstring OCT1_32n length(1..32) with { variant "" };
type octetstring OCT1_34n length(1..34) with { variant "" };
type octetstring OCT1_46n length(1..46) with { variant "" };
type octetstring OCT1_50n length(1..50) with { variant "" };
type octetstring OCT1_112n length(1..112) with { variant "" };
type octetstring OCT1_127n length(1..127) with { variant "" };
type octetstring OCT1_128n length(1..128) with { variant "" };
type octetstring OCT1_172n length(1..172) with { variant "" };
type octetstring OCT3_5n length(3..5) with { variant "" };
type octetstring OCT3_7n length(3..7) with { variant "" };
type octetstring OCT3_8n length(3..8) with { variant "" };
type octetstring OCT3_14n length(3..14) with { variant "" };
type octetstring OCT3_17n length(3..17) with { variant "" };
type octetstring OCT4_8n length(4..8) with { variant "" };
type record of octetstring Octetstrings with { variant "" };
type Octetstrings OctetstringList;
type set of octetstring OctetstringSet with { variant "" };
//****************************************************
// Charstrings
//****************************************************
//charstring with fixed length
type charstring CHAR4 length (4);
type record of charstring Charstrings with { variant "" };
type Charstrings CharstringList;
type set of charstring CharstringSet with { variant "" };
//****************************************************
// Hexstrings
//****************************************************
//hexstring with fixed length
type hexstring HEX4n length(4) with { variant "" };
type hexstring HEX6n length(6) with { variant "" };
type hexstring HEX8n length(8) with { variant "" };
type hexstring HEX15n length(15) with { variant "" };
type hexstring HEX16n length(16) with { variant "" };
type hexstring HEX24n length(24) with { variant "" };
//hexstring with length interval
type hexstring HEX0_18n length(0..18) with { variant "" };
type hexstring HEX1_20n length(1..20) with { variant "" };
type hexstring HEX1_34n length(1..34) with { variant "" };
type record of hexstring Hexstrings with { variant "" };
type Hexstrings HexstringList;
type set of hexstring HexstringSet with { variant "" };
//****************************************************
// Integers
//****************************************************
//integer with fixed bit number
type integer INT3nb (0..7) with { variant "" };
type integer INT4nb (0..15) with { variant "" };
type integer INT5nb (0..31) with { variant "" };
type integer INT8nb (0..255) with { variant "" };
//integer with fixed bit number and with padding
type integer INT2nbp (0..3) with { variant "" };
type integer INT1nbp (0..1) with { variant "" };
type integer INT3nbp (0..7) with { variant "" };
type integer INT5nbp (0..31) with { variant "" };
type integer INT9nbp (0..511) with { variant "" };
type integer INT13nbp (0..8191) with { variant "" };
type integer INT15nbp (0..32767) with { variant "" };
//****************************************************
// Structures
//****************************************************
//integer record
type record of integer Integers with { variant "" };
type Integers IntegerList;
type record of Integers Integer_array with { variant "" };
type set of integer IntegerSet with { variant "" };
//****************************************************
// Floats
//****************************************************
type record of float Floats with { variant "" };
type Floats FloatList;
type set of float FloatSet with { variant "" };
//****************************************************
// Universal Charstrings
//****************************************************
type record of universal charstring UniversalCharstrings with { variant "" };
type UniversalCharstrings UniversalCharstringList;
type set of universal charstring UniversalCharstringSet with { variant "" };
//****************************************************
// Booleans
//****************************************************
type record of boolean Booleans with { variant "" };
type Booleans BooleanList;
type set of boolean BooleanSet with { variant "" };
//****************************************************
// Verdicttypes
//****************************************************
type record of verdicttype Verdicttypes with { variant "" };
type Verdicttypes VerdicttypeList;
type set of verdicttype VerdicttypeSet with { variant "" };
//****************************************************
// Anytypes
//****************************************************
type record of anytype Anytypes with { variant "" };
type Anytypes AnytypeList;
type set of anytype AnytypeSet with { variant "" };
} // end group NativeTypes
//****************************************************
//****************************************************
// RAW Encoded Types
//****************************************************
//****************************************************
group SimpleRAWEncodedTypes {
//****************************************************
// Bitstrings
//****************************************************
//bitstring with fixed length
type bitstring BIT6_BO_LAST length (6) with {variant "BYTEORDER(last)"};
type bitstring BIT16_BO_LAST length (16) with {variant "BYTEORDER(last)"};
type bitstring BIT32_BO_LAST length (32) with {variant "BYTEORDER(last)"};
//****************************************************
// Octetstrings
//****************************************************
//octetstring with fixed length
type octetstring Dummy length(0) with { variant "FIELDLENGTH(0)" };
type octetstring OCT0 length(0) with { variant "FIELDLENGTH(0)" };
type octetstring OCT1 length(1) with { variant "FIELDLENGTH(1)" };
type octetstring OCT2 length(2) with { variant "FIELDLENGTH(2)" };
type octetstring OCT3 length(3) with { variant "FIELDLENGTH(3)" };
type octetstring OCT4 length(4) with { variant "FIELDLENGTH(4)" };
type octetstring OCT5 length(5) with { variant "FIELDLENGTH(5)" };
type octetstring OCT6 length(6) with { variant "FIELDLENGTH(6)" };
type octetstring OCT7 length(7) with { variant "FIELDLENGTH(7)" };
type octetstring OCT8 length(8) with { variant "FIELDLENGTH(8)" };
type octetstring OCT9 length(9) with { variant "FIELDLENGTH(9)" };
type octetstring OCT10 length(10) with { variant "FIELDLENGTH(10)" };
type octetstring OCT11 length(11) with { variant "FIELDLENGTH(11)" };
type octetstring OCT12 length(12) with { variant "FIELDLENGTH(12)" };
type octetstring OCT13 length(13) with { variant "FIELDLENGTH(13)" };
type octetstring OCT14 length(14) with { variant "FIELDLENGTH(14)" };
type octetstring OCT15 length(15) with { variant "FIELDLENGTH(15)" };
type octetstring OCT16 length(16) with { variant "FIELDLENGTH(16)" };
type octetstring OCT17 length(17) with { variant "FIELDLENGTH(17)" };
type octetstring OCT18 length(18) with { variant "FIELDLENGTH(18)" };
type octetstring OCT19 length(19) with { variant "FIELDLENGTH(19)" };
type octetstring OCT20 length(20) with { variant "FIELDLENGTH(20)" };
type octetstring OCT32 length(32) with { variant "FIELDLENGTH(32)" };
type octetstring OCT34 length(34) with { variant "FIELDLENGTH(34)" };
type octetstring OCT46 length(46) with { variant "FIELDLENGTH(46)" };
//octetstring with length interval
type octetstring OCT1_260 length(1..260) with { variant "" };
type octetstring OCT1_8 length(1..8) with { variant "" };
type octetstring OCT1_12 length(1..12) with { variant "" };
type octetstring OCT1_32 length(1..32) with { variant "" };
type octetstring OCT1_50 length(1..50) with { variant "" };
type octetstring OCT3_8 length(3..8) with { variant "" };
type octetstring OCTN with { variant "" };
//****************************************************
// Hexstrings
//****************************************************
//hexstring with fixed length
type hexstring HEX1 length(1) with {variant "FIELDLENGTH(1)"};
//hexstring with length interval
type hexstring HEX0_16 length(0..16) with { variant "" };
type hexstring HEX5_16 length(5..16) with { variant "" };
type hexstring HEX1_32 length(1..32) with { variant "" };
//****************************************************
// Integers
//****************************************************
//integer with fixed octet number
type integer INT1 (0..255) with { variant "FIELDLENGTH(8)" };
type integer LIN1 (0..255) with { variant "FIELDLENGTH(8)" };
type integer LIN2 (0..65535) with { variant "FIELDLENGTH(16)" };
type integer LIN2_BO_LAST (0..65535) with { variant "FIELDLENGTH(16), COMP(nosign), BYTEORDER(last)" };
type integer LIN3_BO_LAST (0..16777215) with { variant "FIELDLENGTH(24), COMP(nosign), BYTEORDER(last)" };
type integer LIN4_BO_LAST (0..4294967295) with { variant "FIELDLENGTH(32), COMP(nosign), BYTEORDER(last)" };
//integer with fixed bit number
type integer INT1b (0..1) with { variant "FIELDLENGTH(1)" };
type integer INT2b (0..3) with { variant "FIELDLENGTH(2)" };
type integer INT3b (0..7) with { variant "FIELDLENGTH(3)" };
type integer INT4b (0..15) with { variant "FIELDLENGTH(4)" };
type integer INT5b (0..31) with { variant "FIELDLENGTH(5)" };
type integer INT6b (0..63) with { variant "FIELDLENGTH(6)" };
type integer INT7b (0..127) with { variant "FIELDLENGTH(7)" };
type integer INT11b_BO_LAST ( 0 .. 2047 ) with { variant "FIELDLENGTH(11), COMP(nosign), BYTEORDER(last)" };
type integer INT12b_BO_LAST ( 0 .. 4095 ) with { variant "FIELDLENGTH(12), COMP(nosign), BYTEORDER(last)" };
type integer INT13b_BO_LAST ( 0 .. 8191 ) with { variant "FIELDLENGTH(13), COMP(nosign), BYTEORDER(last)" };
type integer INT14b_BO_LAST ( 0 .. 16383 ) with { variant "FIELDLENGTH(14), COMP(nosign), BYTEORDER(last)" };
type integer INT18b_BO_LAST ( 0 .. 262143 ) with { variant "FIELDLENGTH(18), COMP(nosign), BYTEORDER(last)" };
type integer INT20b_BO_LAST ( 0 .. 1048575 ) with { variant "FIELDLENGTH(20), COMP(nosign), BYTEORDER(last)" };
type integer INT31b_BO_LAST ( 0 .. 2147483647 ) with { variant "FIELDLENGTH(31), COMP(nosign), BYTEORDER(last)" };
} // end group SimpleRAWEncodedTypes
group ComponentTypes {
type component Dummy_comptype {}
type component Dummy_CT {}
} // end group ComponentTypes
group CompositeTypes {
type enumerated Protocols
{ mtp3, sccp, isup, bicc, qaal2, gcp, bssap, bssmap, ranap, dtap }
type record of OCT1 OCT1List with { variant "" };
type record of OCT2 OCT2List with { variant "" };
type record of OCT3 OCT3List with { variant "" };
type record of OCT4 OCT4List with { variant "" };
type record of OCT5 OCT5List with { variant "" };
type record of OCT6 OCT6List with { variant "" };
type record of OCT7 OCT7List with { variant "" };
type record of Dummy_comptype ListOfDummy_comptype with { variant "" };
type record of Dummy_CT ListOfDummy_CT with { variant "" };
type record of Protocols ProtocolList with { variant "" };
} // end group CompositeTypes
} with { encode "RAW" } /* End of module General_Types */

View File

@ -0,0 +1,54 @@
-- *******************************************************************************
-- * Copyright (c) 2004, 2014 Ericsson AB
-- * All rights reserved. This program and the accompanying materials
-- * are made available under the terms of the Eclipse Public License v1.0
-- * which accompanies this distribution, and is available at
-- * http://www.eclipse.org/legal/epl-v10.html
-- *
-- * Contributors:
-- * Zoltan Jasz - initial implementation and initial documentation
-- * Abhishek Gupta
-- * Attila Balasko
-- * Endre Kulcsar
-- * Gabor Bettesch
-- * Gabor Szalai
-- * Janos Kovesdi
-- * Sandor Palugyai
-- * Tibor Csondes
-- *******************************************************************************
--
-- File: MobileDomainDefinitions.asn
-- Rev: R9A
-- Prodnr: CNL 113 368
-- Reference:
MobileDomainDefinitions {ccitt (0) identified-organization (4) etsi (0)
mobileDomain (0) mobileDomainDefinitions (0) version1 (1)}
DEFINITIONS ::=
BEGIN
IMPORTS ;
-- Mobile DomainId
mobileDomainId OBJECT IDENTIFIER ::= {ccitt (0) identified-organization (4) etsi (0) mobileDomain (0)}
-- Mobile Subdomains
gsm-NetworkId OBJECT IDENTIFIER ::= {mobileDomainId gsm-Network (1)}
gsm-AccessId OBJECT IDENTIFIER ::= {mobileDomainId gsm-Access (2)}
gsm-OperationAndMaintenanceId OBJECT IDENTIFIER ::= {mobileDomainId gsm-Operation-Maintenance (3)}
gsm-MessagingId OBJECT IDENTIFIER ::= {mobileDomainId gsm-Messaging (4)}
-- Common Component Ids for structuring Mobile Subdomains
CommonComponentId ::= INTEGER (0..9)
ac-Id CommonComponentId ::= 0
as-Id CommonComponentId ::= 1
ase-Id CommonComponentId ::= 2
moduleId CommonComponentId ::= 3
er-Id CommonComponentId ::= 4
END -- MobileDomainDefinitions

View File

@ -0,0 +1,39 @@
<!--
/******************************************************************************
* Copyright (c) 2004, 2014 Ericsson AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Zoltan Jasz - initial implementation and initial documentation
* Abhishek Gupta
* Attila Balasko
* Endre Kulcsar
* Gabor Bettesch
* Gabor Szalai
* Janos Kovesdi
* Sandor Palugyai
* Tibor Csondes
******************************************************************************/
//
// File: ProtocolModules_Common.grp
// Description:
// Rev: R9A
// Prodnr: CNL 113 368
// Reference:
//
//
-->
<!DOCTYPE TITAN_GUI_FileGroup_file>
<FileGroup TITAN_version="3.1.pl0" >
<File_Group name="ProtocolModules_Common" >
<File path="General_Types.ttcn" />
<File path="MobileDomainDefinitions.asn" />
<File path="UsefulTtcn3Types.ttcn" />
<File path="XSD.ttcn" />
<File path="general_typedefs.ttcn" />
<File path="http_www_w3_org_XML_1998_namespace.ttcn" />
</File_Group>
</FileGroup>

View File

@ -0,0 +1,99 @@
/******************************************************************************
* Copyright (c) 2004, 2014 Ericsson AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Zoltan Jasz - initial implementation and initial documentation
* Abhishek Gupta
* Attila Balasko
* Endre Kulcsar
* Gabor Bettesch
* Gabor Szalai
* Janos Kovesdi
* Sandor Palugyai
* Tibor Csondes
******************************************************************************/
//
// File: UsefulTtcn3Types.ttcn
// Rev: R9A
// Prodnr: CNL 113 368
//
////////////////////////////////////////////////////////////////////////////////
module UsefulTtcn3Types {
type integer byte (-128 .. 127) with { variant "/* 8 bit */" };
type integer unsignedbyte (0 .. 255) with { variant "/*unsigned 8 bit*/" };
type integer short (-32768 .. 32767) with { variant "/*16 bit*/" };
type integer unsignedshort (0 .. 65535) with { variant "/*unsigned 16 bit*/" };
type integer long (-2147483648 .. 2147483647) with { variant "/*32 bit*/" };
type integer unsignedlong (0 .. 4294967295) with { variant "/*unsigned 32 bit*/" };
type integer longlong /* ( -9223372036854775808 .. 9223372036854775807 ) */ with { variant "/*64 bit*/" };
type integer unsignedlonglong /* ( 0 .. 18446744073709551615 ) */ with { variant "/*unsigned 64 bit*/" };
type float IEEE754float with { variant "/*IEEE754 float*/" };
type float IEEE754double with { variant "/*IEEE754 double*/" };
type float IEEE754extfloat with { variant "/*IEEE754 extended float*/" };
type float IEEE754extdouble with { variant "/*IEEE754 extended double*/" };
type universal charstring utf8string with { variant "/*UTF-8*/" };
type universal charstring bmpstring ( char ( 0,0,0,0 ) .. char ( 0,0,255,255) ) with { variant "/*UCS-2*/" };
type universal charstring utf16string ( char ( 0,0,0,0 ) .. char ( 0,16,255,255) ) with { variant "/*UTF-16*/" };
type universal charstring iso8859string ( char ( 0,0,0,0 ) .. char ( 0,0,0,255) ) with { variant "/*8 bit*/" };
type record IDLfixed
{
unsignedshort digits,
short scale,
charstring value_
}
with {
variant "/*IDL:fixed FORMAL/01-12-01 v.2.6*/";
};
/*
type charstring char length (1);
NOTE 1: The name of this useful type is the same as the TTCN-3 keyword used to denote universal
charstring values in the quadraple form. In general it is disallowed to use TTCN-3 keywords as
identifiers. The "char" useful type is a solitary exception and allowed only for backward compatibility
with previous versions of the TTCN-3 standard. (except Titan doesn't)
NOTE 2: The special string "8 bit" defined in clause 28.2.3 may be used with this type to specify a given encoding
for its values. Also, other properties of the base type can be changed by using attribute mechanisms.
*/
type universal charstring uchar length (1);
/*
NOTE: Special strings defined in clause 28.2.3 except "8 bit" may be used with this type to specify a given
encoding for its values. Also, other properties of the base type can be changed by using attribute
mechanisms.
*/
type bitstring bit length (1);
type hexstring hex length (1);
type octetstring octet length (1);
}
with {
encode "XML";
}

339
COMMON/src/XSD.ttcn Normal file
View File

@ -0,0 +1,339 @@
/******************************************************************************
* Copyright (c) 2004, 2014 Ericsson AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Zoltan Jasz - initial implementation and initial documentation
* Abhishek Gupta
* Attila Balasko
* Endre Kulcsar
* Gabor Bettesch
* Gabor Szalai
* Janos Kovesdi
* Sandor Palugyai
* Tibor Csondes
******************************************************************************/
//
// File: XSD.ttcn
// Rev: R9A
// Prodnr: CNL 113 368
//
////////////////////////////////////////////////////////////////////////////////
module XSD {
import from UsefulTtcn3Types all;
//These constants are used in the XSD date/time type definitions
const charstring
dash := "-",
cln := ":",
year := "(0(0(0[1-9]|[1-9][0-9])|[1-9][0-9][0-9])|[1-9][0-9][0-9][0-9])",
yearExpansion := "(-([1-9][0-9]#(0,))#(,1))#(,1)",
month := "(0[1-9]|1[0-2])",
dayOfMonth := "(0[1-9]|[12][0-9]|3[01])",
hour := "([01][0-9]|2[0-3])",
minute := "([0-5][0-9])",
second := "([0-5][0-9])",
sFraction := "(.[0-9]#(1,))#(,1)",
endOfDayExt := "24:00:00(.0#(1,))#(,1)",
nums := "[0-9]#(1,)",
ZorTimeZoneExt := "(Z|[+-]((0[0-9]|1[0-3]):[0-5][0-9]|14:00))#(,1)",
durTime := "(T[0-9]#(1,)"&
"(H([0-9]#(1,)(M([0-9]#(1,)(S|.[0-9]#(1,)S))#(,1)|.[0-9]#(1,)S|S))#(,1)|"&
"M([0-9]#(1,)(S|.[0-9]#(1,)S)|.[0-9]#(1,)M)#(,1)|"&
"S|"&
".[0-9]#(1,)S))"
//anySimpleType
type XMLCompatibleString AnySimpleType
with {
variant "XSD:anySimpleType";
};
//anyType;
type record AnyType
{
record of String attr,
record of String elem_list
}
with {
variant "XSD:anyType";
variant (attr) "anyAttributes";
variant (elem_list) "anyElement";
};
// String types
type XMLCompatibleString String
with {
variant "XSD:string";
};
type XMLStringWithNoCRLFHT NormalizedString
with {
variant "XSD:normalizedString";
};
type NormalizedString Token
with {
variant "XSD:token";
};
type XMLStringWithNoWhitespace Name
with {
variant "XSD:Name";
};
type XMLStringWithNoWhitespace NMTOKEN
with {
variant "XSD:NMTOKEN";
};
type Name NCName
with {
variant "XSD:NCName";
};
type NCName ID
with {
variant "XSD:ID";
};
type NCName IDREF
with {
variant "XSD:IDREF";
};
type NCName ENTITY
with {
variant "XSD:ENTITY";
};
type octetstring HexBinary
with {
variant "XSD:hexBinary";
};
type octetstring Base64Binary
with {
variant "XSD:base64Binary";
};
type XMLStringWithNoCRLFHT AnyURI
with {
variant "XSD:anyURI";
};
type charstring Language (pattern "[a-zA-Z]#(1,8)(-\w#(1,8))#(0,)")
with {
variant "XSD:language";
};
// Integer types
type integer Integer
with {
variant "XSD:integer";
};
type integer PositiveInteger (1 .. infinity)
with {
variant "XSD:positiveInteger";
};
type integer NonPositiveInteger (-infinity .. 0)
with {
variant "XSD:nonPositiveInteger";
};
type integer NegativeInteger (-infinity .. -1)
with {
variant "XSD:negativeInteger";
};
type integer NonNegativeInteger (0 .. infinity)
with {
variant "XSD:nonNegativeInteger";
};
type longlong Long
with {
variant "XSD:long";
};
type unsignedlonglong UnsignedLong
with {
variant "XSD:unsignedLong";
};
type long Int
with {
variant "XSD:int";
};
type unsignedlong UnsignedInt
with {
variant "XSD:unsignedInt";
};
type short Short
with {
variant "XSD:short";
};
type unsignedshort UnsignedShort
with {
variant "XSD:unsignedShort";
};
type byte Byte
with {
variant "XSD:byte";
};
type unsignedbyte UnsignedByte
with {
variant "XSD:unsignedByte";
};
// Float types
type float Decimal
with {
variant "XSD:decimal";
};
type IEEE754float Float
with {
variant "XSD:float";
};
type IEEE754double Double
with {
variant "XSD:double";
};
// Time types
type charstring Duration (pattern
"{dash}#(,1)P({nums}(Y({nums}(M({nums}D{durTime}#(,1)|{durTime}#(,1))|D{durTime}#(,1))|" &
"{durTime}#(,1))|M({nums}D{durTime}#(,1)|{durTime}#(,1))|D{durTime}#(,1))|{durTime})")
with {
variant "XSD:duration";
};
type charstring DateTime (pattern
"{yearExpansion}{year}{dash}{month}{dash}{dayOfMonth}T({hour}{cln}{minute}{cln}{second}" &
"{sFraction}|{endOfDayExt}){ZorTimeZoneExt}" )
with {
variant "XSD:dateTime";
};
type charstring Time (pattern
"({hour}{cln}{minute}{cln}{second}{sFraction}|{endOfDayExt}){ZorTimeZoneExt}" )
with {
variant "XSD:time";
};
type charstring Date (pattern
"{yearExpansion}{year}{dash}{month}{dash}{dayOfMonth}{ZorTimeZoneExt}" )
with {
variant "XSD:date";
};
type charstring GYearMonth (pattern
"{yearExpansion}{year}{dash}{month}{ZorTimeZoneExt}" )
with {
variant "XSD:gYearMonth";
};
type charstring GYear (pattern
"{yearExpansion}{year}{ZorTimeZoneExt}" )
with {
variant "XSD:gYear";
};
type charstring GMonthDay (pattern
"{dash}{dash}{month}{dash}{dayOfMonth}{ZorTimeZoneExt}" )
with {
variant "XSD:gMonthDay";
};
type charstring GDay (pattern
"{dash}{dash}{dash}{dayOfMonth}{ZorTimeZoneExt}" )
with {
variant "XSD:gDay";
};
type charstring GMonth (pattern
"{dash}{dash}{month}{ZorTimeZoneExt}" )
with {
variant "XSD:gMonth";
};
// Sequence types
type record of NMTOKEN NMTOKENS
with {
variant "XSD:NMTOKENS";
};
type record of IDREF IDREFS
with {
variant "XSD:IDREFS";
};
type record of ENTITY ENTITIES
with {
variant "XSD:ENTITIES";
};
type record QName
{
AnyURI uri optional,
NCName name
}
with {
variant "XSD:QName";
};
// Boolean type
type boolean Boolean
with {
variant "XSD:boolean";
};
//TTCN-3 type definitions supporting the mapping of W3C XML Schema built-in datatypes
type utf8string XMLCompatibleString
(
char(0,0,0,9)..char(0,0,0,9),
char(0,0,0,10)..char(0,0,0,10),
char(0,0,0,12)..char(0,0,0,12),
char(0,0,0,32)..char(0,0,215,255),
char(0,0,224,0)..char(0,0,255,253),
char(0,1,0,0)..char(0,16,255,253)
)
type utf8string XMLStringWithNoWhitespace
(
char(0,0,0,33)..char(0,0,215,255),
char(0,0,224,0)..char(0,0,255,253),
char(0,1,0,0)..char(0,16,255,253)
)
type utf8string XMLStringWithNoCRLFHT
(
char(0,0,0,32)..char(0,0,215,255),
char(0,0,224,0)..char(0,0,255,253),
char(0,1,0,0)..char(0,16,255,253)
)
}
with{
encode "XML"
}

View File

@ -0,0 +1,236 @@
/******************************************************************************
* Copyright (c) 2004, 2014 Ericsson AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Zoltan Jasz - initial implementation and initial documentation
* Abhishek Gupta
* Attila Balasko
* Endre Kulcsar
* Gabor Bettesch
* Gabor Szalai
* Janos Kovesdi
* Sandor Palugyai
* Tibor Csondes
******************************************************************************/
//
// File: general_typedefs.ttcn
// Rev: R9A
// Prodnr: CNL 113 368
// Reference:
module general_typedefs
{
group SimpleNativeTypes
{
//octetstring with fixed length
type octetstring OCT0n length(0);
type octetstring OCT1n length(1);
type octetstring OCT2n length(2);
type octetstring OCT3n length(3);
type octetstring OCT4n length(4);
type octetstring OCT5n length(5);
type octetstring OCT6n length(6);
type octetstring OCT7n length(7);
type octetstring OCT8n length(8);
type octetstring OCT9n length(9);
type octetstring OCT10n length(10);
type octetstring OCT11n length(11);
type octetstring OCT12n length(12);
type octetstring OCT13n length(13);
type octetstring OCT14n length(14);
type octetstring OCT15n length(15);
type octetstring OCT16n length(16);
type octetstring OCT17n length(17);
type octetstring OCT18n length(18);
type octetstring OCT19n length(19);
type octetstring OCT20n length(20);
type octetstring OCT28n length(28);
type octetstring OCT32n length(32);
type octetstring OCT34n length(34);
type octetstring OCT46n length(46);
type octetstring OCT50n length(50);
type octetstring OCT69n length(69);
type octetstring OCT100n length(100);
type octetstring OCT128n length(128);
type octetstring OCT500n length(500);
type octetstring OCTNn;
//octetstring with length interval
type octetstring OCT1_3n length(1..3);
type octetstring OCT1_4n length(1..4);
type octetstring OCT1_5n length(1..5);
type octetstring OCT1_6n length(1..6);
type octetstring OCT1_7n length(1..7);
type octetstring OCT1_8n length(1..8);
type octetstring OCT1_12n length(1..12);
type octetstring OCT1_15n length(1..15);
type octetstring OCT1_16n length(1..16);
type octetstring OCT1_18n length(1..18);
type octetstring OCT1_20n length(1..20);
type octetstring OCT1_24n length(1..24);
type octetstring OCT1_34n length(1..34);
type octetstring OCT1_46n length(1..46);
type octetstring OCT1_50n length(1..50);
type octetstring OCT1_112n length(1..112);
type octetstring OCT1_127n length(1..127);
type octetstring OCT1_128n length(1..128);
type octetstring OCT1_172n length(1..172);
type octetstring OCT3_5n length(3..5);
type octetstring OCT3_7n length(3..7);
type octetstring OCT3_8n length(3..8);
type octetstring OCT3_17n length(3..17);
type octetstring OCT4_8n length(4..8);
//hexstring with fixed length
type hexstring HEX24n length(24);
//hexstring with length interval
type hexstring HEX0_18n length(0..18);
type hexstring HEX1_20n length(1..20);
//bitstring with fixed length
type bitstring BIT1n length(1);
type bitstring BIT2n length(2);
type bitstring BIT3n length(3);
type bitstring BIT4n length(4);
type bitstring BIT5n length(5);
type bitstring BIT6n length(6);
type bitstring BIT7n length(7);
type bitstring BIT8n length(8);
type bitstring BIT9n length(9);
type bitstring BIT12n length(12);
type bitstring BIT14n length(14);
type bitstring BIT15n length(15);
type bitstring BIT16n length(16);
type bitstring BIT56n length(56);
//bitstring with length interval
type bitstring BIT14_24n length(14..24);
//bitstring to be padded with fixed length
type bitstring BIT1np length(1);
type bitstring BIT2np length(2);
type bitstring BIT3np length(3);
type bitstring BIT4np length(4);
type bitstring BIT5np length(5);
type bitstring BIT6np length(6);
type bitstring BIT7np length(7);
type bitstring BIT15np length(15);
//integer with fixed bit number
type integer INT3nb (0..7);
type integer INT4nb (0..15);
type integer INT5nb (0..31);
type integer INT8nb (0..255);
//integer with fixed bit number and with padding
type integer INT2nbp (0..3);
type integer INT1nbp (0..1);
type integer INT3nbp (0..7);
type integer INT5nbp (0..31);
type integer INT9nbp (0..511);
type integer INT13nbp (0..8095);
type integer INT15nbp (0..32767);
}// end group NativeTypes
group SimpleRAWEncodedTypes
{
//octetstring with fixed length
type octetstring Dummy length(0) with { variant "FIELDLENGTH(0)" };
type octetstring OCT0 length(0) with { variant "FIELDLENGTH(0)" };
type octetstring OCT1 length(1) with { variant "FIELDLENGTH(1)" };
type octetstring OCT2 length(2) with { variant "FIELDLENGTH(2)" };
type octetstring OCT3 length(3) with { variant "FIELDLENGTH(3)" };
type octetstring OCT4 length(4) with { variant "FIELDLENGTH(4)" };
type octetstring OCT5 length(5) with { variant "FIELDLENGTH(5)" };
type octetstring OCT6 length(6) with { variant "FIELDLENGTH(6)" };
type octetstring OCT7 length(7) with { variant "FIELDLENGTH(7)" };
type octetstring OCT8 length(8) with { variant "FIELDLENGTH(8)" };
type octetstring OCT9 length(9) with { variant "FIELDLENGTH(9)" };
type octetstring OCT10 length(10) with { variant "FIELDLENGTH(10)" };
type octetstring OCT11 length(11) with { variant "FIELDLENGTH(11)" };
type octetstring OCT12 length(12) with { variant "FIELDLENGTH(12)" };
type octetstring OCT13 length(13) with { variant "FIELDLENGTH(13)" };
type octetstring OCT14 length(14) with { variant "FIELDLENGTH(14)" };
type octetstring OCT15 length(15) with { variant "FIELDLENGTH(15)" };
type octetstring OCT16 length(16) with { variant "FIELDLENGTH(16)" };
type octetstring OCT17 length(17) with { variant "FIELDLENGTH(17)" };
type octetstring OCT18 length(18) with { variant "FIELDLENGTH(18)" };
type octetstring OCT19 length(19) with { variant "FIELDLENGTH(19)" };
type octetstring OCT20 length(20) with { variant "FIELDLENGTH(20)" };
type octetstring OCT32 length(32) with { variant "FIELDLENGTH(32)" };
type octetstring OCT34 length(34) with { variant "FIELDLENGTH(34)" };
type octetstring OCT46 length(46) with { variant "FIELDLENGTH(46)" };
//octetstring with length interval
type octetstring OCT1_12 length(1..12) with { variant "" };
type octetstring OCT1_8 length(1..8) with { variant "" };
type octetstring OCT3_8 length(3..8) with { variant "" };
type octetstring OCT1_50 length(1..50) with { variant "" };
type octetstring OCTN with { variant "" };
//bitstring with fixed length
type bitstring BIT1 length(1) with { variant "FIELDLENGTH (1)" };
type bitstring BIT2 length(2) with { variant "FIELDLENGTH(2)" };
type bitstring BIT3 length(3) with { variant "FIELDLENGTH(3)" };
type bitstring BIT4 length(4) with { variant "FIELDLENGTH(4)" };
type bitstring BIT5 length(5) with { variant "FIELDLENGTH(5)" };
type bitstring BIT6 length(6) with { variant "FIELDLENGTH(6)" };
type bitstring BIT7 length(7) with { variant "FIELDLENGTH(7)" };
type bitstring BIT8 length(8) with { variant "FIELDLENGTH(8)" };
type bitstring BIT9 length(9) with { variant "FIELDLENGTH(9)" };
type bitstring BIT12 length(12) with { variant "FIELDLENGTH(12)" };
type bitstring BIT14 length(14) with { variant "FIELDLENGTH(14)" };
type bitstring BIT15 length(15) with { variant "FIELDLENGTH(15)" };
type bitstring BIT16 length(16) with { variant "FIELDLENGTH(16)" };
type bitstring BIT24 length(24) with { variant "FIELDLENGTH(24)" };
type bitstring BIT31 length(31) with { variant "FIELDLENGTH(31)" };
type bitstring BIT56 length(56) with { variant "FIELDLENGTH(56)" };
type hexstring HEX1 length(1) with {variant "FIELDLENGTH(1)"};
//integer with fixed octet number
type integer INT1 (0..255) with { variant "FIELDLENGTH(8)" };
type integer LIN1 (0..255) with { variant "FIELDLENGTH(8)" }
type integer LIN2 (0..65535) with { variant "FIELDLENGTH(16)" }
//integer with fixed bit number
type integer INT7b (0..127) with { variant "FIELDLENGTH(7)" };
//integer record
type record of integer Integers;
type record of Integers Integer_array;
} with {encode "RAW"} // end group SimpleRAWEncodedTypes
group ComponentTypes
{
type component Dummy_comptype {}
}
group CompositeTypes
{
type enumerated Protocols
{ mtp3, sccp, isup, bicc, qaal2, gcp, bssap, bssmap, ranap, dtap }
type record of OCT1 OCT1List;
type record of OCT2 OCT2List;
type record of OCT3 OCT3List;
type record of OCT4 OCT4List;
type record of OCT5 OCT5List;
type record of OCT6 OCT6List;
type record of OCT7 OCT7List;
type record of Dummy_comptype ListOfDummy_comptype;
type record of Protocols ProtocolList;
}
}with { encode "RAW"} /* End of module general_typedefs */

View File

@ -0,0 +1,150 @@
/******************************************************************************
* Copyright (c) 2004, 2014 Ericsson AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Zoltan Jasz - initial implementation and initial documentation
* Abhishek Gupta
* Attila Balasko
* Endre Kulcsar
* Gabor Bettesch
* Gabor Szalai
* Janos Kovesdi
* Sandor Palugyai
* Tibor Csondes
******************************************************************************/
//
// File: http_www_w3_org_XML_1998_namespace.ttcn
// Rev: R9A
// Prodnr: CNL 113 368
// Reference:
module http_www_w3_org_XML_1998_namespace {
import from XSD all;
/* See http://www.w3.org/XML/1998/namespace.html and
http://www.w3.org/TR/REC-xml for information about this namespace.
This schema document describes the XML namespace, in a form
suitable for import by other schema documents.
Note that local names in this namespace are intended to be defined
only by the World Wide Web Consortium or its subgroups. The
following names are currently defined in this namespace and should
not be used with conflicting semantics by any Working Group,
specification, or document instance:
base (as an attribute name): denotes an attribute whose value
provides a URI to be used as the base for interpreting any
relative URIs in the scope of the element on which it
appears; its value is inherited. This name is reserved
by virtue of its definition in the XML Base specification.
lang (as an attribute name): denotes an attribute whose value
is a language code for the natural language of the content of
any element; its value is inherited. This name is reserved
by virtue of its definition in the XML specification.
space (as an attribute name): denotes an attribute whose
value is a keyword indicating what whitespace processing
discipline is intended for the content of the element; its
value is inherited. This name is reserved by virtue of its
definition in the XML specification.
Father (in any context at all): denotes Jon Bosak, the chair of
the original XML Working Group. This name is reserved by
the following decision of the W3C XML Plenary and
XML Coordination groups:
In appreciation for his vision, leadership and dedication
the W3C XML Plenary on this 10th day of February, 2000
reserves for Jon Bosak in perpetuity the XML name
xml:Father */
/* This schema defines attributes and an attribute group
suitable for use by
schemas wishing to allow xml:base, xml:lang or xml:space attributes
on elements they define.
To enable this, such a schema must import this schema
for the XML namespace, e.g. as follows: */
/* < */
/* schema . . . */
/* > */
/* . . . */
/* < */
/* import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="http://www.w3.org/2001/03/xml.xsd"/ */
/* > */
/* Subsequently, qualified reference to any of the attributes
or the group defined below will have the desired effect, e.g. */
/* < */
/* type . . . */
/* > */
/* . . . */
/* < */
/* attributeGroup ref="xml:specialAttrs"/ */
/* > */
/* will define a type which will schema-validate an instance
element with any of those attributes */
/* In keeping with the XML Schema WG's standard versioning
policy, this schema document will persist at
http://www.w3.org/2001/03/xml.xsd.
At the date of issue it can also be found at
http://www.w3.org/2001/xml.xsd.
The schema document at that URI may however change in the future,
in order to remain compatible with the latest version of XML Schema
itself. In other words, if the XML Schema namespace changes, the version
of this document at
http://www.w3.org/2001/xml.xsd will change
accordingly; the version at
http://www.w3.org/2001/03/xml.xsd will not change. */
/* In due course, we should install the relevant ISO 2- and 3-letter
codes as the enumerated possible values . . . */
type XSD.Language Lang
with {
variant "name as uncapitalized";
variant "attribute";
};
type enumerated Space
{
default_,
preserve
}
with {
variant "text 'default_' as 'default'";
variant "name as uncapitalized";
variant "defaultForEmpty as 'preserve'";
variant "attribute";
};
/* See http://www.w3.org/TR/xmlbase/ for
information about this attribute. */
type XSD.AnyURI Base
with {
variant "name as uncapitalized";
variant "attribute";
};
}
with {
encode "XML";
variant "namespace as 'http://www.w3.org/XML/1998/namespace'";
variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
extension "version R9A"
}

View File

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2015 Ericsson
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
File: M3UA_CNL113536.tpd
Description: tpd project file
Rev: R2A
Prodnr: CNL 113 536
-->
<TITAN_Project_File_Information version="1.0">
<ProjectName>M3UA_CNL113536</ProjectName>
<ReferencedProjects>
<ReferencedProject name="ProtocolModules_Common" projectLocationURI="../COMMON/ProtocolModules_Common.tpd"/>
</ReferencedProjects>
<Folders>
<FolderResource projectRelativePath="src" relativeURI="src"/>
</Folders>
<Files>
<FileResource projectRelativePath="src/M3UA_Types.ttcn" relativeURI="src/M3UA_Types.ttcn"/>
</Files>
<ActiveConfiguration>Default</ActiveConfiguration>
<Configurations>
<Configuration name="Default">
<ProjectProperties>
<MakefileSettings>
<generateInternalMakefile>true</generateInternalMakefile>
<GNUMake>true</GNUMake>
<incrementalDependencyRefresh>true</incrementalDependencyRefresh>
<targetExecutable>bin/M3UA_CNL113536</targetExecutable>
</MakefileSettings>
<LocalBuildSettings>
<workingDirectory>bin</workingDirectory>
</LocalBuildSettings>
</ProjectProperties>
</Configuration>
</Configurations>
</TITAN_Project_File_Information>

View File

@ -0,0 +1,13 @@
Please note that the storage of the documentation of the product has been
moved to the eridoc.ericsson.se from the ClearCase.
You can access the documentation of the product via the following links:
The documentation belongs to the R2A revision of the product
can be found here:
http://document.internal.ericsson.com/Download?DocNo=1095-CNL113536&Rev=C&Lang=EN&PRev=Y
The documentation belongs to the latest revision of the product
can be found here:
http://document.internal.ericsson.com/Download?DocNo=1095-CNL113536&Rev=HIGHEST&Lang=EN&Status=FREE&PRev=Y

View File

@ -0,0 +1,805 @@
/******************************************************************************
* Copyright (c) 2004, 2015 Ericsson AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Ferenc Kovacs
* Gabor Bettesch
* Gabor Szalai
******************************************************************************/
//
// File: M3UA_Types.ttcn
// Rev: R2A
// Prodnr: CNL 113 536
// Reference:
module M3UA_Types {
import from General_Types all;
external function enc_PDU_M3UA(in PDU_M3UA pdu) return octetstring
with { extension "prototype(convert)"
extension "encode(RAW)"
}
external function dec_PDU_M3UA(in octetstring stream) return PDU_M3UA
with { extension "prototype(convert)"
extension "decode(RAW)"
}
//++++++++++++++++++++++++++++++++++++++++++++++++++
// M3UA PARAMETERS
//++++++++++++++++++++++++++++++++++++++++++++++++++
type octetstring M3UA_OCT0_255 length (0..255);
type record M3UA_Point_Code
{
OCT1 mask,
OCT3 affected_Point_Code
}
type record of M3UA_Point_Code M3UA_Point_Codes;
type record M3UA_Error_Code
{
OCT2 tag,
integer lengthInd,
OCT4 errorCode
} with { variant (lengthInd) "LENGTHTO(tag,lengthInd,errorCode)";
variant (lengthInd) "FIELDLENGTH(16)";
variant (lengthInd) "BYTEORDER(last)";
}
type record M3UA_Routing_Context
{
OCT2 tag,
integer lengthInd,
octetstring routingContext
} with { variant (lengthInd) "LENGTHTO(tag,lengthInd,routingContext)";
variant (lengthInd) "FIELDLENGTH(16)";
variant (lengthInd) "BYTEORDER(last)";
variant "PADDING(dword32)";
}
type record M3UA_Affected_Point_Codes
{
OCT2 tag,
integer lengthInd,
M3UA_Point_Codes pointCodes
} with { variant (lengthInd) "LENGTHTO(tag,lengthInd,pointCodes)";
variant (lengthInd) "FIELDLENGTH(16)";
variant (lengthInd) "BYTEORDER(last)";
}
type record M3UA_Network_Appearance
{
OCT2 tag,
integer lengthInd,
OCT4 networkAppearance
} with { variant (lengthInd) "LENGTHTO(tag,lengthInd,networkAppearance)";
variant (lengthInd) "FIELDLENGTH(16)";
variant (lengthInd) "BYTEORDER(last)";
}
type record M3UA_Diagnostic_information
{
OCT2 tag,
integer lengthInd,
octetstring diagnosticInformation
} with { variant (lengthInd) "LENGTHTO(tag,lengthInd,diagnosticInformation)";
variant (lengthInd) "FIELDLENGTH(16)";
variant (lengthInd) "BYTEORDER(last)";
variant "PADDING(dword32)";
}
type record M3UA_Correlation_ID
{
OCT2 tag,
integer lengthInd,
OCT4 correlationID
} with { variant (lengthInd) "LENGTHTO(tag,lengthInd,correlationID)";
variant (lengthInd) "FIELDLENGTH(16)";
variant (lengthInd) "BYTEORDER(last)";
}
type record M3UA_Protocol_Data
{
OCT2 tag,
integer lengthInd,
OCT4 oPC,
OCT4 dPC,
OCT1 sI,
OCT1 nI,
OCT1 mP,
OCT1 sLS,
octetstring userProtocolData
} with { variant (lengthInd) "LENGTHTO(tag,lengthInd,oPC,dPC,sI,nI,mP,sLS,
userProtocolData)";
variant (lengthInd) "FIELDLENGTH(16)";
variant (lengthInd) "BYTEORDER(last)";
variant "PADDING(dword32)";
}
type record M3UA_Info_String
{
OCT2 tag,
integer lengthInd,
M3UA_OCT0_255 infoString
} with { variant (lengthInd) "LENGTHTO(tag,lengthInd,infoString)";
variant (lengthInd) "FIELDLENGTH(16)";
variant (lengthInd) "BYTEORDER(last)";
variant "PADDING(dword32)";
}
type record M3UA_Concerned_Destination
{
OCT2 tag,
integer lengthInd,
OCT1 reserved,
OCT3 concernedDestination
} with { variant (lengthInd) "LENGTHTO(tag,lengthInd,reserved,
concernedDestination)";
variant (lengthInd) "FIELDLENGTH(16)";
variant (lengthInd) "BYTEORDER(last)";
}
type record M3UA_Congestion_Indicators
{
OCT2 tag,
integer lengthInd,
OCT1 reserved,
OCT3 congestionLevel
} with { variant (lengthInd) "LENGTHTO(tag,lengthInd,reserved,congestionLevel)";
variant (lengthInd) "FIELDLENGTH(16)";
variant (lengthInd) "BYTEORDER(last)";
}
type record M3UA_User_Cause
{
OCT2 tag,
integer lengthInd,
OCT2 cause,
OCT2 user
} with { variant (lengthInd) "LENGTHTO(tag,lengthInd,cause,user)";
variant (lengthInd) "FIELDLENGTH(16)";
variant (lengthInd) "BYTEORDER(last)";
}
type record M3UA_ASP_Identifier
{
OCT2 tag,
integer lengthInd,
OCT4 aSPIdentifier
} with { variant (lengthInd) "LENGTHTO(tag,lengthInd,aSPIdentifier)";
variant (lengthInd) "FIELDLENGTH(16)";
variant (lengthInd) "BYTEORDER(last)";
}
type record M3UA_Heartbeat_Data
{
OCT2 tag,
integer lengthInd,
octetstring heartbeat_Data
} with { variant (lengthInd) "LENGTHTO(tag,lengthInd,heartbeat_Data)";
variant (lengthInd) "FIELDLENGTH(16)";
variant (lengthInd) "BYTEORDER(last)";
variant "PADDING(dword32)";
}
type record M3UA_Traffic_Mode_Type
{
OCT2 tag,
integer lengthInd,
OCT4 trafficModeType
} with { variant (lengthInd) "LENGTHTO (tag,lengthInd,trafficModeType)";
variant (lengthInd) "FIELDLENGTH(16)";
variant (lengthInd) "BYTEORDER(last)";
}
//++++++++++++++++++++++++++++++++++++++++++++++++++
//PDUs
//++++++++++++++++++++++++++++++++++++++++++++++++++
// M3UA_ERR PDU
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_ERR
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
M3UA_ERR_MessageParameters messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
type set M3UA_ERR_MessageParameters
{
M3UA_Error_Code error_Code,
M3UA_Routing_Context routing_Context optional,
M3UA_Affected_Point_Codes affected_Point_Codes optional,
M3UA_Network_Appearance network_Appearance optional,
M3UA_Diagnostic_information diagnostic_information optional
} with { variant "TAG(error_Code, tag = '000C'O;
routing_Context, tag = '0006'O;
affected_Point_Codes, tag = '0012'O;
network_Appearance, tag = '0200'O;
diagnostic_information, tag = '0007'O; )"
}
// M3UA_NOTIFY
// NOTE1 : NOTIFY should not come and will be dropped if it comes
// NOTE2 : messageParameters is simpified implementation as octetstring
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_NOTIFY
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
octetstring messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
// M3UA_DATA PDU
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_DATA
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
M3UA_DATA_MessageParameters messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
type set M3UA_DATA_MessageParameters
{
M3UA_Network_Appearance network_Appearance optional,
M3UA_Routing_Context routing_Context optional,
M3UA_Protocol_Data protocol_Data,
M3UA_Correlation_ID correlation_ID optional
} with { variant "TAG(network_Appearance, tag = '0200'O;
routing_Context, tag = '0006'O;
protocol_Data, tag = '0210'O;
correlation_ID, tag = '0013'O; )"
}
// M3UA_DUNA PDU
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_DUNA
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
M3UA_DUNA_MessageParameters messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
type set M3UA_DUNA_MessageParameters
{
M3UA_Network_Appearance network_Appearance optional,
M3UA_Routing_Context routing_Context optional,
M3UA_Affected_Point_Codes affected_Point_Codes,
M3UA_Info_String info_String optional
} with { variant "TAG(network_Appearance, tag = '0200'O;
routing_Context, tag = '0006'O;
affected_Point_Codes, tag = '0012'O;
info_String, tag = '0004'O )"
}
// M3UA_DAVA PDU
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_DAVA
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
M3UA_DAVA_MessageParameters messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
type set M3UA_DAVA_MessageParameters
{
M3UA_Network_Appearance network_Appearance optional,
M3UA_Routing_Context routing_Context optional,
M3UA_Affected_Point_Codes affected_Point_Codes,
M3UA_Info_String info_String optional
} with { variant "TAG(network_Appearance, tag = '0200'O;
routing_Context, tag = '0006'O;
affected_Point_Codes, tag = '0012'O;
info_String, tag = '0004'O )"
}
// M3UA_DAUD PDU
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_DAUD
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
M3UA_DAUD_MessageParameters messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
type set M3UA_DAUD_MessageParameters
{
M3UA_Network_Appearance network_Appearance optional,
M3UA_Routing_Context routing_Context optional,
M3UA_Affected_Point_Codes affected_Point_Codes,
M3UA_Info_String info_String optional
} with { variant "TAG(network_Appearance, tag = '0200'O;
routing_Context, tag = '0006'O;
affected_Point_Codes, tag = '0012'O;
info_String, tag = '0004'O )"
}
// M3UA_SCON PDU
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_SCON
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
M3UA_SCON_MessageParameters messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
type set M3UA_SCON_MessageParameters
{
M3UA_Network_Appearance network_Appearance optional,
M3UA_Routing_Context routing_Context optional,
M3UA_Affected_Point_Codes affected_Point_Codes,
M3UA_Concerned_Destination concerned_Destination optional,
M3UA_Congestion_Indicators congestion_Indicators optional,
M3UA_Info_String info_String optional
} with { variant "TAG(network_Appearance, tag = '0200'O;
routing_Context, tag = '0006'O;
affected_Point_Codes, tag = '0012'O;
concerned_Destination, tag = '0206'O;
congestion_Indicators, tag = '0205'O;
info_String, tag = '0004'O )"
}
// M3UA_DUPU PDU
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_DUPU
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
M3UA_DUPU_MessageParameters messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
type set M3UA_DUPU_MessageParameters
{
M3UA_Network_Appearance network_Appearance optional,
M3UA_Routing_Context routing_Context optional,
M3UA_Affected_Point_Codes affected_Point_Codes,
M3UA_User_Cause user_Cause,
M3UA_Info_String info_String optional
} with { variant "TAG(network_Appearance, tag = '0200'O;
routing_Context, tag = '0006'O;
affected_Point_Codes, tag = '0012'O;
user_Cause, tag = '0204'O;
info_String, tag = '0004'O )"
}
// M3UA_DRST PDU
// NOTE1 : DRST should not come and will be dropped if it comes
// NOTE2 : messageParameters is simpified implementation as octetstring
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_DRST
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
octetstring messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
// M3UA_ASPUP
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_ASPUP
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
M3UA_ASPUP_MessageParameters messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
type set M3UA_ASPUP_MessageParameters
{
M3UA_ASP_Identifier aSP_Identifier optional,
M3UA_Info_String info_String optional
} with { variant "TAG(aSP_Identifier, tag = '0011'O;
info_String, tag = '0004'O; )"
}
//M3UA_ASPUP_Ack
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_ASPUP_Ack
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
M3UA_ASPUP_Ack_MessageParameters messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
type set M3UA_ASPUP_Ack_MessageParameters
{
M3UA_Info_String info_String optional
} with { variant "TAG(info_String, tag = '0004'O; )"
}
//M3UA_ASPDN
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_ASPDN
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
M3UA_ASPDN_MessageParameters messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
type set M3UA_ASPDN_MessageParameters
{
M3UA_Info_String info_String optional
} with { variant "TAG(info_String, tag = '0004'O; )"
}
//M3UA_ASPDN_Ack
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_ASPDN_Ack
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
M3UA_ASPDN_Ack_MessageParameters messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
type set M3UA_ASPDN_Ack_MessageParameters
{
M3UA_Info_String info_String optional
} with { variant "TAG(info_String, tag = '0004'O;)"
}
// M3UA_BEAT
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_BEAT
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
M3UA_BEAT_MessageParameters messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
type set M3UA_BEAT_MessageParameters
{
M3UA_Heartbeat_Data heartbeat_Data optional
} with { variant "TAG(heartbeat_Data, tag = '0009'O; )"
}
// M3UA_BEAT_Ack
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_BEAT_Ack
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
M3UA_BEAT_Ack_MessageParameters messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
type set M3UA_BEAT_Ack_MessageParameters
{
M3UA_Heartbeat_Data heartbeat_Data optional
} with { variant "TAG(heartbeat_Data, tag = '0009'O; )"
}
// M3UA_ASPAC
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_ASPAC
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
M3UA_ASPAC_MessageParameters messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
type set M3UA_ASPAC_MessageParameters
{
M3UA_Traffic_Mode_Type traffic_Mode_Type optional,
M3UA_Routing_Context routing_Context optional,
M3UA_Info_String info_String optional
} with { variant "TAG(traffic_Mode_Type, tag = '000B'O;
routing_Context, tag = '0006'O;
info_String, tag = '0004'O; )"
}
// M3UA_ASPAC_Ack
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_ASPAC_Ack
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
M3UA_ASPAC_Ack_MessageParameters messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
type set M3UA_ASPAC_Ack_MessageParameters
{
M3UA_Traffic_Mode_Type traffic_Mode_Type optional,
M3UA_Routing_Context routing_Context optional,
M3UA_Info_String info_String optional
} with { variant "TAG(traffic_Mode_Type, tag = '000B'O;
routing_Context, tag = '0006'O;
info_String, tag = '0004'O; )"
}
// M3UA_ASPIA
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_ASPIA
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
M3UA_ASPIA_MessageParameters messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
type set M3UA_ASPIA_MessageParameters
{
M3UA_Routing_Context routing_Context optional,
M3UA_Info_String info_String optional
} with { variant "TAG(routing_Context, tag = '0006'O;
info_String, tag = '0004'O; )"
}
// M3UA_ASPIA_Ack
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_ASPIA_Ack
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
M3UA_ASPIA_Ack_MessageParameters messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
type set M3UA_ASPIA_Ack_MessageParameters
{
M3UA_Routing_Context routing_Context optional,
M3UA_Info_String info_String optional
} with { variant "TAG(routing_Context, tag = '0006'O;
info_String, tag = '0004'O; )"
}
// M3UA_REG_REQ
// NOTE1 : REG REQ should not come and will be dropped if it comes
// NOTE2 : messageParameters is simpified implementation as octetstring
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_REG_REQ
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
octetstring messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
// M3UA_REG_RSP
// NOTE1 : REG RSP should not come and will be dropped if it comes
// NOTE2 : messageParameters is simpified implementation as octetstring
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_REG_RSP
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
octetstring messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
// M3UA_DEREG_REQ
// NOTE1 : DEREG REQ should not come and will be dropped if it comes
// NOTE2 : messageParameters is simpified implementation as octetstring
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_DEREG_REQ
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
octetstring messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
// M3UA_DEREG_RSP
// NOTE1 : DEREG RSP should not come and will be dropped if it comes
// NOTE2 : messageParameters is simpified implementation as octetstring
//++++++++++++++++++++++++++++++++++++++++++++++++++
type record M3UA_DEREG_RSP
{
OCT1 version,
OCT1 reserved,
OCT2 messageClassAndType,
integer messageLength,
octetstring messageParameters
} with { variant (messageLength) "LENGTHTO(version,reserved,messageClassAndType,
messageLength,messageParameters)";
variant (messageLength) "FIELDLENGTH(32)";
variant (messageLength) "BYTEORDER(last)";
}
// Top level PDU
//************************************************************************
type union PDU_M3UA
{
M3UA_ERR m3UA_ERR, // Error
M3UA_NOTIFY m3UA_NOTIFY, // Notify - should not come
M3UA_DATA m3UA_DATA, // Payload data
M3UA_DUNA m3UA_DUNA, // Destination Unavailable
M3UA_DAVA m3UA_DAVA, // Destination Available
M3UA_DAUD m3UA_DAUD, // Destination State Audit
M3UA_SCON m3UA_SCON, // Signaling Congestion
M3UA_DUPU m3UA_DUPU, // Destination User Part Unavailable
M3UA_DRST m3UA_DRST, // DRST - should not come
M3UA_ASPUP m3UA_ASPUP, // ASP up
M3UA_ASPDN m3UA_ASPDN, // ASP down
M3UA_BEAT m3UA_BEAT, // Heartbeat
M3UA_BEAT_Ack m3UA_BEAT_Ack, // Heartbeat Ack
M3UA_ASPUP_Ack m3UA_ASPUP_Ack, // ASP up ack
M3UA_ASPDN_Ack m3UA_ASPDN_Ack, // ASP down ack
M3UA_ASPAC m3UA_ASPAC, // ASP Active
M3UA_ASPIA m3UA_ASPIA, // ASP Inactive
M3UA_ASPAC_Ack m3UA_ASPAC_Ack, // ASP Active Ack
M3UA_ASPIA_Ack m3UA_ASPIA_Ack, // ASP Inactive
M3UA_REG_REQ m3UA_REG_REQ, // REG REQ - should not come
M3UA_REG_RSP m3UA_REG_RSP, // REG RSP - should not come
M3UA_DEREG_REQ m3UA_DEREG_REQ, // DEREG REQ - should not come
M3UA_DEREG_RSP m3UA_DEREG_RSP // DEREG RSP - should not come
} with { variant "TAG(
m3UA_ERR, messageClassAndType = '0000'O; //MGMT Class (0),
m3UA_NOTIFY, messageClassAndType = '0001'O; //MGMT Class (0),
m3UA_DATA, messageClassAndType = '0101'O; //Transf msg Class(1),
m3UA_DUNA, messageClassAndType = '0201'O; //SSNM Class(2),
m3UA_DAVA, messageClassAndType = '0202'O; //SSNM Class(2),
m3UA_DAUD, messageClassAndType = '0203'O; //SSNM Class(2),
m3UA_SCON, messageClassAndType = '0204'O; //SSNM Class(2),
m3UA_DUPU, messageClassAndType = '0205'O; //SSNM Class(2),
m3UA_DRST, messageClassAndType = '0206'O; //SSNM Class(2),
m3UA_ASPUP, messageClassAndType = '0301'O; //ASPSM Class(3),
m3UA_ASPDN, messageClassAndType = '0302'O; //ASPSM Class(3),
m3UA_BEAT, messageClassAndType = '0303'O; //ASPSM Class(3),
m3UA_ASPUP_Ack, messageClassAndType = '0304'O; //ASPSM Class(3),
m3UA_ASPDN_Ack, messageClassAndType = '0305'O; //ASPSM Class(3),
m3UA_BEAT_Ack, messageClassAndType = '0306'O; //ASPSM Class(3),
m3UA_ASPAC, messageClassAndType = '0401'O; //ASPTM Class(4),
m3UA_ASPIA, messageClassAndType = '0402'O; //ASPTM Class(4),
m3UA_ASPAC_Ack, messageClassAndType = '0403'O; //ASPTM Class(4),
m3UA_ASPIA_Ack, messageClassAndType = '0404'O; //ASPTM Class(4),
m3UA_REG_REQ, messageClassAndType = '0901'O; //RKM Class(9),
m3UA_REG_RSP, messageClassAndType = '0902'O; //RKM Class(9),
m3UA_DEREG_REQ, messageClassAndType = '0903'O; //RKM Class(9),
m3UA_DEREG_RSP, messageClassAndType = '0904'O; )" //RKM Class(9),
}
} with { encode "RAW"}

View File

@ -0,0 +1 @@
../../../TestPorts/Common_Components/Abstract_Socket_CNL113384/src/Abstract_Socket.cc

View File

@ -0,0 +1 @@
../../../TestPorts/Common_Components/Abstract_Socket_CNL113384/src/Abstract_Socket.hh

View File

@ -0,0 +1 @@
../../../ProtocolModules/BICC_Q.1902.1_CNL113359/src/BICC_EncDec.cc

View File

@ -0,0 +1 @@
../../../ProtocolModules/BICC_Q.1902.1_CNL113359/src/BICC_Types.ttcn

View File

@ -0,0 +1 @@
../../../ProtocolModules/COMMON/src/General_Types.ttcn

View File

@ -0,0 +1 @@
../src/M3UA_Emulation.ttcn

View File

@ -0,0 +1,152 @@
module M3UA_Emulation_Test
{
//import from MTP3asp_PortType all;
import from MTP3asp_Types all;
import from BICC_Types all;
import from M3UA_Emulation all;
import from SCTPasp_PortType all;
modulepar
{
SCTP_Association_Address tsp_address := { 0, "", 0, "" };
// float tsp_serverWait := 5.0;
// boolean tsp_serverTest := false;
}
type port MTP3asp_PT_Int message
{
out ASP_MTP3_TRANSFERreq;
in ASP_MTP3_TRANSFERind;
} with {extension "internal"}
type component BICC_CT
{
port MTP3asp_PT_Int BICC_MTP3_PORT;
}
type component MTC_CT
{
var BICC_CT vlc_BICC_COMPONENT_1;
var M3UA_CT vlc_M3UA_COMPONENT_1;
port SCTPasp_PT SCTP_PORT;
// var BICC_CT vlc_BICC_COMPONENT_2;
// port MTP3asp_PT M3UA_PORT;
}
function f_testconfig_bicc(SCTP_Association_Address pl_address) runs on MTC_CT
{
vlc_BICC_COMPONENT_1 := BICC_CT.create;
vlc_M3UA_COMPONENT_1 := M3UA_CT.create;
connect(vlc_BICC_COMPONENT_1:BICC_MTP3_PORT,
vlc_M3UA_COMPONENT_1:MTP3_SP_PORT);
map(system:SCTP_PORT, vlc_M3UA_COMPONENT_1:SCTP_PORT);
vlc_M3UA_COMPONENT_1.start(f_M3UA_Emulation(pl_address));
}
function f_testconfig_end_demo_bicc() runs on MTC_CT
{
unmap(system:SCTP_PORT, vlc_M3UA_COMPONENT_1:SCTP_PORT);
disconnect(vlc_BICC_COMPONENT_1:BICC_MTP3_PORT, vlc_M3UA_COMPONENT_1:MTP3_SP_PORT);
vlc_M3UA_COMPONENT_1.stop;
}
template ASP_MTP3_TRANSFERind tr_ASP_MTP3_TRANSFERind_BICC :=
{ sio := {
ni := '10'B,
prio := ?,
si := '1101'B
},
opc := ?,
dpc := ?,
sls := ?,
data := ?
}
function f_init_BICC_bicc() runs on BICC_CT
{
var PDU_BICC vl_PDU_BICC;
var ASP_MTP3_TRANSFERind vl_ASP_MTP3_TRANSFERind;
var ASP_MTP3_TRANSFERreq vl_ASP_MTP3_TRANSFERreq;
vl_PDU_BICC := {
BICC_GRA := {
CIC := '00000000'O,
MType := '00010111'B,
var_part_ptr := 1,
RngSts :=
{ range := '1F'O,
status := ''O
}
}
}
vl_ASP_MTP3_TRANSFERreq := {
sio := {
ni := '10'B,
prio := '00'B,
si := '1101'B
},
opc := 115,
dpc := 300,
sls := 0,
data := enc_PDU_BICC(vl_PDU_BICC)
}
timer T_Timer := 5.0;
T_Timer.start;
alt {
[] BICC_MTP3_PORT.receive(tr_ASP_MTP3_TRANSFERind_BICC)
-> value vl_ASP_MTP3_TRANSFERind {
log("BICC_MTP3_PORT: received message: ", vl_ASP_MTP3_TRANSFERind);
vl_PDU_BICC := dec_PDU_BICC(vl_ASP_MTP3_TRANSFERind.data);
log("received BICC message: ", vl_PDU_BICC);
setverdict(pass);
BICC_MTP3_PORT.send(vl_ASP_MTP3_TRANSFERreq);
T_Timer.stop;
}
[] BICC_MTP3_PORT.receive(ASP_MTP3_TRANSFERind : ?)
-> value vl_ASP_MTP3_TRANSFERind {
log("BICC_MTP3_PORT: received message: ", vl_ASP_MTP3_TRANSFERind);
repeat;
}
[] BICC_MTP3_PORT.receive {
setverdict(fail);
}
[] T_Timer.timeout {
setverdict(fail);
}
}
T_Timer.start;
alt {
[] BICC_MTP3_PORT.receive(tr_ASP_MTP3_TRANSFERind_BICC)
-> value vl_ASP_MTP3_TRANSFERind {
log("BICC_MTP3_PORT: received message: ", vl_ASP_MTP3_TRANSFERind);
vl_PDU_BICC := dec_PDU_BICC(vl_ASP_MTP3_TRANSFERind.data);
log("received BICC message: ", vl_PDU_BICC);
repeat;
}
[] BICC_MTP3_PORT.receive(ASP_MTP3_TRANSFERind : ?)
-> value vl_ASP_MTP3_TRANSFERind {
log("BICC_MTP3_PORT: received message: ", vl_ASP_MTP3_TRANSFERind);
repeat;
}
[] BICC_MTP3_PORT.receive {
}
[] T_Timer.timeout {
}
}
}
testcase tc_M3UA_demo_bicc() runs on MTC_CT
{
f_testconfig_bicc(tsp_address);
vlc_BICC_COMPONENT_1.start(f_init_BICC_bicc());
vlc_BICC_COMPONENT_1.done;
f_testconfig_end_demo_bicc();
}
}

View File

@ -0,0 +1 @@
../../../ProtocolModules/M3UA_CNL113536/src/M3UA_Types.ttcn

View File

@ -0,0 +1 @@
../../../TestPorts/MTP3asp_CNL113337/src/MTP3asp_EncDec.cc

View File

@ -0,0 +1 @@
../../../TestPorts/MTP3asp_CNL113337/src/MTP3asp_Types.ttcn

View File

@ -0,0 +1,920 @@
# This Makefile was generated by the Makefile Generator
# of the TTCN-3 Test Executor version 1.7.pre1 build 7
# for Gabor Bettesch (ethgbh@mwux018) on Tue May 29 11:06:47 2007
# Copyright 2000-2007 Test Competence Center, Ericsson R & D, Hungary
# For trouble reporting use the tool MTTSMS.
# For TR writers guide please visit the web page: http://ttcn.ericsson.se
# The following make commands are available:
# - make, make all Builds the executable test suite.
# - make archive Archives all source files.
# - make check Checks the semantics of TTCN-3 and ASN.1 modules.
# - make clean Removes all generated files.
# - make compile Translates TTCN-3 and ASN.1 modules to C++.
# - make dep Creates/updates dependency list.
# - make objects Builds the object files without linking the executable.
# - make tags Creates/updates tags file using ctags.
# WARNING! This Makefile can be used with GNU make only.
# Other versions of make may report syntax errors in it.
#
# Do NOT touch this line...
#
.PHONY: all archive check clean dep objects
#
# Set these variables...
#
# The path of your TTCN-3 Test Executor installation:
# Uncomment this line to override the environment variable.
# TTCN3_DIR =
# Your platform: (SOLARIS, SOLARIS8, LINUX, FREEBSD or WIN32)
PLATFORM = LINUX
# Your C++ compiler:
CXX = g++
# Flags for the C++ preprocessor (and makedepend as well):
CPPFLAGS = -D$(PLATFORM) -DTARGET_TEST -I$(TTCN3_DIR)/include -I$(SCTP_DIR)/include
# Flags for the C++ compiler:
CXXFLAGS = -Wall
# Flags for the linker:
LDFLAGS =
# Flags for the TTCN-3 and ASN.1 compiler:
COMPILER_FLAGS = -L
# Execution mode: (either ttcn3 or ttcn3-parallel)
TTCN3_LIB = ttcn3-parallel
# The path of your OpenSSL installation:
# If you do not have your own one, leave it unchanged.
OPENSSL_DIR = $(TTCN3_DIR)
# Directory to store the archived source files:
ARCHIVE_DIR = backup
SCTP_DIR = /usr/local/lksctp-tools-1.0.6
#
# You may change these variables. Add your files if necessary...
#
# TTCN-3 modules of this project:
TTCN3_MODULES = General_Types.ttcn BICC_Types.ttcn M3UA_Emulation.ttcn M3UA_Emulation_Test.ttcn M3UA_Types.ttcn SCTPasp_PortType.ttcn SCTPasp_Types.ttcn MTP3asp_Types.ttcn
#MTP3asp_PortType.ttcn
# ASN.1 modules of this project:
ASN1_MODULES =
# C++ source & header files generated from the TTCN-3 & ASN.1 modules of
# this project:
GENERATED_SOURCES = $(TTCN3_MODULES:.ttcn=.cc) $(ASN1_MODULES:.asn=.cc)
GENERATED_HEADERS = $(GENERATED_SOURCES:.cc=.hh)
# C/C++ Source & header files of Test Ports, external functions and
# other modules:
USER_SOURCES = Abstract_Socket.cc BICC_EncDec.cc SCTPasp_PT.cc MTP3asp_EncDec.cc
USER_HEADERS = Abstract_Socket.hh SCTPasp_PT.hh
#MTP3asp_PT.hh MTP3asp_PT.cc
# Object files of this project that are needed for the executable test suite:
OBJECTS = $(GENERATED_SOURCES:.cc=.o) $(USER_SOURCES:.cc=.o)
# Other files of the project (Makefile, configuration files, etc.)
# that will be added to the archived source files:
OTHER_FILES = m3ua_emu.cfg Makefile
# The name of the executable test suite:
TARGET = M3UA_Emulation_Test
#
# Do not modify these unless you know what you are doing...
# Platform specific additional libraries:
#
SOLARIS_LIBS = -lsocket -lnsl
SOLARIS8_LIBS = -lsocket -lnsl
LINUX_LIBS =
FREEBSD_LIBS =
WIN32_LIBS =
#
# Rules for building the executable...
#
all: $(TARGET) ;
objects: $(OBJECTS) ;
$(TARGET): $(OBJECTS)
$(CXX) $(LDFLAGS) -o $@ $^ \
-L$(TTCN3_DIR)/lib -L$(SCTP_DIR)/lib -l$(TTCN3_LIB) \
-L$(OPENSSL_DIR)/lib -lcrypto $($(PLATFORM)_LIBS)
.cc.o .c.o:
$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) -o $@ $<
$(GENERATED_SOURCES) $(GENERATED_HEADERS): compile
@if [ ! -f $@ ]; then $(RM) compile; $(MAKE) compile; fi
check: $(TTCN3_MODULES) $(ASN1_MODULES)
$(TTCN3_DIR)/bin/compiler -s $(COMPILER_FLAGS) $^
compile: $(TTCN3_MODULES) $(ASN1_MODULES)
$(TTCN3_DIR)/bin/compiler $(COMPILER_FLAGS) $^ - $?
touch $@
browserdata.dat: $(TTCN3_MODULES) $(ASN1_MODULES)
$(TTCN3_DIR)/bin/compiler -B -s $(COMPILER_FLAGS) $^
tags: $(TTCN3_MODULES) $(ASN1_MODULES) \
$(USER_HEADERS) $(USER_SOURCES)
$(TTCN3_DIR)/bin/ctags_ttcn3 --line-directives=yes $^
clean:
-$(RM) $(TARGET) $(OBJECTS) $(GENERATED_HEADERS) \
$(GENERATED_SOURCES) compile \
browserdata.dat tags *.log
dep: $(GENERATED_SOURCES) $(USER_SOURCES)
makedepend $(CPPFLAGS) $^
archive:
mkdir -p $(ARCHIVE_DIR)
tar -cvhf - $(TTCN3_MODULES) $(ASN1_MODULES) \
$(USER_HEADERS) $(USER_SOURCES) $(OTHER_FILES) \
| gzip >$(ARCHIVE_DIR)/`basename $(TARGET) .exe`-`date '+%y%m%d-%H%M'`.tgz
#
# Add your rules here if necessary...
#
# DO NOT DELETE
General_Types.o: General_Types.hh /usr/local/TTCNv3-1.7.pl0/include/TTCN3.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/version.h
General_Types.o: /usr/include/string.h /usr/include/features.h
General_Types.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
General_Types.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
General_Types.o: /usr/include/stdio.h /usr/include/bits/types.h
General_Types.o: /usr/include/bits/typesizes.h /usr/include/libio.h
General_Types.o: /usr/include/_G_config.h /usr/include/wchar.h
General_Types.o: /usr/include/bits/wchar.h /usr/include/gconv.h
General_Types.o: /usr/include/bits/stdio_lim.h
General_Types.o: /usr/include/bits/sys_errlist.h
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Basetype.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Types.h
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Encdec.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Template.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Integer.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Optional.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/BER.hh
General_Types.o: /usr/include/stdlib.h /usr/include/sys/types.h
General_Types.o: /usr/include/time.h /usr/include/endian.h
General_Types.o: /usr/include/bits/endian.h /usr/include/sys/select.h
General_Types.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
General_Types.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
General_Types.o: /usr/include/bits/pthreadtypes.h /usr/include/alloca.h
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Logger.hh
General_Types.o: /usr/include/sys/time.h
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Textbuf.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Error.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Parameters.h
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Float.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Boolean.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Null.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Objid.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Verdicttype.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Component.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Bitstring.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/RAW.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Hexstring.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Octetstring.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Any.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Charstring.hh
General_Types.o: /usr/include/regex.h
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Universal_charstring.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Struct_of.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Array.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_CharacterString.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_External.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_EmbeddedPDV.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Addfunc.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Timer.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Port.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Module_list.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Snapshot.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Default.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Runtime.hh
General_Types.o: /usr/local/TTCNv3-1.7.pl0/include/TEXT.hh
BICC_Types.o: BICC_Types.hh General_Types.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/TTCN3.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/version.h
BICC_Types.o: /usr/include/string.h /usr/include/features.h
BICC_Types.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
BICC_Types.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
BICC_Types.o: /usr/include/stdio.h /usr/include/bits/types.h
BICC_Types.o: /usr/include/bits/typesizes.h /usr/include/libio.h
BICC_Types.o: /usr/include/_G_config.h /usr/include/wchar.h
BICC_Types.o: /usr/include/bits/wchar.h /usr/include/gconv.h
BICC_Types.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Basetype.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Types.h
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Encdec.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Template.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Integer.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Optional.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/BER.hh /usr/include/stdlib.h
BICC_Types.o: /usr/include/sys/types.h /usr/include/time.h
BICC_Types.o: /usr/include/endian.h /usr/include/bits/endian.h
BICC_Types.o: /usr/include/sys/select.h /usr/include/bits/select.h
BICC_Types.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
BICC_Types.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
BICC_Types.o: /usr/include/alloca.h
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Logger.hh
BICC_Types.o: /usr/include/sys/time.h
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Textbuf.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Error.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Parameters.h
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Float.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Boolean.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Null.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Objid.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Verdicttype.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Component.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Bitstring.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/RAW.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Hexstring.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Octetstring.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Any.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Charstring.hh
BICC_Types.o: /usr/include/regex.h
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Universal_charstring.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Struct_of.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Array.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_CharacterString.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_External.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_EmbeddedPDV.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Addfunc.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Timer.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Port.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Module_list.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Snapshot.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Default.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Runtime.hh
BICC_Types.o: /usr/local/TTCNv3-1.7.pl0/include/TEXT.hh
M3UA_Emulation.o: M3UA_Emulation.hh M3UA_Types.hh General_Types.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/TTCN3.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/version.h
M3UA_Emulation.o: /usr/include/string.h /usr/include/features.h
M3UA_Emulation.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
M3UA_Emulation.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
M3UA_Emulation.o: /usr/include/stdio.h /usr/include/bits/types.h
M3UA_Emulation.o: /usr/include/bits/typesizes.h /usr/include/libio.h
M3UA_Emulation.o: /usr/include/_G_config.h /usr/include/wchar.h
M3UA_Emulation.o: /usr/include/bits/wchar.h /usr/include/gconv.h
M3UA_Emulation.o: /usr/include/bits/stdio_lim.h
M3UA_Emulation.o: /usr/include/bits/sys_errlist.h
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Basetype.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Types.h
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Encdec.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Template.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Integer.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Optional.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/BER.hh
M3UA_Emulation.o: /usr/include/stdlib.h /usr/include/sys/types.h
M3UA_Emulation.o: /usr/include/time.h /usr/include/endian.h
M3UA_Emulation.o: /usr/include/bits/endian.h /usr/include/sys/select.h
M3UA_Emulation.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
M3UA_Emulation.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
M3UA_Emulation.o: /usr/include/bits/pthreadtypes.h /usr/include/alloca.h
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Logger.hh
M3UA_Emulation.o: /usr/include/sys/time.h
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Textbuf.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Error.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Parameters.h
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Float.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Boolean.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Null.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Objid.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Verdicttype.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Component.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Bitstring.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/RAW.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Hexstring.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Octetstring.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Any.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Charstring.hh
M3UA_Emulation.o: /usr/include/regex.h
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Universal_charstring.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Struct_of.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Array.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_CharacterString.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_External.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_EmbeddedPDV.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Addfunc.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Timer.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Port.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Module_list.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Snapshot.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Default.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/Runtime.hh
M3UA_Emulation.o: /usr/local/TTCNv3-1.7.pl0/include/TEXT.hh
M3UA_Emulation.o: SCTPasp_PortType.hh SCTPasp_Types.hh SCTPasp_PT.hh
M3UA_Emulation.o: /usr/include/sys/socket.h /usr/include/sys/uio.h
M3UA_Emulation.o: /usr/include/bits/uio.h /usr/include/bits/socket.h
M3UA_Emulation.o: /usr/include/limits.h /usr/include/bits/posix1_lim.h
M3UA_Emulation.o: /usr/include/bits/local_lim.h /usr/include/linux/limits.h
M3UA_Emulation.o: /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h
M3UA_Emulation.o: /usr/include/asm/socket.h /usr/include/asm/sockios.h
M3UA_Emulation.o: /usr/include/netinet/in.h /usr/include/stdint.h
M3UA_Emulation.o: /usr/include/bits/in.h /usr/include/bits/byteswap.h
M3UA_Emulation.o: /usr/local/lksctp-tools-1.0.6/include/netinet/sctp.h
M3UA_Emulation.o: /usr/include/linux/types.h /usr/include/linux/posix_types.h
M3UA_Emulation.o: /usr/include/linux/stddef.h /usr/include/linux/compiler.h
M3UA_Emulation.o: /usr/include/asm/posix_types.h /usr/include/asm/types.h
M3UA_Emulation.o: MTP3asp_Types.hh
M3UA_Emulation_Test.o: M3UA_Emulation_Test.hh BICC_Types.hh General_Types.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/TTCN3.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/version.h
M3UA_Emulation_Test.o: /usr/include/string.h /usr/include/features.h
M3UA_Emulation_Test.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
M3UA_Emulation_Test.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
M3UA_Emulation_Test.o: /usr/include/stdio.h /usr/include/bits/types.h
M3UA_Emulation_Test.o: /usr/include/bits/typesizes.h /usr/include/libio.h
M3UA_Emulation_Test.o: /usr/include/_G_config.h /usr/include/wchar.h
M3UA_Emulation_Test.o: /usr/include/bits/wchar.h /usr/include/gconv.h
M3UA_Emulation_Test.o: /usr/include/bits/stdio_lim.h
M3UA_Emulation_Test.o: /usr/include/bits/sys_errlist.h
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Basetype.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Types.h
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Encdec.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Template.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Integer.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Optional.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/BER.hh
M3UA_Emulation_Test.o: /usr/include/stdlib.h /usr/include/sys/types.h
M3UA_Emulation_Test.o: /usr/include/time.h /usr/include/endian.h
M3UA_Emulation_Test.o: /usr/include/bits/endian.h /usr/include/sys/select.h
M3UA_Emulation_Test.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
M3UA_Emulation_Test.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
M3UA_Emulation_Test.o: /usr/include/bits/pthreadtypes.h /usr/include/alloca.h
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Logger.hh
M3UA_Emulation_Test.o: /usr/include/sys/time.h
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Textbuf.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Error.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Parameters.h
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Float.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Boolean.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Null.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Objid.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Verdicttype.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Component.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Bitstring.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/RAW.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Hexstring.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Octetstring.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Any.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Charstring.hh
M3UA_Emulation_Test.o: /usr/include/regex.h
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Universal_charstring.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Struct_of.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Array.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_CharacterString.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_External.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_EmbeddedPDV.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Addfunc.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Timer.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Port.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Module_list.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Snapshot.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Default.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/Runtime.hh
M3UA_Emulation_Test.o: /usr/local/TTCNv3-1.7.pl0/include/TEXT.hh
M3UA_Emulation_Test.o: M3UA_Emulation.hh M3UA_Types.hh SCTPasp_PortType.hh
M3UA_Emulation_Test.o: SCTPasp_Types.hh SCTPasp_PT.hh
M3UA_Emulation_Test.o: /usr/include/sys/socket.h /usr/include/sys/uio.h
M3UA_Emulation_Test.o: /usr/include/bits/uio.h /usr/include/bits/socket.h
M3UA_Emulation_Test.o: /usr/include/limits.h /usr/include/bits/posix1_lim.h
M3UA_Emulation_Test.o: /usr/include/bits/local_lim.h
M3UA_Emulation_Test.o: /usr/include/linux/limits.h
M3UA_Emulation_Test.o: /usr/include/bits/posix2_lim.h
M3UA_Emulation_Test.o: /usr/include/bits/sockaddr.h /usr/include/asm/socket.h
M3UA_Emulation_Test.o: /usr/include/asm/sockios.h /usr/include/netinet/in.h
M3UA_Emulation_Test.o: /usr/include/stdint.h /usr/include/bits/in.h
M3UA_Emulation_Test.o: /usr/include/bits/byteswap.h
M3UA_Emulation_Test.o: /usr/local/lksctp-tools-1.0.6/include/netinet/sctp.h
M3UA_Emulation_Test.o: /usr/include/linux/types.h
M3UA_Emulation_Test.o: /usr/include/linux/posix_types.h
M3UA_Emulation_Test.o: /usr/include/linux/stddef.h
M3UA_Emulation_Test.o: /usr/include/linux/compiler.h
M3UA_Emulation_Test.o: /usr/include/asm/posix_types.h
M3UA_Emulation_Test.o: /usr/include/asm/types.h MTP3asp_Types.hh
M3UA_Types.o: M3UA_Types.hh General_Types.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/TTCN3.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/version.h
M3UA_Types.o: /usr/include/string.h /usr/include/features.h
M3UA_Types.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
M3UA_Types.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
M3UA_Types.o: /usr/include/stdio.h /usr/include/bits/types.h
M3UA_Types.o: /usr/include/bits/typesizes.h /usr/include/libio.h
M3UA_Types.o: /usr/include/_G_config.h /usr/include/wchar.h
M3UA_Types.o: /usr/include/bits/wchar.h /usr/include/gconv.h
M3UA_Types.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Basetype.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Types.h
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Encdec.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Template.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Integer.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Optional.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/BER.hh /usr/include/stdlib.h
M3UA_Types.o: /usr/include/sys/types.h /usr/include/time.h
M3UA_Types.o: /usr/include/endian.h /usr/include/bits/endian.h
M3UA_Types.o: /usr/include/sys/select.h /usr/include/bits/select.h
M3UA_Types.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
M3UA_Types.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
M3UA_Types.o: /usr/include/alloca.h
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Logger.hh
M3UA_Types.o: /usr/include/sys/time.h
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Textbuf.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Error.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Parameters.h
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Float.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Boolean.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Null.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Objid.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Verdicttype.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Component.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Bitstring.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/RAW.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Hexstring.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Octetstring.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Any.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Charstring.hh
M3UA_Types.o: /usr/include/regex.h
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Universal_charstring.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Struct_of.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Array.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_CharacterString.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_External.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_EmbeddedPDV.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Addfunc.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Timer.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Port.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Module_list.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Snapshot.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Default.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Runtime.hh
M3UA_Types.o: /usr/local/TTCNv3-1.7.pl0/include/TEXT.hh
SCTPasp_PortType.o: SCTPasp_PortType.hh SCTPasp_Types.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/TTCN3.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/version.h
SCTPasp_PortType.o: /usr/include/string.h /usr/include/features.h
SCTPasp_PortType.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
SCTPasp_PortType.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
SCTPasp_PortType.o: /usr/include/stdio.h /usr/include/bits/types.h
SCTPasp_PortType.o: /usr/include/bits/typesizes.h /usr/include/libio.h
SCTPasp_PortType.o: /usr/include/_G_config.h /usr/include/wchar.h
SCTPasp_PortType.o: /usr/include/bits/wchar.h /usr/include/gconv.h
SCTPasp_PortType.o: /usr/include/bits/stdio_lim.h
SCTPasp_PortType.o: /usr/include/bits/sys_errlist.h
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Basetype.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Types.h
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Encdec.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Template.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Integer.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Optional.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/BER.hh
SCTPasp_PortType.o: /usr/include/stdlib.h /usr/include/sys/types.h
SCTPasp_PortType.o: /usr/include/time.h /usr/include/endian.h
SCTPasp_PortType.o: /usr/include/bits/endian.h /usr/include/sys/select.h
SCTPasp_PortType.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
SCTPasp_PortType.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
SCTPasp_PortType.o: /usr/include/bits/pthreadtypes.h /usr/include/alloca.h
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Logger.hh
SCTPasp_PortType.o: /usr/include/sys/time.h
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Textbuf.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Error.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Parameters.h
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Float.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Boolean.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Null.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Objid.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Verdicttype.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Component.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Bitstring.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/RAW.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Hexstring.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Octetstring.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Any.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Charstring.hh
SCTPasp_PortType.o: /usr/include/regex.h
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Universal_charstring.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Struct_of.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Array.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_CharacterString.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_External.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_EmbeddedPDV.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Addfunc.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Timer.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Port.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Module_list.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Snapshot.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Default.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/Runtime.hh
SCTPasp_PortType.o: /usr/local/TTCNv3-1.7.pl0/include/TEXT.hh SCTPasp_PT.hh
SCTPasp_PortType.o: /usr/include/sys/socket.h /usr/include/sys/uio.h
SCTPasp_PortType.o: /usr/include/bits/uio.h /usr/include/bits/socket.h
SCTPasp_PortType.o: /usr/include/limits.h /usr/include/bits/posix1_lim.h
SCTPasp_PortType.o: /usr/include/bits/local_lim.h /usr/include/linux/limits.h
SCTPasp_PortType.o: /usr/include/bits/posix2_lim.h
SCTPasp_PortType.o: /usr/include/bits/sockaddr.h /usr/include/asm/socket.h
SCTPasp_PortType.o: /usr/include/asm/sockios.h /usr/include/netinet/in.h
SCTPasp_PortType.o: /usr/include/stdint.h /usr/include/bits/in.h
SCTPasp_PortType.o: /usr/include/bits/byteswap.h
SCTPasp_PortType.o: /usr/local/lksctp-tools-1.0.6/include/netinet/sctp.h
SCTPasp_PortType.o: /usr/include/linux/types.h
SCTPasp_PortType.o: /usr/include/linux/posix_types.h
SCTPasp_PortType.o: /usr/include/linux/stddef.h /usr/include/linux/compiler.h
SCTPasp_PortType.o: /usr/include/asm/posix_types.h /usr/include/asm/types.h
SCTPasp_Types.o: SCTPasp_Types.hh /usr/local/TTCNv3-1.7.pl0/include/TTCN3.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/version.h
SCTPasp_Types.o: /usr/include/string.h /usr/include/features.h
SCTPasp_Types.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
SCTPasp_Types.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
SCTPasp_Types.o: /usr/include/stdio.h /usr/include/bits/types.h
SCTPasp_Types.o: /usr/include/bits/typesizes.h /usr/include/libio.h
SCTPasp_Types.o: /usr/include/_G_config.h /usr/include/wchar.h
SCTPasp_Types.o: /usr/include/bits/wchar.h /usr/include/gconv.h
SCTPasp_Types.o: /usr/include/bits/stdio_lim.h
SCTPasp_Types.o: /usr/include/bits/sys_errlist.h
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Basetype.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Types.h
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Encdec.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Template.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Integer.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Optional.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/BER.hh
SCTPasp_Types.o: /usr/include/stdlib.h /usr/include/sys/types.h
SCTPasp_Types.o: /usr/include/time.h /usr/include/endian.h
SCTPasp_Types.o: /usr/include/bits/endian.h /usr/include/sys/select.h
SCTPasp_Types.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
SCTPasp_Types.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
SCTPasp_Types.o: /usr/include/bits/pthreadtypes.h /usr/include/alloca.h
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Logger.hh
SCTPasp_Types.o: /usr/include/sys/time.h
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Textbuf.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Error.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Parameters.h
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Float.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Boolean.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Null.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Objid.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Verdicttype.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Component.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Bitstring.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/RAW.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Hexstring.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Octetstring.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Any.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Charstring.hh
SCTPasp_Types.o: /usr/include/regex.h
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Universal_charstring.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Struct_of.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Array.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_CharacterString.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_External.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_EmbeddedPDV.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Addfunc.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Timer.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Port.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Module_list.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Snapshot.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Default.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Runtime.hh
SCTPasp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/TEXT.hh
MTP3asp_Types.o: MTP3asp_Types.hh /usr/local/TTCNv3-1.7.pl0/include/TTCN3.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/version.h
MTP3asp_Types.o: /usr/include/string.h /usr/include/features.h
MTP3asp_Types.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
MTP3asp_Types.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
MTP3asp_Types.o: /usr/include/stdio.h /usr/include/bits/types.h
MTP3asp_Types.o: /usr/include/bits/typesizes.h /usr/include/libio.h
MTP3asp_Types.o: /usr/include/_G_config.h /usr/include/wchar.h
MTP3asp_Types.o: /usr/include/bits/wchar.h /usr/include/gconv.h
MTP3asp_Types.o: /usr/include/bits/stdio_lim.h
MTP3asp_Types.o: /usr/include/bits/sys_errlist.h
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Basetype.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Types.h
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Encdec.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Template.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Integer.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Optional.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/BER.hh
MTP3asp_Types.o: /usr/include/stdlib.h /usr/include/sys/types.h
MTP3asp_Types.o: /usr/include/time.h /usr/include/endian.h
MTP3asp_Types.o: /usr/include/bits/endian.h /usr/include/sys/select.h
MTP3asp_Types.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
MTP3asp_Types.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
MTP3asp_Types.o: /usr/include/bits/pthreadtypes.h /usr/include/alloca.h
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Logger.hh
MTP3asp_Types.o: /usr/include/sys/time.h
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Textbuf.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Error.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Parameters.h
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Float.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Boolean.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Null.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Objid.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Verdicttype.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Component.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Bitstring.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/RAW.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Hexstring.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Octetstring.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Any.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Charstring.hh
MTP3asp_Types.o: /usr/include/regex.h
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Universal_charstring.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Struct_of.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Array.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_CharacterString.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_External.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_EmbeddedPDV.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Addfunc.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Timer.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Port.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Module_list.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Snapshot.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Default.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/Runtime.hh
MTP3asp_Types.o: /usr/local/TTCNv3-1.7.pl0/include/TEXT.hh
Abstract_Socket.o: Abstract_Socket.hh /usr/include/sys/socket.h
Abstract_Socket.o: /usr/include/features.h /usr/include/sys/cdefs.h
Abstract_Socket.o: /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h
Abstract_Socket.o: /usr/include/gnu/stubs-32.h /usr/include/sys/uio.h
Abstract_Socket.o: /usr/include/sys/types.h /usr/include/bits/types.h
Abstract_Socket.o: /usr/include/bits/typesizes.h /usr/include/time.h
Abstract_Socket.o: /usr/include/endian.h /usr/include/bits/endian.h
Abstract_Socket.o: /usr/include/sys/select.h /usr/include/bits/select.h
Abstract_Socket.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
Abstract_Socket.o: /usr/include/sys/sysmacros.h
Abstract_Socket.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/uio.h
Abstract_Socket.o: /usr/include/bits/socket.h /usr/include/limits.h
Abstract_Socket.o: /usr/include/bits/posix1_lim.h
Abstract_Socket.o: /usr/include/bits/local_lim.h /usr/include/linux/limits.h
Abstract_Socket.o: /usr/include/bits/posix2_lim.h
Abstract_Socket.o: /usr/include/bits/sockaddr.h /usr/include/asm/socket.h
Abstract_Socket.o: /usr/include/asm/sockios.h /usr/include/netinet/in.h
Abstract_Socket.o: /usr/include/stdint.h /usr/include/bits/wchar.h
Abstract_Socket.o: /usr/include/bits/in.h /usr/include/bits/byteswap.h
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/TTCN3.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/version.h
Abstract_Socket.o: /usr/include/string.h /usr/include/stdio.h
Abstract_Socket.o: /usr/include/libio.h /usr/include/_G_config.h
Abstract_Socket.o: /usr/include/wchar.h /usr/include/gconv.h
Abstract_Socket.o: /usr/include/bits/stdio_lim.h
Abstract_Socket.o: /usr/include/bits/sys_errlist.h
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Basetype.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Types.h
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Encdec.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Template.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Integer.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Optional.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/BER.hh
Abstract_Socket.o: /usr/include/stdlib.h /usr/include/alloca.h
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Logger.hh
Abstract_Socket.o: /usr/include/sys/time.h
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Textbuf.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Error.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Parameters.h
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Float.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Boolean.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Null.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Objid.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Verdicttype.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Component.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Bitstring.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/RAW.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Hexstring.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Octetstring.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Any.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Charstring.hh
Abstract_Socket.o: /usr/include/regex.h
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Universal_charstring.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Struct_of.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Array.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_CharacterString.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_External.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_EmbeddedPDV.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Addfunc.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Timer.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Port.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Module_list.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Snapshot.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Default.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/Runtime.hh
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/TEXT.hh
Abstract_Socket.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
Abstract_Socket.o: /usr/include/bits/confname.h /usr/include/getopt.h
Abstract_Socket.o: /usr/include/strings.h /usr/include/errno.h
Abstract_Socket.o: /usr/include/bits/errno.h /usr/include/linux/errno.h
Abstract_Socket.o: /usr/include/asm/errno.h /usr/include/asm-generic/errno.h
Abstract_Socket.o: /usr/include/asm-generic/errno-base.h /usr/include/netdb.h
Abstract_Socket.o: /usr/include/rpc/netdb.h /usr/include/bits/netdb.h
Abstract_Socket.o: /usr/include/sys/stat.h /usr/include/bits/stat.h
Abstract_Socket.o: /usr/include/netinet/tcp.h /usr/include/arpa/inet.h
Abstract_Socket.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
Abstract_Socket.o: /usr/local/TTCNv3-1.7.pl0/include/memory.h
BICC_EncDec.o: BICC_Types.hh General_Types.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/TTCN3.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/version.h
BICC_EncDec.o: /usr/include/string.h /usr/include/features.h
BICC_EncDec.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
BICC_EncDec.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
BICC_EncDec.o: /usr/include/stdio.h /usr/include/bits/types.h
BICC_EncDec.o: /usr/include/bits/typesizes.h /usr/include/libio.h
BICC_EncDec.o: /usr/include/_G_config.h /usr/include/wchar.h
BICC_EncDec.o: /usr/include/bits/wchar.h /usr/include/gconv.h
BICC_EncDec.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Basetype.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Types.h
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Encdec.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Template.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Integer.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Optional.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/BER.hh /usr/include/stdlib.h
BICC_EncDec.o: /usr/include/sys/types.h /usr/include/time.h
BICC_EncDec.o: /usr/include/endian.h /usr/include/bits/endian.h
BICC_EncDec.o: /usr/include/sys/select.h /usr/include/bits/select.h
BICC_EncDec.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
BICC_EncDec.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
BICC_EncDec.o: /usr/include/alloca.h
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Logger.hh
BICC_EncDec.o: /usr/include/sys/time.h
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Textbuf.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Error.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Parameters.h
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Float.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Boolean.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Null.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Objid.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Verdicttype.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Component.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Bitstring.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/RAW.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Hexstring.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Octetstring.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Any.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Charstring.hh
BICC_EncDec.o: /usr/include/regex.h
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Universal_charstring.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Struct_of.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Array.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_CharacterString.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_External.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_EmbeddedPDV.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Addfunc.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Timer.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Port.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Module_list.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Snapshot.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Default.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Runtime.hh
BICC_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/TEXT.hh
SCTPasp_PT.o: SCTPasp_PT.hh SCTPasp_PortType.hh SCTPasp_Types.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/TTCN3.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/version.h
SCTPasp_PT.o: /usr/include/string.h /usr/include/features.h
SCTPasp_PT.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
SCTPasp_PT.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
SCTPasp_PT.o: /usr/include/stdio.h /usr/include/bits/types.h
SCTPasp_PT.o: /usr/include/bits/typesizes.h /usr/include/libio.h
SCTPasp_PT.o: /usr/include/_G_config.h /usr/include/wchar.h
SCTPasp_PT.o: /usr/include/bits/wchar.h /usr/include/gconv.h
SCTPasp_PT.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Basetype.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Types.h
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Encdec.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Template.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Integer.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Optional.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/BER.hh /usr/include/stdlib.h
SCTPasp_PT.o: /usr/include/sys/types.h /usr/include/time.h
SCTPasp_PT.o: /usr/include/endian.h /usr/include/bits/endian.h
SCTPasp_PT.o: /usr/include/sys/select.h /usr/include/bits/select.h
SCTPasp_PT.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
SCTPasp_PT.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
SCTPasp_PT.o: /usr/include/alloca.h
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Logger.hh
SCTPasp_PT.o: /usr/include/sys/time.h
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Textbuf.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Error.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Parameters.h
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Float.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Boolean.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Null.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Objid.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Verdicttype.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Component.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Bitstring.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/RAW.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Hexstring.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Octetstring.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Any.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Charstring.hh
SCTPasp_PT.o: /usr/include/regex.h
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Universal_charstring.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Struct_of.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Array.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_CharacterString.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_External.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_EmbeddedPDV.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Addfunc.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Timer.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Port.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Module_list.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Snapshot.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Default.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/Runtime.hh
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/TEXT.hh
SCTPasp_PT.o: /usr/include/sys/socket.h /usr/include/sys/uio.h
SCTPasp_PT.o: /usr/include/bits/uio.h /usr/include/bits/socket.h
SCTPasp_PT.o: /usr/include/limits.h /usr/include/bits/posix1_lim.h
SCTPasp_PT.o: /usr/include/bits/local_lim.h /usr/include/linux/limits.h
SCTPasp_PT.o: /usr/include/bits/posix2_lim.h /usr/include/bits/sockaddr.h
SCTPasp_PT.o: /usr/include/asm/socket.h /usr/include/asm/sockios.h
SCTPasp_PT.o: /usr/include/netinet/in.h /usr/include/stdint.h
SCTPasp_PT.o: /usr/include/bits/in.h /usr/include/bits/byteswap.h
SCTPasp_PT.o: /usr/local/lksctp-tools-1.0.6/include/netinet/sctp.h
SCTPasp_PT.o: /usr/include/linux/types.h /usr/include/linux/posix_types.h
SCTPasp_PT.o: /usr/include/linux/stddef.h /usr/include/linux/compiler.h
SCTPasp_PT.o: /usr/include/asm/posix_types.h /usr/include/asm/types.h
SCTPasp_PT.o: /usr/include/arpa/inet.h /usr/include/unistd.h
SCTPasp_PT.o: /usr/include/bits/posix_opt.h /usr/include/bits/confname.h
SCTPasp_PT.o: /usr/include/getopt.h /usr/include/netdb.h
SCTPasp_PT.o: /usr/include/rpc/netdb.h /usr/include/bits/netdb.h
SCTPasp_PT.o: /usr/local/TTCNv3-1.7.pl0/include/memory.h /usr/include/fcntl.h
SCTPasp_PT.o: /usr/include/bits/fcntl.h /usr/include/errno.h
SCTPasp_PT.o: /usr/include/bits/errno.h /usr/include/linux/errno.h
SCTPasp_PT.o: /usr/include/asm/errno.h /usr/include/asm-generic/errno.h
SCTPasp_PT.o: /usr/include/asm-generic/errno-base.h
MTP3asp_EncDec.o: MTP3asp_Types.hh /usr/local/TTCNv3-1.7.pl0/include/TTCN3.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/version.h
MTP3asp_EncDec.o: /usr/include/string.h /usr/include/features.h
MTP3asp_EncDec.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
MTP3asp_EncDec.o: /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h
MTP3asp_EncDec.o: /usr/include/stdio.h /usr/include/bits/types.h
MTP3asp_EncDec.o: /usr/include/bits/typesizes.h /usr/include/libio.h
MTP3asp_EncDec.o: /usr/include/_G_config.h /usr/include/wchar.h
MTP3asp_EncDec.o: /usr/include/bits/wchar.h /usr/include/gconv.h
MTP3asp_EncDec.o: /usr/include/bits/stdio_lim.h
MTP3asp_EncDec.o: /usr/include/bits/sys_errlist.h
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Basetype.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Types.h
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Encdec.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Template.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Integer.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Optional.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/BER.hh
MTP3asp_EncDec.o: /usr/include/stdlib.h /usr/include/sys/types.h
MTP3asp_EncDec.o: /usr/include/time.h /usr/include/endian.h
MTP3asp_EncDec.o: /usr/include/bits/endian.h /usr/include/sys/select.h
MTP3asp_EncDec.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
MTP3asp_EncDec.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
MTP3asp_EncDec.o: /usr/include/bits/pthreadtypes.h /usr/include/alloca.h
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Logger.hh
MTP3asp_EncDec.o: /usr/include/sys/time.h
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Textbuf.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Error.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Parameters.h
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Float.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Boolean.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Null.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Objid.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Verdicttype.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Component.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Bitstring.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/RAW.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Hexstring.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Octetstring.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_Any.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Charstring.hh
MTP3asp_EncDec.o: /usr/include/regex.h
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Universal_charstring.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Struct_of.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Array.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_CharacterString.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_External.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/ASN_EmbeddedPDV.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Addfunc.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Timer.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Port.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Module_list.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Snapshot.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Default.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/Runtime.hh
MTP3asp_EncDec.o: /usr/local/TTCNv3-1.7.pl0/include/TEXT.hh

View File

@ -0,0 +1 @@
../../../TestPorts/SCTPasp_CNL113469/src/SCTPasp_PT.cc

View File

@ -0,0 +1 @@
../../../TestPorts/SCTPasp_CNL113469/src/SCTPasp_PT.hh

View File

@ -0,0 +1 @@
../../../TestPorts/SCTPasp_CNL113469/src/SCTPasp_PortType.ttcn

View File

@ -0,0 +1 @@
../../../TestPorts/SCTPasp_CNL113469/src/SCTPasp_Types.ttcn

View File

@ -0,0 +1,21 @@
[LOGGING]
LogSourceInfo := Yes
FileMask := LOG_ALL | TTCN_DEBUG | TTCN_MATCHING
ConsoleMask := LOG_ALL | TTCN_DEBUG | TTCN_MATCHING
[EXECUTE]
M3UA_Emulation_Test.tc_M3UA_demo_bicc
[TESTPORT_PARAMETERS]
system.SCTP_PORT.debug := "yes"
[MODULE_PARAMETERS]
M3UA_Emulation.tsp_logVerbose := true;
M3UA_Emulation.tsp_M3UA_Server_Mode := false;
M3UA_Emulation_Test.tsp_address :=
{
local_sctp_port := 2905,
local_ip_addr := "10.6.70.19",
remote_sctp_port := 2905,
remote_ip_addr := "159.107.193.33"
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,89 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright Test Competence Center (TCC) ETH 2012
The copyright to the computer program(s) herein is the property of TCC.
The program(s) may be used and/or copied only with the written permission
of TCC or in accordance with the terms and conditions stipulated in the
agreement/contract under which the program(s) has been supplied.
File: MTP3asp_CNL113337.tpd
Description: tpd project file
Rev: R11A01
Prodnr: CNL 113 337
Updated: 2012-11-23
Contact: http://ttcn.ericsson.se
-->
<TITAN_Project_File_Information version="1.0">
<ProjectName>MTP3asp_CNL113337</ProjectName>
<ReferencedProjects>
<ReferencedProject name="Abstract_Socket_CNL113384" projectLocationURI="../Common_Components/Abstract_Socket_CNL113384/Abstract_Socket_CNL113384.tpd"/>
</ReferencedProjects>
<Folders>
<FolderResource projectRelativePath="doc" relativeURI="doc"/>
<FolderResource projectRelativePath="src" relativeURI="src"/>
</Folders>
<Files>
<FileResource projectRelativePath="doc/MTP3asp_CNL113337_FS.pdf" relativeURI="doc/MTP3asp_CNL113337_FS.pdf"/>
<FileResource projectRelativePath="doc/MTP3asp_CNL113337_PRI.pdf" relativeURI="doc/MTP3asp_CNL113337_PRI.pdf"/>
<FileResource projectRelativePath="doc/MTP3asp_CNL113337_UG.pdf" relativeURI="doc/MTP3asp_CNL113337_UG.pdf"/>
<FileResource projectRelativePath="src/MTP3asp_EncDec.cc" relativeURI="src/MTP3asp_EncDec.cc"/>
<FileResource projectRelativePath="src/MTP3asp_PT.cc" relativeURI="src/MTP3asp_PT.cc"/>
<FileResource projectRelativePath="src/MTP3asp_PT.hh" relativeURI="src/MTP3asp_PT.hh"/>
<FileResource projectRelativePath="src/MTP3asp_PortType.ttcn" relativeURI="src/MTP3asp_PortType.ttcn"/>
<FileResource projectRelativePath="src/MTP3asp_Types.ttcn" relativeURI="src/MTP3asp_Types.ttcn"/>
</Files>
<ActiveConfiguration>TARGET_TEST</ActiveConfiguration>
<Configurations>
<Configuration name="Default">
<ProjectProperties>
<MakefileSettings>
<generateInternalMakefile>true</generateInternalMakefile>
<GNUMake>true</GNUMake>
<incrementalDependencyRefresh>true</incrementalDependencyRefresh>
<targetExecutable>bin/MTP3asp_CNL113337</targetExecutable>
<preprocessorDefines>
<listItem>TARGET_TEST</listItem>
</preprocessorDefines>
<buildLevel>Level 3 - Creating object files with dependency update</buildLevel>
</MakefileSettings>
<LocalBuildSettings>
<workingDirectory>bin</workingDirectory>
</LocalBuildSettings>
</ProjectProperties>
</Configuration>
<Configuration name="TARGET_TEST">
<ProjectProperties>
<MakefileSettings>
<generateInternalMakefile>true</generateInternalMakefile>
<GNUMake>true</GNUMake>
<incrementalDependencyRefresh>true</incrementalDependencyRefresh>
<targetExecutable>bin/MTP3asp_CNL113337</targetExecutable>
<preprocessorDefines>
<listItem>TARGET_TEST</listItem>
</preprocessorDefines>
<buildLevel>Level 3 - Creating object files with dependency update</buildLevel>
</MakefileSettings>
<LocalBuildSettings>
<workingDirectory>bin</workingDirectory>
</LocalBuildSettings>
</ProjectProperties>
</Configuration>
<Configuration name="NO TARGET_TEST">
<ProjectProperties>
<MakefileSettings>
<generateInternalMakefile>true</generateInternalMakefile>
<GNUMake>true</GNUMake>
<incrementalDependencyRefresh>true</incrementalDependencyRefresh>
<targetExecutable>bin/MTP3asp_CNL113337</targetExecutable>
<buildLevel>Level 3 - Creating object files with dependency update</buildLevel>
</MakefileSettings>
<LocalBuildSettings>
<workingDirectory>bin</workingDirectory>
</LocalBuildSettings>
</ProjectProperties>
</Configuration>
</Configurations>
</TITAN_Project_File_Information>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,249 @@
///////////////////////////////////////////////////////////////////////////////
// //
// Copyright Test Competence Center (TCC) ETH 2009 //
// //
// The copyright to the computer program(s) herein is the property of TCC. //
// The program(s) may be used and/or copied only with the written permission //
// of TCC or in accordance with the terms and conditions stipulated in the //
// agreement/contract under which the program(s) have been supplied //
// //
///////////////////////////////////////////////////////////////////////////////
//
// File: MTP3asp_PT.hh
// Description: Implementation of port MTP3asp_PT
// This test port is written to connect ttcn to SEA
// according to specification ITU-T SS7 MTP3, ANSI, TCC, MPT, IETF,
// Reference: ITU-T Recommendation Q.704, RFC3332
// Rev: R11A01
// Prodnr: CNL 113 337
// Updated: 2009-04-03
// Contact: http://ttcn.ericsson.se
#ifndef MTP3asp_PT_HH
#define MTP3asp_PT_HH
#include <TTCN3.hh>
#ifdef TARGET_TEST
#include "Abstract_Socket.hh"
#endif
#ifndef TARGET_TEST
#include "mphclib.h"
#endif
#define MAXSIZE 1532 //+32 needed for M3UA
#define MTP3_ON 1
#define MTP3_OFF 0
namespace MTP3asp__Types {
class ASP__MTP3__TRANSFERind;
class ASP__MTP3__PAUSE;
class ASP__MTP3__RESUME;
class ASP__MTP3__STATUS;
class ASP__MTP3__TRANSFERreq;
}
namespace MTP3asp__PortType {
class MTP3asp__PT_PROVIDER : public PORT
#ifdef TARGET_TEST
, public Abstract_Socket
#endif
{
protected:
// pointer to member: user_map/unmap methods
typedef void (MTP3asp__PT_PROVIDER::*usermap_t)(const char *system_port);
// pointer to member: user_connect methods
typedef void (MTP3asp__PT_PROVIDER::*userconnect_t)();
// pointer to member: interpreter methods
#ifndef TARGET_TEST
typedef void (MTP3asp__PT_PROVIDER::*interpreter_t)(unsigned char* inbuffer,int length,int from_channel,CONNECTION* con);
void M3UA_interpreter(unsigned char* inbuffer,int length,int from_channel,CONNECTION* con);
void M3UA_user_map(const char *system_port);
void M3UA_user_connect();
void M3UA_user_unmap(const char *system_port);
void MTP3_interpreter(unsigned char* inbuffer,int length,int from_channel,CONNECTION* con);
void MTP3_user_map(const char *system_port); // common for MTP3 ITU and MTP3 ANSI
void MTP3_user_connect();
void MTP3_user_unmap(const char *system_port);// common for MTP3 ITU and MTP3 ANSI
void STC_user_connect();
void STC_interpreter(unsigned char* inbuffer,int length,int from_channel,CONNECTION* con);
void STC_user_map(const char *system_port);
void STC_user_unmap(const char *system_port);
#endif
#ifdef TARGET_TEST
//Map and unmap for target
void Target_user_map(const char *system_port);
void Target_user_unmap(const char *system_port);
void TargetSTC_user_map(const char *system_port);
#endif
public:
MTP3asp__PT_PROVIDER(const char *par_port_name=NULL);
~MTP3asp__PT_PROVIDER();
typedef enum { MTP3itu, MTP3ansi, MTP3ttc, MTP3mpt, M3UA, TargetM3UA, MTP3bttc,MTP3iup, STC, TargetSTC } MTPServiceType_t ;
MTPServiceType_t MTPServiceType ; // ctor default is MTP3itu
void set_parameter(const char *parameter_name, const char *parameter_value);
void error(const char *msg, ...);
void log(const char *msg, ...);
#ifndef TARGET_TEST
void user_connect();
void set_channel(int chnl) {channel=chnl;};
void MTP3_open_channel(boolean http);
void MTP3_close_connection();
boolean wait_for_open();
int conn_state;
interpreter_t interpreter; // pointer to interpreter members, ctor default is MTP3_ITU_interpreter
void doInterpret(unsigned char* inbuffer,int length,int from_channel,CONNECTION* con)
{ (this->*interpreter)(inbuffer,length,from_channel, con); }
#endif
//parameter handling
boolean dynamicConnection, connectionUp;
char *hostname;
int httpport;
char *entityname;
int MTP_fd;
protected:
void user_map(const char *system_port);
void user_unmap(const char *system_port);
void debuglog(const char *msg, ...);
void warn(const char *msg, ...);
void close_log_event();
usermap_t user_map_p ; // pointer to user_map members, default is MTP3itu
usermap_t user_unmap_p; // pointer to user_unmap members, default is MTP3itu
userconnect_t user_connect_p;
void user_start();
void user_stop();
void outgoing_send(const MTP3asp__Types::ASP__MTP3__TRANSFERreq& send_par);
virtual void incoming_message
(const MTP3asp__Types::ASP__MTP3__TRANSFERind& incoming_par) = 0;
virtual void incoming_message
(const MTP3asp__Types::ASP__MTP3__PAUSE& incoming_par) = 0;
virtual void incoming_message
(const MTP3asp__Types::ASP__MTP3__RESUME& incoming_par) = 0;
virtual void incoming_message
(const MTP3asp__Types::ASP__MTP3__STATUS& incoming_par) = 0;
#ifndef TARGET_TEST
void encode_56bLSB_int(unsigned char *to, unsigned long long int from);
long long unsigned int decode_56bLSB_int(const unsigned char *from);
void encode_48bLSB_int(unsigned char *to, unsigned long long int from);
long long unsigned int decode_48bLSB_int(const unsigned char *from);
void encode_40bLSB_int(unsigned char *to, unsigned long long int from);
long long unsigned int decode_40bLSB_int(const unsigned char *from);
void encode_32bLSB_int(unsigned char *to, unsigned int from);
unsigned int decode_32bLSB_int(const unsigned char *from);
void encode_24bLSB_int(unsigned char *to, int from);
unsigned int decode_24bLSB_int(const unsigned char *from);
void encode_16bLSB_int(unsigned char *to, int from);
unsigned int decode_16bLSB_int(const unsigned char *from);
void encode_32b_int(unsigned char *to, unsigned int from);
unsigned int decode_32b_int(const unsigned char *from);
void encode_24b_int(unsigned char *to, unsigned int from);
unsigned int decode_24b_int(const unsigned char *from);
void encode_16b_int(unsigned char *to, int from);
unsigned int decode_16b_int(const unsigned char *from);
void skip_par_after_tag(unsigned char* inbuffer, int &offset);
void GetPointCodes(unsigned int &sls,unsigned int &opc,unsigned int &dpc, unsigned char* msg);
void GetPointCodesIUP(unsigned int &cic,unsigned int &opc,unsigned int &dpc, unsigned char* msg);
void SetPointCodes(unsigned int sls, unsigned int opc, unsigned int dpc, unsigned char* msg);
void SetPointCodesIUP(unsigned int cic, unsigned int opc, unsigned int dpc, unsigned char* msg);
int ChangePointCodes(unsigned char* outbuff, unsigned char *inbuff, int len);
void Set_M3UA_SingleAPC(unsigned int pc, unsigned char* apc_par); //for ITU and ANSI
bool Check_M3UA_SingleITUAPC(unsigned int pc, unsigned char* apc_par);
void Send_DAVA_DUNA_to_APCinDAUD(unsigned int dava_sep, unsigned char* inbuffer, int &offset );
void processing_MTP3_management_msg(unsigned char* inbuff,int len);
void processing_MTP3_test_msg(unsigned char* inbuff,int len);
int processing_M3UA_MGMT_msg(unsigned char* inbuff,int len);
int processing_M3UA_Transfer_msg(unsigned char* inbuff,int len);
int processing_M3UA_SSNM_msg(unsigned char* inbuff,int len);
int processing_M3UA_ASPSM_msg(unsigned char* inbuff,int len);
int processing_M3UA_ASPTM_msg(unsigned char* inbuff,int len);
int processing_M3UA_RKM_msg(unsigned char* inbuff,int len);
int processing_M3UA_unsupported_msg_class(unsigned char* inbuff,int len);
int Check_PcMatch(unsigned int opc, unsigned int dpc, unsigned char *buff);
void send_msg(unsigned char *outbuff, int length);
void send_M3UA_error_msg(unsigned int error_code, unsigned int add_par );
void Check_TestPort_Variables();
void Check_TestPort_Variables_STC();
#endif
#ifdef TARGET_TEST
void Check_Target_TestPort_Variables();
void Check_Target_TestPort_Variables_STC();
//Functions for abstract socket handling
void message_incoming(const unsigned char*, int length, int client_id = -1);
void Add_Fd_Read_Handler(int fd) { Handler_Add_Fd_Read(fd); }
void Add_Fd_Write_Handler(int fd) { Handler_Add_Fd_Write(fd); }
void Remove_Fd_Read_Handler(int fd) { Handler_Remove_Fd_Read(fd); }
void Remove_Fd_Write_Handler(int fd) { Handler_Remove_Fd_Write(fd); }
void Remove_Fd_All_Handlers(int fd) { Handler_Remove_Fd(fd); }
void Handler_Uninstall() { Uninstall_Handler(); }
void Timer_Set_Handler(double call_interval, boolean is_timeout = TRUE,
boolean call_anyway = TRUE, boolean is_periodic = TRUE) {
Handler_Set_Timer(call_interval, is_timeout, call_anyway, is_periodic);
}
const char* local_address_name() { return "localIPAddr";}
const char* local_port_name() { return "localPort";}
const char* remote_address_name(){ return "M3UAtarget_TCP_IPAddr";}
const char* remote_port_name() { return "M3UAtarget_TCP_Port";}
const char* halt_on_connection_reset_name(){ return "halt_on_connection_reset";}
const char* server_mode_name() { return "client_mode";}
const char* socket_debugging_name(){ return "socket_debugging";}
const char* nagling_name() { return "nagling";}
const char* server_backlog_name(){ return "server_backlog";}
const PacketHeaderDescr* Get_Header_Descriptor() const {return header_descr;}
#endif
private:
void Handle_Fd_Event(int fd, boolean is_readable, boolean is_writable, boolean is_error);
void Handle_Timeout(double time_since_last_call);
unsigned char M3UA_version;
int channel;
unsigned char buffer[MAXSIZE];
char *destinationname;
char *iid_string;
boolean Ni_is_set;
int Loop,Filter,Sut_Pc,Tester_Pc;
typedef enum { AssocDown, AssocEstabl, AssocInac, AssocActive} M3UAStateType_t;
M3UAStateType_t M3UAState;
int mtp3_ni; // network indicator in case of MTP3
int stored_bttc_octet; // used for storage of an additional first byte in MTP3bttc
#ifndef TARGET_TEST
MPH_IID iid;
CONNECTION *myConnection;
#endif
bool forward_resume, forward_pause, forward_status;
#ifdef TARGET_TEST
int Tcp_is_up;
PacketHeaderDescr *header_descr;
bool is_packet_hdr_length_offset, is_packet_hdr_nr_bytes_in_length,
is_packet_hdr_byte_order;
int packet_hdr_length_offset, packet_hdr_nr_bytes_in_length;
PacketHeaderDescr::HeaderByteOrder packet_hdr_byte_order;
#endif
};
extern BOOLEAN f__MTP3__SEA__connect__extern
(MTP3asp__PT_PROVIDER& portRef, const CHARSTRING& Hostname,
const INTEGER& Port, const CHARSTRING& EntityName,const BOOLEAN& Http);
extern BOOLEAN f__MTP3__SEA__disconnect__extern
(MTP3asp__PT_PROVIDER& portRef);
}
#endif

View File

@ -0,0 +1,61 @@
///////////////////////////////////////////////////////////////////////////////
// //
// Copyright Test Competence Center (TCC) ETH 2008 //
// //
// The copyright to the computer program(s) herein is the property of TCC. //
// The program(s) may be used and/or copied only with the written permission //
// of TCC or in accordance with the terms and conditions stipulated in the //
// agreement/contract under which the program(s) have been supplied //
// //
///////////////////////////////////////////////////////////////////////////////
//
// File: MTP3asp_PortType.ttcn
// Reference: ITU-T Recommendation Q.704, RFC3332
// Rev: R11A01
// Prodnr: CNL 113 337
// Updated: 2008-02-07
// Contact: http://ttcn.ericsson.se
module MTP3asp_PortType
{
import from MTP3asp_Types all;
// *************************************************************************
// * MTP3 port type definitions *
// *************************************************************************
// MTP3 port type used by the component up to the MTP3 SAP
// (eg. any component connected to the MTP3 test port)
type port MTP3asp_PT message
{
in ASP_MTP3_TRANSFERind;
in ASP_MTP3_PAUSE;
in ASP_MTP3_RESUME;
in ASP_MTP3_STATUS;
out ASP_MTP3_TRANSFERreq;
} with {extension "provider"}
// MTP3 port type used by the component up to the MTP3 SAP
// (e.g. the distribution component)
type port MTP3asp_SP_PT message
{
in ASP_MTP3_TRANSFERreq;
out ASP_MTP3_TRANSFERind;
}
with {extension "internal"}
//Connecting functions
//----------------------------
external function f_MTP3_SEA_connect
( inout MTP3asp_PT portRef,
in charstring Hostname,
in integer Port,
in charstring EntityName,
in boolean Http //or MPH Port is provided
)return boolean;
external function f_MTP3_SEA_disconnect
( inout MTP3asp_PT portRef
)return boolean;
}//eof module

View File

@ -0,0 +1,324 @@
///////////////////////////////////////////////////////////////////////////////
// //
// Copyright Test Competence Center (TCC) ETH 2006 //
// //
// The copyright to the computer program(s) herein is the property of TCC. //
// The program(s) may be used and/or copied only with the written permission //
// of TCC or in accordance with the terms and conditions stipulated in the //
// agreement/contract under which the program(s) have been supplied //
// //
///////////////////////////////////////////////////////////////////////////////
//
// File: MTP3asp_Types.ttcn
// Description: CCSS7 Message Transfer Part primitive (ASP) definitions
// according to specification ITU-T SS7 MTP3,
// Reference: ITU-T Recommendation Q.704, RFC3332, ANSI T.1.111.1-2001, TCC
// Rev: R11A01
// Prodnr: CNL 113 337
// Updated: 2007-09-17
// Contact: http://ttcn.ericsson.se
//
module MTP3asp_Types.objid
{
itu_t(0) identified_organization (4) etsi(0) reserved(127)
etsi_identified_organization(0) ericsson(5) testing (0)
generic(0) mtp3(0) v96(3) aspDefinitions(3) patchNo(0)
}
{//start of the module
// *************************************************************************
// External encoding/decoding functions
// *************************************************************************
external function enc_MTP3_to_M3UAserver_msg (in MTP3_to_M3UAserver_msg pdu)
return octetstring
with { extension "prototype(convert)"
extension "encode(RAW)"
};
external function dec_MTP3_to_M3UAserver_msg(in octetstring stream)
return MTP3_to_M3UAserver_msg
with { extension "prototype(convert)"
extension "decode(RAW)"
};
// *************************************************************************
// * Type Definitions Part *
// *************************************************************************
group Types
{
group MessageTypes
{
group ASPs
{
//***********************************************************************
//* ASP type definitions *
//* Note, that ASP types shall be TTCN-3 definitions to allow *
//* the use of anytype in the data field *
//***********************************************************************
type record MTP3_Field_sio
{
bitstring ni length(2),
bitstring prio length(2),
bitstring si length(4)
} with { variant "FIELDORDER(msb)";
};
type record ASP_MTP3_TRANSFERind
{
MTP3_Field_sio sio,
integer opc,
integer dpc,
integer sls,
octetstring data
} with { variant (opc) "BYTEORDER(last), FIELDLENGTH(32)";
variant (dpc) "BYTEORDER(last), FIELDLENGTH(32)";
variant (sls) "FIELDLENGTH(8)"
};
type record ASP_MTP3_PAUSE {};
type record ASP_MTP3_RESUME {};
type record ASP_MTP3_STATUS {};
type record ASP_MTP3_TRANSFERreq
{
MTP3_Field_sio sio,
integer opc,
integer dpc,
integer sls,
octetstring data
} with { variant (opc) "BYTEORDER(last), FIELDLENGTH(32)";
variant (dpc) "BYTEORDER(last), FIELDLENGTH(32)";
variant (sls) "FIELDLENGTH(8)"
};
}//end group ASPs
//***********************************************************************
//* Type definition of the message which is sent between MTP3 test port *
//* and SCTP server over TCP. *
//***********************************************************************
group MTP3_SCTPserver
{
type record ASP_REGISTER_M3UA
{
integer ni (0..3),
integer sut_pc,
integer tester_pc,
integer m3ua_version,
charstring entity
} with { variant (ni) "FIELDLENGTH(8)";
variant (sut_pc) "BYTEORDER(last), FIELDLENGTH(32)";
variant (tester_pc) "BYTEORDER(last), FIELDLENGTH(32)";
variant (m3ua_version) "FIELDLENGTH(8)"
};
// Possible values:
// MTP3_to_SCTPserver_data/status:
const integer reg_ok_status := 0;
const integer reg_error_status := 1;
const integer unreg_ok_status := 2;
const integer unreg_error_status := 3;
const integer send_error_status := 5;
const integer kill_status := 255;
// MTP3_to_SCTPserver_data/pause:
const integer SCTP_COMLOST_pause := 0;
const integer M3UA_ASPDN_pause := 1;
const integer M3UA_ASPIA_pause := 2;
// MTP3_to_SCTPserver_data/resume:
const integer ok_resume := 0;
type union MTP3_to_SCTPserver_data
{
ASP_MTP3_TRANSFERind transfer_ind,
ASP_MTP3_TRANSFERreq transfer_req,
ASP_REGISTER_M3UA register,
integer unregister (0..255),
integer status (0..255),
integer pause (0..255),
integer resume (0..255)
}
// MTP3_to_M3UAserver_msg/msgType:
const integer transfer_ind_msgType := 0;
const integer transfer_req_msgType := 1;
const integer register_msgType := 2;
const integer unregister_msgType := 3;
const integer status_msgType := 4;
const integer pause_msgType := 5;
const integer resume_msgType := 6;
type record MTP3_to_M3UAserver_msg
{
integer msgType (0..255),
integer msgLength,
MTP3_to_SCTPserver_data data
} with { variant (data) "CROSSTAG(
transfer_ind, msgType = transfer_ind_msgType;
transfer_req, msgType = transfer_req_msgType;
register, msgType = register_msgType;
unregister, msgType = unregister_msgType;
status, msgType = status_msgType;
pause, msgType = pause_msgType;
resume, msgType = resume_msgType )";
variant (msgLength) "FIELDLENGTH(32)";
variant (msgLength) "LENGTHTO(msgType,msgLength,data)";
variant (msgLength) "BYTEORDER(last)"
};
}//end group MTP3_SCTPserver
}//end group Messagetypes
} with {encode "RAW"}//Types
group Templates
{
group MessageTemplates
{
group ASPtemplates
{
// *******************************************************************
// * ASP template definitions *
// *******************************************************************
// Base templates
// These general templates can be used as an example or as a base
// template for other templates.
template ASP_MTP3_TRANSFERind t_ASP_MTP3_TRANSFERind
(
template MTP3_Field_sio pl_SIO,
template integer pl_OPC,
template integer pl_DPC,
template integer pl_SLS,
template octetstring pl_data
):=
{
sio := pl_SIO,
opc := pl_OPC,
dpc := pl_DPC,
sls := pl_SLS,
data := pl_data
}
template ASP_MTP3_TRANSFERind tr_ASP_MTP3_TRANSFERind_sio
(
template bitstring pl_NI,
template bitstring pl_PRIO,
template bitstring pl_SI,
template integer pl_OPC,
template integer pl_DPC,
template integer pl_SLS,
template octetstring pl_data
):=
{
sio :=
{
ni := pl_NI,
prio := pl_PRIO,
si := pl_SI
},
opc := pl_OPC,
dpc := pl_DPC,
sls := pl_SLS,
data := pl_data
}
template ASP_MTP3_TRANSFERind tr_ASP_MTP3_TRANSFERind :=
{
sio := ?,
opc := ?,
dpc := ?,
sls := ?,
data := ?
}
template ASP_MTP3_TRANSFERreq t_ASP_MTP3_TRANSFERreq
(
MTP3_Field_sio pl_SIO,
integer pl_OPC,
integer pl_DPC,
integer pl_SLS,
octetstring pl_data
):=
{
sio := pl_SIO,
opc := pl_OPC,
dpc := pl_DPC,
sls := pl_SLS,
data := pl_data
}
template ASP_MTP3_TRANSFERreq tr_ASP_MTP3_TRANSFERreq_sio
(
template bitstring pl_NI,
template bitstring pl_PRIO,
template bitstring pl_SI,
template integer pl_OPC,
template integer pl_DPC,
template integer pl_SLS,
template octetstring pl_data
):=
{
sio :=
{
ni := pl_NI,
prio := pl_PRIO,
si := pl_SI
},
opc := pl_OPC,
dpc := pl_DPC,
sls := pl_SLS,
data := pl_data
}
template ASP_MTP3_TRANSFERreq tr_ASP_MTP3_TRANSFERreq :=
{
sio := ?,
opc := ?,
dpc := ?,
sls := ?,
data := ?
}
template ASP_MTP3_TRANSFERind tr_ASP_MTP3_TRANSFERind_stc :=
{
sio :=
{
ni := '00'B,
prio := '00'B,
si := '0000'B
},
opc := 0,
dpc := 0,
sls := 0,
data := ?
}
template ASP_MTP3_TRANSFERreq t_ASP_MTP3_TRANSFERreq_stc
( template octetstring pl_data ):=
{
sio :=
{
ni := '00'B,
prio := '00'B,
si := '0000'B
},
opc := 0,
dpc := 0,
sls := 0,
data := pl_data
}
}//end group ASPtemplates
}//end group Messagetemplates
}//end group Templates
}//end module

View File

@ -0,0 +1,353 @@
# This Makefile was generated by the compiler
# of the TTCN-3 Test Executor version 1.4.pl3
# for Attila Balasko (ethbaat@duna199) on Mon Sep 15 15:48:45 2003
# Copyright 2000-2003 Conformance Center, Ericsson R & D, Hungary
# Please send bug reports and comments to Szabo.Janos@eth.ericsson.se
# The following make commands are available:
# - make, make all Builds the executable test suite.
# - make compile Translates TTCN-3 and ASN.1 modules to C++.
# - make clean Removes all generated files.
# - make dep Creates/updates dependency list.
# - make archive Archives all source files.
#
# Set these variables...
#
# The path of your TTCN-3 Test Executor installation:
# Uncomment this line to override the environment variable.
# TTCN3_DIR =
# Your platform: (SOLARIS, LINUX, FREEBSD or WIN32)
PLATFORM = SOLARIS8
# Your C++ compiler:
CXX = g++
# Flags for the C++ preprocessor (and makedepend as well):
CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)/include -I$(SEA_DIR)/include
# Flags for the C++ compiler:
CXXFLAGS = -Wall
# Flags for the linker:
LDFLAGS =
# Flags for the TTCN-3 and ASN.1 compiler:
COMPILER_FLAGS = -L
# Execution mode: (either ttcn3 or ttcn3-parallel)
TTCN3_LIB = ttcn3-parallel
# The path of your OpenSSL installation:
# If you do not have your own one, leave it unchanged.
OPENSSL_DIR = $(TTCN3_DIR)
# Directory to store the archived source files:
# Note: you can set any directory except ./archive
ARCHIVE_DIR = ./backup
SEA_DIR = /vobs/ttcn/TCC_Releases/Other/SEA_LATEST
#
# You may change these variables. Add your files if necessary...
#
# The TTCN-3 modules needed for this project:
TTCN3_MODULES = mtp3test.ttcn MTP3asp_Types.ttcn MTP3asp_PortType.ttcn
# The ASN.1 modules needed for this project:
ASN1_MODULES =
# C++ source & header files generated by TTCN-3 & ASN.1 compilers:
GENERATED_SOURCES = $(TTCN3_MODULES:.ttcn=.cc)
GENERATED_HEADERS = $(GENERATED_SOURCES:.cc=.hh)
# Source & header files of Test Ports and your other modules:
USER_SOURCES = MTP3asp_PT.cc
USER_HEADERS = MTP3asp_PT.hh
# All object files needed for the executable test suite:
#OBJECTS = mtp3test.o MTP3_ASPs.o general_typedefs.o MTP3user_porttype.o
OBJECTS = $(GENERATED_SOURCES:.cc=.o) $(USER_SOURCES:.cc=.o)
# The name of the executable test suite:
TARGET = mtp3test
#The names of the config files (to archive):
TARGET_CONFIGS = mtp3test_MTP3_ansi2.cfg
#
# Do not modify these unless you know what you are doing...
#
SOLARIS_LIBS = -lxnet
LINUX_LIBS =
FREEBSD_LIBS =
WIN32_LIBS =
#
# Rules for building the executable...
#
all: $(TARGET) ;
$(TARGET): $(OBJECTS)
$(CXX) $(LDFLAGS) -o $@ $(OBJECTS) \
-L$(TTCN3_DIR)/lib -l$(TTCN3_LIB) \
-L$(OPENSSL_DIR)/lib -lcrypto $($(PLATFORM)_LIBS) $(SEA_DIR)/lib/libmphclib.a -lxml2
.cc.o .c.o:
$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $<
$(GENERATED_SOURCES) $(GENERATED_HEADERS): compile
@if [ ! -f $@ ]; then $(RM) compile; $(MAKE) compile; fi
compile: $(TTCN3_MODULES) $(ASN1_MODULES)
$(TTCN3_DIR)/bin/compiler $(COMPILER_FLAGS) $(TTCN3_MODULES) \
$(ASN1_MODULES) - $?
touch $@
clean:
-$(RM) $(TARGET) $(OBJECTS) $(GENERATED_HEADERS) \
$(GENERATED_SOURCES) compile *.log
dep: $(GENERATED_SOURCES)
makedepend $(CPPFLAGS) $(USER_SOURCES) $(GENERATED_SOURCES)
archive:
mkdir -p $(ARCHIVE_DIR)
tar -cvhf - $(TTCN3_MODULES) $(ASN1_MODULES) \
$(USER_HEADERS) $(USER_SOURCES) $(TARGET_CONFIGS) Makefile \
| gzip >$(ARCHIVE_DIR)/$(TARGET)-`date '+%y%m%d-%H%M'`.tgz
#
# Add your rules here if necessary...
#
# DO NOT DELETE
MTP3asp_PT.o: /usr/include/stdio.h /usr/include/iso/stdio_iso.h
MTP3asp_PT.o: /usr/include/sys/feature_tests.h /usr/include/sys/isa_defs.h
MTP3asp_PT.o: /usr/include/sys/va_list.h /usr/include/stdio_tag.h
MTP3asp_PT.o: /usr/include/stdio_impl.h /usr/include/stdlib.h
MTP3asp_PT.o: /usr/include/iso/stdlib_iso.h /usr/include/sys/types.h
MTP3asp_PT.o: /usr/include/sys/machtypes.h /usr/include/sys/int_types.h
MTP3asp_PT.o: /usr/include/sys/select.h /usr/include/sys/time.h
MTP3asp_PT.o: /usr/include/time.h /usr/include/iso/time_iso.h
MTP3asp_PT.o: /usr/include/netinet/in.h /usr/include/sys/stream.h
MTP3asp_PT.o: /usr/include/sys/vnode.h /usr/include/sys/t_lock.h
MTP3asp_PT.o: /usr/include/sys/machlock.h /usr/include/sys/param.h
MTP3asp_PT.o: /usr/include/sys/unistd.h /usr/include/sys/mutex.h
MTP3asp_PT.o: /usr/include/sys/rwlock.h /usr/include/sys/semaphore.h
MTP3asp_PT.o: /usr/include/sys/condvar.h /usr/include/sys/time_impl.h
MTP3asp_PT.o: /usr/include/sys/cred.h /usr/include/sys/uio.h
MTP3asp_PT.o: /usr/include/sys/resource.h /usr/include/vm/seg_enum.h
MTP3asp_PT.o: /usr/include/sys/poll.h /usr/include/sys/strmdep.h
MTP3asp_PT.o: /usr/include/sys/model.h /usr/include/sys/strft.h
MTP3asp_PT.o: /usr/include/sys/byteorder.h /usr/include/netdb.h
MTP3asp_PT.o: /usr/include/sys/socket.h /usr/include/sys/netconfig.h
MTP3asp_PT.o: /usr/include/sys/un.h /usr/include/net/if_dl.h
MTP3asp_PT.o: /usr/include/sys/wait.h /usr/include/sys/siginfo.h
MTP3asp_PT.o: /usr/include/sys/machsig.h /usr/include/sys/procset.h
MTP3asp_PT.o: /usr/include/unistd.h /usr/include/arpa/inet.h
MTP3asp_PT.o: /usr/include/stdarg.h /usr/include/iso/stdarg_iso.h
MTP3asp_PT.o: /usr/include/string.h /usr/include/iso/string_iso.h
MTP3asp_PT.o: MTP3asp_PT.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/TTCN3.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/version.h
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Basetype.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Types.h
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Encdec.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Template.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Integer.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Optional.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/BER.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Logger.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Textbuf.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Error.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Parameters.h
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Float.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Boolean.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_Null.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Objid.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Verdicttype.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Component.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Bitstring.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/RAW.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Hexstring.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Octetstring.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_Any.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Charstring.hh
MTP3asp_PT.o: /usr/include/regex.h
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Universal_charstring.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Struct_of.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Array.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_CharacterString.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_External.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_EmbeddedPDV.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Addfunc.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Timer.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Port.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Module_list.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Snapshot.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Default.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Runtime.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/TEXT.hh
MTP3asp_PT.o: /vobs/ttcn/TCC_Releases/Other/SEA_LATEST/include/mphclib.h
MTP3asp_PT.o: MTP3asp_Types.hh MTP3asp_PortType.hh
mtp3test.o: mtp3test.hh MTP3asp_PortType.hh MTP3asp_Types.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/TTCN3.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/version.h
mtp3test.o: /usr/include/string.h /usr/include/iso/string_iso.h
mtp3test.o: /usr/include/sys/feature_tests.h /usr/include/sys/isa_defs.h
mtp3test.o: /usr/include/stdio.h /usr/include/iso/stdio_iso.h
mtp3test.o: /usr/include/sys/va_list.h /usr/include/stdio_tag.h
mtp3test.o: /usr/include/stdio_impl.h
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Basetype.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Types.h
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Encdec.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Template.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Integer.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Optional.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/BER.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Logger.hh
mtp3test.o: /usr/include/stdlib.h /usr/include/iso/stdlib_iso.h
mtp3test.o: /usr/include/stdarg.h /usr/include/iso/stdarg_iso.h
mtp3test.o: /usr/include/sys/time.h /usr/include/sys/types.h
mtp3test.o: /usr/include/sys/machtypes.h /usr/include/sys/int_types.h
mtp3test.o: /usr/include/sys/select.h /usr/include/time.h
mtp3test.o: /usr/include/iso/time_iso.h
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Textbuf.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Error.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Parameters.h
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Float.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Boolean.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_Null.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Objid.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Verdicttype.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Component.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Bitstring.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/RAW.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Hexstring.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Octetstring.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_Any.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Charstring.hh
mtp3test.o: /usr/include/regex.h
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Universal_charstring.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Struct_of.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Array.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_CharacterString.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_External.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_EmbeddedPDV.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Addfunc.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Timer.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Port.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Module_list.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Snapshot.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Default.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Runtime.hh
mtp3test.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/TEXT.hh
mtp3test.o: MTP3asp_PT.hh
mtp3test.o: /vobs/ttcn/TCC_Releases/Other/SEA_LATEST/include/mphclib.h
MTP3asp_Types.o: MTP3asp_Types.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/TTCN3.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/version.h
MTP3asp_Types.o: /usr/include/string.h /usr/include/iso/string_iso.h
MTP3asp_Types.o: /usr/include/sys/feature_tests.h /usr/include/sys/isa_defs.h
MTP3asp_Types.o: /usr/include/stdio.h /usr/include/iso/stdio_iso.h
MTP3asp_Types.o: /usr/include/sys/va_list.h /usr/include/stdio_tag.h
MTP3asp_Types.o: /usr/include/stdio_impl.h
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Basetype.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Types.h
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Encdec.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Template.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Integer.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Optional.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/BER.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Logger.hh
MTP3asp_Types.o: /usr/include/stdlib.h /usr/include/iso/stdlib_iso.h
MTP3asp_Types.o: /usr/include/stdarg.h /usr/include/iso/stdarg_iso.h
MTP3asp_Types.o: /usr/include/sys/time.h /usr/include/sys/types.h
MTP3asp_Types.o: /usr/include/sys/machtypes.h /usr/include/sys/int_types.h
MTP3asp_Types.o: /usr/include/sys/select.h /usr/include/time.h
MTP3asp_Types.o: /usr/include/iso/time_iso.h
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Textbuf.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Error.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Parameters.h
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Float.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Boolean.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_Null.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Objid.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Verdicttype.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Component.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Bitstring.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/RAW.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Hexstring.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Octetstring.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_Any.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Charstring.hh
MTP3asp_Types.o: /usr/include/regex.h
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Universal_charstring.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Struct_of.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Array.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_CharacterString.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_External.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_EmbeddedPDV.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Addfunc.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Timer.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Port.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Module_list.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Snapshot.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Default.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Runtime.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/TEXT.hh
MTP3asp_PortType.o: MTP3asp_PortType.hh MTP3asp_Types.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/TTCN3.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/version.h
MTP3asp_PortType.o: /usr/include/string.h /usr/include/iso/string_iso.h
MTP3asp_PortType.o: /usr/include/sys/feature_tests.h
MTP3asp_PortType.o: /usr/include/sys/isa_defs.h /usr/include/stdio.h
MTP3asp_PortType.o: /usr/include/iso/stdio_iso.h /usr/include/sys/va_list.h
MTP3asp_PortType.o: /usr/include/stdio_tag.h /usr/include/stdio_impl.h
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Basetype.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Types.h
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Encdec.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Template.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Integer.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Optional.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/BER.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Logger.hh
MTP3asp_PortType.o: /usr/include/stdlib.h /usr/include/iso/stdlib_iso.h
MTP3asp_PortType.o: /usr/include/stdarg.h /usr/include/iso/stdarg_iso.h
MTP3asp_PortType.o: /usr/include/sys/time.h /usr/include/sys/types.h
MTP3asp_PortType.o: /usr/include/sys/machtypes.h /usr/include/sys/int_types.h
MTP3asp_PortType.o: /usr/include/sys/select.h /usr/include/time.h
MTP3asp_PortType.o: /usr/include/iso/time_iso.h
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Textbuf.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Error.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Parameters.h
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Float.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Boolean.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_Null.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Objid.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Verdicttype.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Component.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Bitstring.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/RAW.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Hexstring.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Octetstring.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_Any.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Charstring.hh
MTP3asp_PortType.o: /usr/include/regex.h
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Universal_charstring.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Struct_of.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Array.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_CharacterString.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_External.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/ASN_EmbeddedPDV.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Addfunc.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Timer.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Port.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Module_list.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Snapshot.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Default.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/Runtime.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-1.7.pl2-gcc3.4.6/include/TEXT.hh
MTP3asp_PortType.o: MTP3asp_PT.hh
MTP3asp_PortType.o: /vobs/ttcn/TCC_Releases/Other/SEA_LATEST/include/mphclib.h

View File

@ -0,0 +1,292 @@
////////////////////////////////////////////////////////////////////////////////
//
// Copyright Test Competence Center (TCC) ETH 2003
//
// The copyright to the computer program(s) herein is the property of TCC. //
// The program(s) may be used and/or copied only with the written permission //
// of TCC or in accordance with the terms and conditions stipulated in the //
// agreement/contract under which the program(s) have been supplied
//
///////////////////////////////////////////////////////////////////////////////
//
// File: mtp3test.cc
// Description: basic test for MTP3asp_PT
// Rev: <RnXnn>
// Prodnr: CNL 113 337
// Updated: 2004.06.02
// Contact: http://ttcn.ericsson.se
module mtp3test
{
modulepar
{
//mtp3test specific data:
//OCT1n MTP3_UserPart_SIO;
MTP3_Field_sio MTP3_UserPart_SIO;
integer MTP3_UserPart_OPC,
MTP3_UserPart_DPC,
MTP3_UserPart_SLS
};//modulepar
import from MTP3asp_Types all;
import from MTP3asp_PortType all;
/*************************************
* Components
**************************************/
/*
**************** 1: 2: ************************
* MTP3UserPart * <---------> * MTP3/M3UA in MSC *
**************** (MTP3port)************************
1: MTP3asp_PT MTP3_PCO alias: e.g. CMGW6
*/
type record of MTP3UserPart_CT CompArray;
type component MTC_CT
{
port MTP3asp_PT MTC_PCO;
var MTP3UserPart_CT vc_MTP3UserPart_BSC1A;
var MTP3UserPart_CT vc_MTP3UserPart_BSC1B;
var MTP3UserPart_CT vc_MTP3UserPart_BSC1C;
var MTP3UserPart_CT vc_MTP3UserPart_CMGW3;
var MTP3UserPart_CT vc_MTP3UserPart_CMGW6;
var MTP3UserPart_CT vc_MTP3UserPart_CMGW9;
var MTP3UserPart_CT vc_compArray[6];
};
// Model of MSC:
type component MSC_SCT
{
port MTP3asp_PT BSC1A;
port MTP3asp_PT BSC1B;
port MTP3asp_PT BSC1C;
port MTP3asp_PT CMGW3;
port MTP3asp_PT CMGW6;
port MTP3asp_PT CMGW9;
};
//Model of SS7 MTP3 User Part for Self Test. Only logs the messages
type component MTP3UserPart_CT
{
var ASP_MTP3_TRANSFERind v_MTP3_TRANSFERind;
var ASP_MTP3_TRANSFERreq v_MTP3_TRANSFERreq;
port MTP3asp_PT MTP3_PCO;
// port ... to the upper layers
} // end component type definition
/*
function MTC_delay(integer time) runs on MTC_CT {
timer t:=time;
t.start;
setverdict(none);
alt{ []t.timeout {} }
}
*/
function mtp3_selftest( ) runs on MTP3UserPart_CT
{
timer t_Guard := 6.0;
log( "mtp3_selftest started");
t_Guard.start;
setverdict(none);
alt
{
[] MTP3_PCO.receive ( ASP_MTP3_TRANSFERind:?) -> value v_MTP3_TRANSFERind
{
log("ASP_MTP3_TRANSFERind: received");
setverdict(pass);
repeat;
}
[] MTP3_PCO.receive
{
log("Unknown signal received");
setverdict(pass);
repeat;
}
[] t_Guard.timeout
{ log("timeout reached");}
} //alt
log("mtp3_selftest finished");
}
function f_init( ) runs on MTC_CT
{
vc_MTP3UserPart_BSC1A := MTP3UserPart_CT.create;
vc_MTP3UserPart_BSC1B := MTP3UserPart_CT.create;
vc_MTP3UserPart_BSC1C := MTP3UserPart_CT.create;
vc_MTP3UserPart_CMGW3 := MTP3UserPart_CT.create;
vc_MTP3UserPart_CMGW6 := MTP3UserPart_CT.create;
vc_MTP3UserPart_CMGW9 := MTP3UserPart_CT.create;
map(vc_MTP3UserPart_BSC1A:MTP3_PCO,system:BSC1A);
map(vc_MTP3UserPart_BSC1B:MTP3_PCO,system:BSC1B);
map(vc_MTP3UserPart_BSC1C:MTP3_PCO,system:BSC1C);
map(vc_MTP3UserPart_CMGW3:MTP3_PCO,system:CMGW3);
map(vc_MTP3UserPart_CMGW6:MTP3_PCO,system:CMGW6);
map(vc_MTP3UserPart_CMGW9:MTP3_PCO,system:CMGW9);
log("tc_3 map is ready");
}
function f_start() runs on MTC_CT
{
vc_MTP3UserPart_BSC1A.start( mtp3userpart_test() );
vc_MTP3UserPart_BSC1B.start( mtp3userpart_test() );
vc_MTP3UserPart_BSC1C.start( mtp3userpart_test() );
vc_MTP3UserPart_CMGW3.start( mtp3userpart_test() );
vc_MTP3UserPart_CMGW6.start( mtp3userpart_test() );
vc_MTP3UserPart_CMGW9.start( mtp3userpart_test() );
}
function f_terminate() runs on MTC_CT
{
all component.done;
unmap(vc_MTP3UserPart_BSC1A:MTP3_PCO,system:BSC1A);
unmap(vc_MTP3UserPart_BSC1B:MTP3_PCO,system:BSC1B);
unmap(vc_MTP3UserPart_BSC1C:MTP3_PCO,system:BSC1C);
unmap(vc_MTP3UserPart_CMGW3:MTP3_PCO,system:CMGW3);
unmap(vc_MTP3UserPart_CMGW6:MTP3_PCO,system:CMGW6);
unmap(vc_MTP3UserPart_CMGW9:MTP3_PCO,system:CMGW9);
}
function mtp3userpart_test( ) runs on MTP3UserPart_CT {
timer t_Guard := 5.0;
log( "mtp3userpart_test started");
v_MTP3_TRANSFERreq :=
{
sio := MTP3_UserPart_SIO,
opc := MTP3_UserPart_OPC,
dpc := MTP3_UserPart_DPC,
sls := 0,
data:= '010203040506070809000102030405060708090000010203040506070809000000'O
};
MTP3_PCO.send( v_MTP3_TRANSFERreq );
t_Guard.start;
setverdict(none);
alt
{
[] MTP3_PCO.receive ( ASP_MTP3_TRANSFERind:? ) -> value v_MTP3_TRANSFERind
{
log("ASP_MTP3_TRANSFERind: received");
setverdict(pass);
repeat;
}
[] MTP3_PCO.receive
{
log("Unknown signal received");
setverdict(pass);
repeat;
}
[] t_Guard.timeout
{
//setverdict(inconc);
log("timeout reached");
}
} //alt
log("mtp3userpart_test finished");
}
testcase tc_1() runs on MTC_CT system MSC_SCT
{
log ("tc_1 started");
var MTP3UserPart_CT vc_MTP3userpart;
vc_MTP3userpart := MTP3UserPart_CT.create;
map(vc_MTP3userpart:MTP3_PCO, system:CMGW6);
log("map is ready");
vc_MTP3userpart.start( mtp3_selftest() );
//MTC_delay(6);
vc_MTP3userpart.done;
unmap(vc_MTP3userpart:MTP3_PCO, system:CMGW6);
log ("tc_1 finished");
}
// TC2: Testcase sending one simple message "MTP-transfer-req" and waiting
testcase tc_2() runs on MTC_CT system MSC_SCT
{
log ("tc_2 started");
var MTP3UserPart_CT vc_MTP3userpart;
vc_MTP3userpart := MTP3UserPart_CT.create;
map(vc_MTP3userpart:MTP3_PCO, system:CMGW6);
log("map is ready");
vc_MTP3userpart.start( mtp3userpart_test() );
//MTC_delay(6);
vc_MTP3userpart.done;
unmap(vc_MTP3userpart:MTP3_PCO, system:CMGW6);
log ("tc_2 finished");
}
testcase tc_3() runs on MTC_CT system MSC_SCT
{
log ("tc_3 started");
vc_MTP3UserPart_BSC1A := MTP3UserPart_CT.create;
vc_MTP3UserPart_BSC1B := MTP3UserPart_CT.create;
vc_MTP3UserPart_BSC1C := MTP3UserPart_CT.create;
vc_MTP3UserPart_CMGW3 := MTP3UserPart_CT.create;
vc_MTP3UserPart_CMGW6 := MTP3UserPart_CT.create;
vc_MTP3UserPart_CMGW9 := MTP3UserPart_CT.create;
map(vc_MTP3UserPart_BSC1A:MTP3_PCO,system:BSC1A);
map(vc_MTP3UserPart_BSC1B:MTP3_PCO,system:BSC1B);
map(vc_MTP3UserPart_BSC1C:MTP3_PCO,system:BSC1C);
map(vc_MTP3UserPart_CMGW3:MTP3_PCO,system:CMGW3);
map(vc_MTP3UserPart_CMGW6:MTP3_PCO,system:CMGW6);
map(vc_MTP3UserPart_CMGW9:MTP3_PCO,system:CMGW9);
log("tc_3 map is ready");
vc_MTP3UserPart_BSC1A.start( mtp3userpart_test() );
vc_MTP3UserPart_BSC1B.start( mtp3userpart_test() );
vc_MTP3UserPart_BSC1C.start( mtp3userpart_test() );
vc_MTP3UserPart_CMGW3.start( mtp3userpart_test() );
vc_MTP3UserPart_CMGW6.start( mtp3userpart_test() );
vc_MTP3UserPart_CMGW9.start( mtp3userpart_test() );
//MTC_delay(6);
all component.done;
unmap(vc_MTP3UserPart_BSC1A:MTP3_PCO,system:BSC1A);
unmap(vc_MTP3UserPart_BSC1B:MTP3_PCO,system:BSC1B);
unmap(vc_MTP3UserPart_BSC1C:MTP3_PCO,system:BSC1C);
unmap(vc_MTP3UserPart_CMGW3:MTP3_PCO,system:CMGW3);
unmap(vc_MTP3UserPart_CMGW6:MTP3_PCO,system:CMGW6);
unmap(vc_MTP3UserPart_CMGW9:MTP3_PCO,system:CMGW9);
log ("tc_3 finished");
}
// tc_4 is the same as tc_3 but organized by arrays and cycles
testcase tc_4() runs on MTC_CT system MSC_SCT
{
f_init();
f_start();
f_terminate();
}
testcase tc_5() runs on MTC_CT
{
var ASP_MTP3_TRANSFERreq vl_MTP3_TRANSFERreq :=
{ sio :=
{ ni := '00'B,
prio := '00'B,
si := '0000'B
},
opc := 0,
dpc := 0,
sls := 0,
data:= '010203040506070809000102030405060708090000010203040506070809000000'O
};
map(self:MTC_PCO,system:MTC_PCO);
MTC_PCO.send(vl_MTP3_TRANSFERreq);
MTC_PCO.receive;
unmap(self:MTC_PCO,system:MTC_PCO);
}
control
{
execute (tc_1());
}
}//module

View File

@ -0,0 +1,75 @@
[LOGGING]
#FileName := "mtp3test_MTP3_ansi2.cfg"
FileMask := LOG_ALL | TTCN_DEBUG | TTCN_MATCHING
#ConsoleMask := LOG_ALL | TTCN_DEBUG | TTCN_MATCHING
[EXECUTE]
#Loopback
#mtp3test.TC0
#SEA test cases, LOOP := OFF
#mtp3test.tc_1
#mtp3test.tc_2
#mtp3test.tc_3
mtp3test.tc_4
[TESTPORT_PARAMETERS]
// *******************************************************
// * DO NOT FORGET TO SET THE FOLLOWING TWO LINE TO YOUR SEA *
// *******************************************************
system.*.Hostname := "zaire" //sea server name
system.*.HttpPort := "5000" //sea http port
system.*.Loop:= "ON"
system.*.Filter:= "OFF"
system.*.MTP3ServiceType := "MTP3itu" // ["MTP3itu" (default)|"MTP3ansi" | "M3UA" | "MTP3ttc" | "MTP3mpt" ]
system.CMGW3.EntityName := "S7ST-0" //device name to connect
system.CMGW3.NI:= "2"
system.CMGW3.SUT_Pc:= "461088"
system.CMGW3.TESTER_Pc:= "461089"
system.CMGW3.M3UA_version:= "1"
system.CMGW6.EntityName := "S7ST-1" //device name to connect
system.CMGW6.NI:= "2"
system.CMGW6.SUT_Pc:= "461086" // 07-09-30 =0x07091E see command: s7stp:st=s7stg-0&&-32;
system.CMGW6.TESTER_Pc:= "461087" //07-09-31=0x07091F
system.CMGW6.M3UA_version:= "1"
system.CMGW9.EntityName := "S7ST-2" //device name to connect
system.CMGW9.NI:= "2"
system.CMGW9.SUT_Pc:= "461088"
system.CMGW9.TESTER_Pc:= "461089"
system.CMGW9.M3UA_version:= "1"
system.BSC1A.EntityName := "S7ST-3" //device name to connect
system.BSC1A.NI:= "2"
system.BSC1A.SUT_Pc:= "461088"
system.BSC1A.TESTER_Pc:= "461089"
system.BSC1A.M3UA_version:= "1"
system.BSC1B.EntityName := "S7ST-4" //device name to connect
system.BSC1B.NI:= "2"
system.BSC1B.SUT_Pc:= "461088"
system.BSC1B.TESTER_Pc:= "461089"
system.BSC1B.M3UA_version:= "1"
system.BSC1C.EntityName := "S7ST-5" //device name to connect
system.BSC1C.NI:= "2"
system.BSC1C.SUT_Pc:= "461088"
system.BSC1C.TESTER_Pc:= "461089"
system.BSC1C.M3UA_version:= "1"
[MODULE_PARAMETERS]
// MTP3_user_part for test suite 'mtp3userpart_test' in mtp3test.ttcn
MTP3_UserPart_SIO :=
{
ni := '10'B,
prio := '00'B,
si := '1110'B
};
MTP3_UserPart_OPC := 461087 // =0x07091E
MTP3_UserPart_DPC := 461086 //
MTP3_UserPart_SLS := 0;
[MAIN_CONTROLLER]
TCPPort := 9999
NumHCs := 1

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,20 @@
///////////////////////////////////////////////////////////////////////////////
//
// Copyright Test Competence Center (TCC) ETH 2007
// //
// The copyright to the computer program(s) herein is the property of TCC. //
// The program(s) may be used and/or copied only with the written permission //
// of TCC or in accordance with the terms and conditions stipulated in the //
// agreement/contract under which the program(s) have been supplied //
///////////////////////////////////////////////////////////////////////////////
//
// File: MTP3asp_EncDec.cc
// Rev: R11A01
// Prodnr: CNL 113 337
// Updated: 2007-09-17
// Contact: http://ttcn.ericsson.se
///////////////////////////////////////////////////////////////////////////////
// Please note: Because the encoder/decoder functions are generated by the
// TITAN, the MTP3asp_EncDec.cc is kept only for compatibility issue and
// should be removed from the projects.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,249 @@
///////////////////////////////////////////////////////////////////////////////
// //
// Copyright Test Competence Center (TCC) ETH 2009 //
// //
// The copyright to the computer program(s) herein is the property of TCC. //
// The program(s) may be used and/or copied only with the written permission //
// of TCC or in accordance with the terms and conditions stipulated in the //
// agreement/contract under which the program(s) have been supplied //
// //
///////////////////////////////////////////////////////////////////////////////
//
// File: MTP3asp_PT.hh
// Description: Implementation of port MTP3asp_PT
// This test port is written to connect ttcn to SEA
// according to specification ITU-T SS7 MTP3, ANSI, TCC, MPT, IETF,
// Reference: ITU-T Recommendation Q.704, RFC3332
// Rev: R11A01
// Prodnr: CNL 113 337
// Updated: 2009-04-03
// Contact: http://ttcn.ericsson.se
#ifndef MTP3asp_PT_HH
#define MTP3asp_PT_HH
#include <TTCN3.hh>
#ifdef TARGET_TEST
#include "Abstract_Socket.hh"
#endif
#ifndef TARGET_TEST
#include "mphclib.h"
#endif
#define MAXSIZE 1532 //+32 needed for M3UA
#define MTP3_ON 1
#define MTP3_OFF 0
namespace MTP3asp__Types {
class ASP__MTP3__TRANSFERind;
class ASP__MTP3__PAUSE;
class ASP__MTP3__RESUME;
class ASP__MTP3__STATUS;
class ASP__MTP3__TRANSFERreq;
}
namespace MTP3asp__PortType {
class MTP3asp__PT_PROVIDER : public PORT
#ifdef TARGET_TEST
, public Abstract_Socket
#endif
{
protected:
// pointer to member: user_map/unmap methods
typedef void (MTP3asp__PT_PROVIDER::*usermap_t)(const char *system_port);
// pointer to member: user_connect methods
typedef void (MTP3asp__PT_PROVIDER::*userconnect_t)();
// pointer to member: interpreter methods
#ifndef TARGET_TEST
typedef void (MTP3asp__PT_PROVIDER::*interpreter_t)(unsigned char* inbuffer,int length,int from_channel,CONNECTION* con);
void M3UA_interpreter(unsigned char* inbuffer,int length,int from_channel,CONNECTION* con);
void M3UA_user_map(const char *system_port);
void M3UA_user_connect();
void M3UA_user_unmap(const char *system_port);
void MTP3_interpreter(unsigned char* inbuffer,int length,int from_channel,CONNECTION* con);
void MTP3_user_map(const char *system_port); // common for MTP3 ITU and MTP3 ANSI
void MTP3_user_connect();
void MTP3_user_unmap(const char *system_port);// common for MTP3 ITU and MTP3 ANSI
void STC_user_connect();
void STC_interpreter(unsigned char* inbuffer,int length,int from_channel,CONNECTION* con);
void STC_user_map(const char *system_port);
void STC_user_unmap(const char *system_port);
#endif
#ifdef TARGET_TEST
//Map and unmap for target
void Target_user_map(const char *system_port);
void Target_user_unmap(const char *system_port);
void TargetSTC_user_map(const char *system_port);
#endif
public:
MTP3asp__PT_PROVIDER(const char *par_port_name=NULL);
~MTP3asp__PT_PROVIDER();
typedef enum { MTP3itu, MTP3ansi, MTP3ttc, MTP3mpt, M3UA, TargetM3UA, MTP3bttc,MTP3iup, STC, TargetSTC } MTPServiceType_t ;
MTPServiceType_t MTPServiceType ; // ctor default is MTP3itu
void set_parameter(const char *parameter_name, const char *parameter_value);
void error(const char *msg, ...);
void log(const char *msg, ...);
#ifndef TARGET_TEST
void user_connect();
void set_channel(int chnl) {channel=chnl;};
void MTP3_open_channel(boolean http);
void MTP3_close_connection();
boolean wait_for_open();
int conn_state;
interpreter_t interpreter; // pointer to interpreter members, ctor default is MTP3_ITU_interpreter
void doInterpret(unsigned char* inbuffer,int length,int from_channel,CONNECTION* con)
{ (this->*interpreter)(inbuffer,length,from_channel, con); }
#endif
//parameter handling
boolean dynamicConnection, connectionUp;
char *hostname;
int httpport;
char *entityname;
int MTP_fd;
protected:
void user_map(const char *system_port);
void user_unmap(const char *system_port);
void debuglog(const char *msg, ...);
void warn(const char *msg, ...);
void close_log_event();
usermap_t user_map_p ; // pointer to user_map members, default is MTP3itu
usermap_t user_unmap_p; // pointer to user_unmap members, default is MTP3itu
userconnect_t user_connect_p;
void user_start();
void user_stop();
void outgoing_send(const MTP3asp__Types::ASP__MTP3__TRANSFERreq& send_par);
virtual void incoming_message
(const MTP3asp__Types::ASP__MTP3__TRANSFERind& incoming_par) = 0;
virtual void incoming_message
(const MTP3asp__Types::ASP__MTP3__PAUSE& incoming_par) = 0;
virtual void incoming_message
(const MTP3asp__Types::ASP__MTP3__RESUME& incoming_par) = 0;
virtual void incoming_message
(const MTP3asp__Types::ASP__MTP3__STATUS& incoming_par) = 0;
#ifndef TARGET_TEST
void encode_56bLSB_int(unsigned char *to, unsigned long long int from);
long long unsigned int decode_56bLSB_int(const unsigned char *from);
void encode_48bLSB_int(unsigned char *to, unsigned long long int from);
long long unsigned int decode_48bLSB_int(const unsigned char *from);
void encode_40bLSB_int(unsigned char *to, unsigned long long int from);
long long unsigned int decode_40bLSB_int(const unsigned char *from);
void encode_32bLSB_int(unsigned char *to, unsigned int from);
unsigned int decode_32bLSB_int(const unsigned char *from);
void encode_24bLSB_int(unsigned char *to, int from);
unsigned int decode_24bLSB_int(const unsigned char *from);
void encode_16bLSB_int(unsigned char *to, int from);
unsigned int decode_16bLSB_int(const unsigned char *from);
void encode_32b_int(unsigned char *to, unsigned int from);
unsigned int decode_32b_int(const unsigned char *from);
void encode_24b_int(unsigned char *to, unsigned int from);
unsigned int decode_24b_int(const unsigned char *from);
void encode_16b_int(unsigned char *to, int from);
unsigned int decode_16b_int(const unsigned char *from);
void skip_par_after_tag(unsigned char* inbuffer, int &offset);
void GetPointCodes(unsigned int &sls,unsigned int &opc,unsigned int &dpc, unsigned char* msg);
void GetPointCodesIUP(unsigned int &cic,unsigned int &opc,unsigned int &dpc, unsigned char* msg);
void SetPointCodes(unsigned int sls, unsigned int opc, unsigned int dpc, unsigned char* msg);
void SetPointCodesIUP(unsigned int cic, unsigned int opc, unsigned int dpc, unsigned char* msg);
int ChangePointCodes(unsigned char* outbuff, unsigned char *inbuff, int len);
void Set_M3UA_SingleAPC(unsigned int pc, unsigned char* apc_par); //for ITU and ANSI
bool Check_M3UA_SingleITUAPC(unsigned int pc, unsigned char* apc_par);
void Send_DAVA_DUNA_to_APCinDAUD(unsigned int dava_sep, unsigned char* inbuffer, int &offset );
void processing_MTP3_management_msg(unsigned char* inbuff,int len);
void processing_MTP3_test_msg(unsigned char* inbuff,int len);
int processing_M3UA_MGMT_msg(unsigned char* inbuff,int len);
int processing_M3UA_Transfer_msg(unsigned char* inbuff,int len);
int processing_M3UA_SSNM_msg(unsigned char* inbuff,int len);
int processing_M3UA_ASPSM_msg(unsigned char* inbuff,int len);
int processing_M3UA_ASPTM_msg(unsigned char* inbuff,int len);
int processing_M3UA_RKM_msg(unsigned char* inbuff,int len);
int processing_M3UA_unsupported_msg_class(unsigned char* inbuff,int len);
int Check_PcMatch(unsigned int opc, unsigned int dpc, unsigned char *buff);
void send_msg(unsigned char *outbuff, int length);
void send_M3UA_error_msg(unsigned int error_code, unsigned int add_par );
void Check_TestPort_Variables();
void Check_TestPort_Variables_STC();
#endif
#ifdef TARGET_TEST
void Check_Target_TestPort_Variables();
void Check_Target_TestPort_Variables_STC();
//Functions for abstract socket handling
void message_incoming(const unsigned char*, int length, int client_id = -1);
void Add_Fd_Read_Handler(int fd) { Handler_Add_Fd_Read(fd); }
void Add_Fd_Write_Handler(int fd) { Handler_Add_Fd_Write(fd); }
void Remove_Fd_Read_Handler(int fd) { Handler_Remove_Fd_Read(fd); }
void Remove_Fd_Write_Handler(int fd) { Handler_Remove_Fd_Write(fd); }
void Remove_Fd_All_Handlers(int fd) { Handler_Remove_Fd(fd); }
void Handler_Uninstall() { Uninstall_Handler(); }
void Timer_Set_Handler(double call_interval, boolean is_timeout = TRUE,
boolean call_anyway = TRUE, boolean is_periodic = TRUE) {
Handler_Set_Timer(call_interval, is_timeout, call_anyway, is_periodic);
}
const char* local_address_name() { return "localIPAddr";}
const char* local_port_name() { return "localPort";}
const char* remote_address_name(){ return "M3UAtarget_TCP_IPAddr";}
const char* remote_port_name() { return "M3UAtarget_TCP_Port";}
const char* halt_on_connection_reset_name(){ return "halt_on_connection_reset";}
const char* server_mode_name() { return "client_mode";}
const char* socket_debugging_name(){ return "socket_debugging";}
const char* nagling_name() { return "nagling";}
const char* server_backlog_name(){ return "server_backlog";}
const PacketHeaderDescr* Get_Header_Descriptor() const {return header_descr;}
#endif
private:
void Handle_Fd_Event(int fd, boolean is_readable, boolean is_writable, boolean is_error);
void Handle_Timeout(double time_since_last_call);
unsigned char M3UA_version;
int channel;
unsigned char buffer[MAXSIZE];
char *destinationname;
char *iid_string;
boolean Ni_is_set;
int Loop,Filter,Sut_Pc,Tester_Pc;
typedef enum { AssocDown, AssocEstabl, AssocInac, AssocActive} M3UAStateType_t;
M3UAStateType_t M3UAState;
int mtp3_ni; // network indicator in case of MTP3
int stored_bttc_octet; // used for storage of an additional first byte in MTP3bttc
#ifndef TARGET_TEST
MPH_IID iid;
CONNECTION *myConnection;
#endif
bool forward_resume, forward_pause, forward_status;
#ifdef TARGET_TEST
int Tcp_is_up;
PacketHeaderDescr *header_descr;
bool is_packet_hdr_length_offset, is_packet_hdr_nr_bytes_in_length,
is_packet_hdr_byte_order;
int packet_hdr_length_offset, packet_hdr_nr_bytes_in_length;
PacketHeaderDescr::HeaderByteOrder packet_hdr_byte_order;
#endif
};
extern BOOLEAN f__MTP3__SEA__connect__extern
(MTP3asp__PT_PROVIDER& portRef, const CHARSTRING& Hostname,
const INTEGER& Port, const CHARSTRING& EntityName,const BOOLEAN& Http);
extern BOOLEAN f__MTP3__SEA__disconnect__extern
(MTP3asp__PT_PROVIDER& portRef);
}
#endif

View File

@ -0,0 +1,66 @@
///////////////////////////////////////////////////////////////////////////////
// //
// Copyright Test Competence Center (TCC) ETH 2008 //
// //
// The copyright to the computer program(s) herein is the property of TCC. //
// The program(s) may be used and/or copied only with the written permission //
// of TCC or in accordance with the terms and conditions stipulated in the //
// agreement/contract under which the program(s) have been supplied //
// //
///////////////////////////////////////////////////////////////////////////////
//
// File: MTP3asp_PortType.ttcn
// Reference: ITU-T Recommendation Q.704, RFC3332
// Rev: R11A01
// Prodnr: CNL 113 337
// Updated: 2008-02-07
// Contact: http://ttcn.ericsson.se
module MTP3asp_PortType
{
import from MTP3asp_Types all;
// *************************************************************************
// * MTP3 port type definitions *
// *************************************************************************
// MTP3 port type used by the component up to the MTP3 SAP
// (eg. any component connected to the MTP3 test port)
type port MTP3asp_PT message
{
in ASP_MTP3_TRANSFERind;
in ASP_MTP3_PAUSE;
in ASP_MTP3_RESUME;
in ASP_MTP3_STATUS;
out ASP_MTP3_TRANSFERreq;
} with {extension "provider internal"} //!!ethlel
// MTP3 port type used by the component up to the MTP3 SAP
// (e.g. the distribution component)
type port MTP3asp_SP_PT message
{
in ASP_MTP3_TRANSFERreq;
out ASP_MTP3_TRANSFERind;
}
with {extension "internal"}
//Connecting functions
//----------------------------
/*
ethlel
external function f_MTP3_SEA_connect
( inout MTP3asp_PT portRef,
in charstring Hostname,
in integer Port,
in charstring EntityName,
in boolean Http //or MPH Port is provided
)return boolean;
external function f_MTP3_SEA_disconnect
( inout MTP3asp_PT portRef
)return boolean;
*/
}//eof module

View File

@ -0,0 +1,324 @@
///////////////////////////////////////////////////////////////////////////////
// //
// Copyright Test Competence Center (TCC) ETH 2006 //
// //
// The copyright to the computer program(s) herein is the property of TCC. //
// The program(s) may be used and/or copied only with the written permission //
// of TCC or in accordance with the terms and conditions stipulated in the //
// agreement/contract under which the program(s) have been supplied //
// //
///////////////////////////////////////////////////////////////////////////////
//
// File: MTP3asp_Types.ttcn
// Description: CCSS7 Message Transfer Part primitive (ASP) definitions
// according to specification ITU-T SS7 MTP3,
// Reference: ITU-T Recommendation Q.704, RFC3332, ANSI T.1.111.1-2001, TCC
// Rev: R11A01
// Prodnr: CNL 113 337
// Updated: 2007-09-17
// Contact: http://ttcn.ericsson.se
//
module MTP3asp_Types.objid
{
itu_t(0) identified_organization (4) etsi(0) reserved(127)
etsi_identified_organization(0) ericsson(5) testing (0)
generic(0) mtp3(0) v96(3) aspDefinitions(3) patchNo(0)
}
{//start of the module
// *************************************************************************
// External encoding/decoding functions
// *************************************************************************
external function enc_MTP3_to_M3UAserver_msg (in MTP3_to_M3UAserver_msg pdu)
return octetstring
with { extension "prototype(convert)"
extension "encode(RAW)"
};
external function dec_MTP3_to_M3UAserver_msg(in octetstring stream)
return MTP3_to_M3UAserver_msg
with { extension "prototype(convert)"
extension "decode(RAW)"
};
// *************************************************************************
// * Type Definitions Part *
// *************************************************************************
group Types
{
group MessageTypes
{
group ASPs
{
//***********************************************************************
//* ASP type definitions *
//* Note, that ASP types shall be TTCN-3 definitions to allow *
//* the use of anytype in the data field *
//***********************************************************************
type record MTP3_Field_sio
{
bitstring ni length(2),
bitstring prio length(2),
bitstring si length(4)
} with { variant "FIELDORDER(msb)";
};
type record ASP_MTP3_TRANSFERind
{
MTP3_Field_sio sio,
integer opc,
integer dpc,
integer sls,
octetstring data
} with { variant (opc) "BYTEORDER(last), FIELDLENGTH(32)";
variant (dpc) "BYTEORDER(last), FIELDLENGTH(32)";
variant (sls) "FIELDLENGTH(8)"
};
type record ASP_MTP3_PAUSE {};
type record ASP_MTP3_RESUME {};
type record ASP_MTP3_STATUS {};
type record ASP_MTP3_TRANSFERreq
{
MTP3_Field_sio sio,
integer opc,
integer dpc,
integer sls,
octetstring data
} with { variant (opc) "BYTEORDER(last), FIELDLENGTH(32)";
variant (dpc) "BYTEORDER(last), FIELDLENGTH(32)";
variant (sls) "FIELDLENGTH(8)"
};
}//end group ASPs
//***********************************************************************
//* Type definition of the message which is sent between MTP3 test port *
//* and SCTP server over TCP. *
//***********************************************************************
group MTP3_SCTPserver
{
type record ASP_REGISTER_M3UA
{
integer ni (0..3),
integer sut_pc,
integer tester_pc,
integer m3ua_version,
charstring entity
} with { variant (ni) "FIELDLENGTH(8)";
variant (sut_pc) "BYTEORDER(last), FIELDLENGTH(32)";
variant (tester_pc) "BYTEORDER(last), FIELDLENGTH(32)";
variant (m3ua_version) "FIELDLENGTH(8)"
};
// Possible values:
// MTP3_to_SCTPserver_data/status:
const integer reg_ok_status := 0;
const integer reg_error_status := 1;
const integer unreg_ok_status := 2;
const integer unreg_error_status := 3;
const integer send_error_status := 5;
const integer kill_status := 255;
// MTP3_to_SCTPserver_data/pause:
const integer SCTP_COMLOST_pause := 0;
const integer M3UA_ASPDN_pause := 1;
const integer M3UA_ASPIA_pause := 2;
// MTP3_to_SCTPserver_data/resume:
const integer ok_resume := 0;
type union MTP3_to_SCTPserver_data
{
ASP_MTP3_TRANSFERind transfer_ind,
ASP_MTP3_TRANSFERreq transfer_req,
ASP_REGISTER_M3UA register,
integer unregister (0..255),
integer status (0..255),
integer pause (0..255),
integer resume (0..255)
}
// MTP3_to_M3UAserver_msg/msgType:
const integer transfer_ind_msgType := 0;
const integer transfer_req_msgType := 1;
const integer register_msgType := 2;
const integer unregister_msgType := 3;
const integer status_msgType := 4;
const integer pause_msgType := 5;
const integer resume_msgType := 6;
type record MTP3_to_M3UAserver_msg
{
integer msgType (0..255),
integer msgLength,
MTP3_to_SCTPserver_data data
} with { variant (data) "CROSSTAG(
transfer_ind, msgType = transfer_ind_msgType;
transfer_req, msgType = transfer_req_msgType;
register, msgType = register_msgType;
unregister, msgType = unregister_msgType;
status, msgType = status_msgType;
pause, msgType = pause_msgType;
resume, msgType = resume_msgType )";
variant (msgLength) "FIELDLENGTH(32)";
variant (msgLength) "LENGTHTO(msgType,msgLength,data)";
variant (msgLength) "BYTEORDER(last)"
};
}//end group MTP3_SCTPserver
}//end group Messagetypes
} with {encode "RAW"}//Types
group Templates
{
group MessageTemplates
{
group ASPtemplates
{
// *******************************************************************
// * ASP template definitions *
// *******************************************************************
// Base templates
// These general templates can be used as an example or as a base
// template for other templates.
template ASP_MTP3_TRANSFERind t_ASP_MTP3_TRANSFERind
(
template MTP3_Field_sio pl_SIO,
template integer pl_OPC,
template integer pl_DPC,
template integer pl_SLS,
template octetstring pl_data
):=
{
sio := pl_SIO,
opc := pl_OPC,
dpc := pl_DPC,
sls := pl_SLS,
data := pl_data
}
template ASP_MTP3_TRANSFERind tr_ASP_MTP3_TRANSFERind_sio
(
template bitstring pl_NI,
template bitstring pl_PRIO,
template bitstring pl_SI,
template integer pl_OPC,
template integer pl_DPC,
template integer pl_SLS,
template octetstring pl_data
):=
{
sio :=
{
ni := pl_NI,
prio := pl_PRIO,
si := pl_SI
},
opc := pl_OPC,
dpc := pl_DPC,
sls := pl_SLS,
data := pl_data
}
template ASP_MTP3_TRANSFERind tr_ASP_MTP3_TRANSFERind :=
{
sio := ?,
opc := ?,
dpc := ?,
sls := ?,
data := ?
}
template ASP_MTP3_TRANSFERreq t_ASP_MTP3_TRANSFERreq
(
MTP3_Field_sio pl_SIO,
integer pl_OPC,
integer pl_DPC,
integer pl_SLS,
octetstring pl_data
):=
{
sio := pl_SIO,
opc := pl_OPC,
dpc := pl_DPC,
sls := pl_SLS,
data := pl_data
}
template ASP_MTP3_TRANSFERreq tr_ASP_MTP3_TRANSFERreq_sio
(
template bitstring pl_NI,
template bitstring pl_PRIO,
template bitstring pl_SI,
template integer pl_OPC,
template integer pl_DPC,
template integer pl_SLS,
template octetstring pl_data
):=
{
sio :=
{
ni := pl_NI,
prio := pl_PRIO,
si := pl_SI
},
opc := pl_OPC,
dpc := pl_DPC,
sls := pl_SLS,
data := pl_data
}
template ASP_MTP3_TRANSFERreq tr_ASP_MTP3_TRANSFERreq :=
{
sio := ?,
opc := ?,
dpc := ?,
sls := ?,
data := ?
}
template ASP_MTP3_TRANSFERind tr_ASP_MTP3_TRANSFERind_stc :=
{
sio :=
{
ni := '00'B,
prio := '00'B,
si := '0000'B
},
opc := 0,
dpc := 0,
sls := 0,
data := ?
}
template ASP_MTP3_TRANSFERreq t_ASP_MTP3_TRANSFERreq_stc
( template octetstring pl_data ):=
{
sio :=
{
ni := '00'B,
prio := '00'B,
si := '0000'B
},
opc := 0,
dpc := 0,
sls := 0,
data := pl_data
}
}//end group ASPtemplates
}//end group Messagetemplates
}//end group Templates
}//end module

View File

@ -0,0 +1,87 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright Test Competence Center (TCC) ETH 2012
The copyright to the computer program(s) herein is the property of TCC.
The program(s) may be used and/or copied only with the written permission
of TCC or in accordance with the terms and conditions stipulated in the
agreement/contract under which the program(s) has been supplied.
File: SCCP_CNL113341.tpd
Description: tpd project file
Rev: R6A05
Prodnr: CNL 113 341
Updated: 2012-11-23
Contact: http://ttcn.ericsson.se
-->
<TITAN_Project_File_Information version="1.0">
<ProjectName>SCCP_CNL113341</ProjectName>
<ReferencedProjects>
<ReferencedProject name="MTP3asp_CNL113337" projectLocationURI="../../TestPorts/MTP3asp_CNL113337/MTP3asp_CNL113337.tpd"/>
<ReferencedProject name="ProtocolModules_Common" projectLocationURI="../../ProtocolModules/COMMON/ProtocolModules_Common.tpd"/>
</ReferencedProjects>
<Folders>
<FolderResource projectRelativePath="doc" relativeURI="doc"/>
<FolderResource projectRelativePath="src" relativeURI="src"/>
</Folders>
<Files>
<FileResource projectRelativePath="doc/SCCP_CNL113341_FS.pdf" relativeURI="doc/SCCP_CNL113341_FS.pdf"/>
<FileResource projectRelativePath="doc/SCCP_CNL113341_PRI.pdf" relativeURI="doc/SCCP_CNL113341_PRI.pdf"/>
<FileResource projectRelativePath="doc/SCCP_CNL113341_UG.pdf" relativeURI="doc/SCCP_CNL113341_UG.pdf"/>
<FileResource projectRelativePath="src/SCCP_Emulation.ttcn" relativeURI="src/SCCP_Emulation.ttcn"/>
<FileResource projectRelativePath="src/SCCP_EncDec.cc" relativeURI="src/SCCP_EncDec.cc"/>
<FileResource projectRelativePath="src/SCCP_Mapping.ttcnpp" relativeURI="src/SCCP_Mapping.ttcnpp"/>
<FileResource projectRelativePath="src/SCCP_Types.ttcn" relativeURI="src/SCCP_Types.ttcn"/>
<FileResource projectRelativePath="src/SCCPasp_Types.ttcn" relativeURI="src/SCCPasp_Types.ttcn"/>
</Files>
<ActiveConfiguration>USE_MTP3_DISTRIBUTOR</ActiveConfiguration>
<Configurations>
<Configuration name="Default">
<ProjectProperties>
<MakefileSettings>
<generateInternalMakefile>true</generateInternalMakefile>
<GNUMake>true</GNUMake>
<incrementalDependencyRefresh>true</incrementalDependencyRefresh>
<targetExecutable>bin/SCCP_CNL113341</targetExecutable>
<buildLevel>Level 3 - Creating object files with dependency update</buildLevel>
</MakefileSettings>
<LocalBuildSettings>
<workingDirectory>bin</workingDirectory>
</LocalBuildSettings>
</ProjectProperties>
</Configuration>
<Configuration name="USE_MTP3_DISTRIBUTOR">
<ProjectProperties>
<MakefileSettings>
<generateInternalMakefile>true</generateInternalMakefile>
<GNUMake>true</GNUMake>
<incrementalDependencyRefresh>true</incrementalDependencyRefresh>
<targetExecutable>bin/SCCP_CNL113341</targetExecutable>
<TTCN3preprocessorDefines>
<listItem>USE_MTP3_DISTRIBUTOR</listItem>
</TTCN3preprocessorDefines>
<buildLevel>Level 3 - Creating object files with dependency update</buildLevel>
</MakefileSettings>
<LocalBuildSettings>
<workingDirectory>bin</workingDirectory>
</LocalBuildSettings>
</ProjectProperties>
</Configuration>
<Configuration name="NO USE_MTP3_DISTRIBUTOR">
<ProjectProperties>
<MakefileSettings>
<generateInternalMakefile>true</generateInternalMakefile>
<GNUMake>true</GNUMake>
<incrementalDependencyRefresh>true</incrementalDependencyRefresh>
<targetExecutable>bin/SCCP_CNL113341</targetExecutable>
<buildLevel>Level 3 - Creating object files with dependency update</buildLevel>
</MakefileSettings>
<LocalBuildSettings>
<workingDirectory>bin</workingDirectory>
</LocalBuildSettings>
</ProjectProperties>
</Configuration>
</Configurations>
</TITAN_Project_File_Information>

View File

@ -0,0 +1 @@
../../../ProtocolModules/COMMON/src/General_Types.ttcn

View File

@ -0,0 +1 @@
../../../TestPorts/MTP3asp_CNL113337/src/MTP3asp_PT.cc

View File

@ -0,0 +1 @@
../../../TestPorts/MTP3asp_CNL113337/src/MTP3asp_PT.hh

View File

@ -0,0 +1 @@
../../../TestPorts/MTP3asp_CNL113337/src/MTP3asp_PortType.ttcn

View File

@ -0,0 +1 @@
../../../TestPorts/MTP3asp_CNL113337/src/MTP3asp_Types.ttcn

View File

@ -0,0 +1,737 @@
# This Makefile was generated by the Makefile Generator
# of the TTCN-3 Test Executor version 1.7.pl0
# for Gabor Bettesch (ethgbh@mwux018) on Tue Apr 3 10:18:42 2007
# Copyright 2000-2007 Test Competence Center, Ericsson R & D, Hungary
# For trouble reporting use the tool MTTSMS.
# For TR writers guide please visit the web page: http://ttcn.ericsson.se
# The following make commands are available:
# - make, make all Builds the executable test suite.
# - make archive Archives all source files.
# - make check Checks the semantics of TTCN-3 and ASN.1 modules.
# - make clean Removes all generated files.
# - make compile Translates TTCN-3 and ASN.1 modules to C++.
# - make dep Creates/updates dependency list.
# - make objects Builds the object files without linking the executable.
# - make preprocess Preprocess TTCN-3 files.
# - make tags Creates/updates tags file using ctags.
# WARNING! This Makefile can be used with GNU make only.
# Other versions of make may report syntax errors in it.
#
# Do NOT touch this line...
#
.PHONY: all archive check clean dep objects preprocess
#
# Set these variables...
#
# The path of your TTCN-3 Test Executor installation:
# Uncomment this line to override the environment variable.
# TTCN3_DIR =
# Your platform: (SOLARIS, SOLARIS8, LINUX, FREEBSD or WIN32)
PLATFORM = SOLARIS8
# Your C++ compiler:
CXX = g++
# C preprocessor used for TTCN-3 files:
CPP = cpp
# Flags for the C++ preprocessor (and makedepend as well):
CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)/include -I$(SEA_DIR)/include
# Flags for preprocessing TTCN-3 files:
CPPFLAGS_TTCN3 =
# Flags for the C++ compiler:
CXXFLAGS = -Wall
# Flags for the linker:
LDFLAGS =
# Flags for the TTCN-3 and ASN.1 compiler:
COMPILER_FLAGS = -L
# Execution mode: (either ttcn3 or ttcn3-parallel)
TTCN3_LIB = ttcn3-parallel
# The path of your OpenSSL installation:
# If you do not have your own one, leave it unchanged.
OPENSSL_DIR = $(TTCN3_DIR)
SEA_DIR = /vobs/ttcn/TCC_Releases/Other/SEA_LATEST
# Directory to store the archived source files:
ARCHIVE_DIR = backup
#
# You may change these variables. Add your files if necessary...
#
# TTCN-3 modules of this project:
TTCN3_MODULES = General_Types.ttcn MTP3asp_PortType.ttcn MTP3asp_Types.ttcn SCCP_Emulation.ttcn SCCP_Types.ttcn SCCPasp_Types.ttcn SCCP_selftest.ttcn SCCP_Testcases.ttcn
# TTCN-3 modules to preprocess:
TTCN3_PP_MODULES = SCCP_Mapping.ttcnpp
# Files to include in TTCN-3 preprocessed modules:
TTCN3_INCLUDES =
# ASN.1 modules of this project:
ASN1_MODULES =
# TTCN-3 source files generated by the C preprocessor:
PREPROCESSED_TTCN3_MODULES = SCCP_Mapping.ttcn
# C++ source & header files generated from the TTCN-3 & ASN.1 modules of
# this project:
GENERATED_SOURCES = $(TTCN3_MODULES:.ttcn=.cc) $(TTCN3_PP_MODULES:.ttcnpp=.cc) $(ASN1_MODULES:.asn=.cc)
GENERATED_HEADERS = $(GENERATED_SOURCES:.cc=.hh)
# C/C++ Source & header files of Test Ports, external functions and
# other modules:
USER_SOURCES = MTP3asp_PT.cc
USER_HEADERS = MTP3asp_PT.hh
# Object files of this project that are needed for the executable test suite:
OBJECTS = $(GENERATED_SOURCES:.cc=.o) $(USER_SOURCES:.cc=.o)
# Other files of the project (Makefile, configuration files, etc.)
# that will be added to the archived source files:
OTHER_FILES = Makefile SCCP_selftest.cfg
# The name of the executable test suite:
TARGET = SCCP_selftest
#
# Do not modify these unless you know what you are doing...
# Platform specific additional libraries:
#
SOLARIS_LIBS = -lsocket -lnsl
SOLARIS8_LIBS = -lsocket -lnsl
LINUX_LIBS =
FREEBSD_LIBS =
WIN32_LIBS =
#
# Rules for building the executable...
#
all: $(TARGET) ;
objects: $(OBJECTS) ;
$(TARGET): $(OBJECTS)
$(CXX) $(LDFLAGS) -o $@ $^ \
-L$(TTCN3_DIR)/lib -l$(TTCN3_LIB) \
-L$(OPENSSL_DIR)/lib -lcrypto $($(PLATFORM)_LIBS) \
$(SEA_DIR)/lib/libmphclib.a
.cc.o .c.o:
$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) -o $@ $<
%.ttcn: %.ttcnpp $(TTCN3_INCLUDES)
$(CPP) -x c -nostdinc $(CPPFLAGS_TTCN3) $< $@
preprocess: $(PREPROCESSED_TTCN3_MODULES) ;
$(GENERATED_SOURCES) $(GENERATED_HEADERS): compile
@if [ ! -f $@ ]; then $(RM) compile; $(MAKE) compile; fi
check: $(TTCN3_MODULES) $(PREPROCESSED_TTCN3_MODULES) $(ASN1_MODULES)
$(TTCN3_DIR)/bin/compiler -s $(COMPILER_FLAGS) $^
compile: $(TTCN3_MODULES) $(PREPROCESSED_TTCN3_MODULES) $(ASN1_MODULES)
$(TTCN3_DIR)/bin/compiler $(COMPILER_FLAGS) $^ - $?
touch $@
browserdata.dat: $(TTCN3_MODULES) $(PREPROCESSED_TTCN3_MODULES) $(ASN1_MODULES)
$(TTCN3_DIR)/bin/compiler -B -s $(COMPILER_FLAGS) $^
tags: $(TTCN3_MODULES) $(PREPROCESSED_TTCN3_MODULES) $(ASN1_MODULES) \
$(USER_HEADERS) $(USER_SOURCES)
$(TTCN3_DIR)/bin/ctags_ttcn3 --line-directives=yes $^
clean:
-$(RM) $(TARGET) $(OBJECTS) $(GENERATED_HEADERS) \
$(GENERATED_SOURCES) $(PREPROCESSED_TTCN3_MODULES) compile \
browserdata.dat tags *.log
dep: $(GENERATED_SOURCES) $(USER_SOURCES)
makedepend $(CPPFLAGS) $^
archive:
mkdir -p $(ARCHIVE_DIR)
tar -cvhf - $(TTCN3_MODULES) $(TTCN3_PP_MODULES) \
$(TTCN3_INCLUDES) $(ASN1_MODULES) \
$(USER_HEADERS) $(USER_SOURCES) $(OTHER_FILES) \
| gzip >$(ARCHIVE_DIR)/`basename $(TARGET) .exe`-`date '+%y%m%d-%H%M'`.tgz
#
# Add your rules here if necessary...
#
# DO NOT DELETE
General_Types.o: General_Types.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TTCN3.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/version.h
General_Types.o: /usr/include/string.h /usr/include/iso/string_iso.h
General_Types.o: /usr/include/sys/feature_tests.h /usr/include/sys/isa_defs.h
General_Types.o: /usr/include/stdio.h /usr/include/iso/stdio_iso.h
General_Types.o: /usr/include/sys/va_list.h /usr/include/stdio_tag.h
General_Types.o: /usr/include/stdio_impl.h
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Basetype.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Types.h
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Encdec.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Template.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Integer.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Optional.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/BER.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Logger.hh
General_Types.o: /usr/include/stdlib.h /usr/include/iso/stdlib_iso.h
General_Types.o: /usr/include/stdarg.h /usr/include/iso/stdarg_iso.h
General_Types.o: /usr/include/sys/time.h /usr/include/sys/types.h
General_Types.o: /usr/include/sys/machtypes.h /usr/include/sys/int_types.h
General_Types.o: /usr/include/sys/select.h /usr/include/time.h
General_Types.o: /usr/include/iso/time_iso.h
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Textbuf.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Error.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Parameters.h
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Float.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Boolean.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Null.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Objid.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Verdicttype.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Component.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Bitstring.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/RAW.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Hexstring.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Octetstring.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Any.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Charstring.hh
General_Types.o: /usr/include/regex.h
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Universal_charstring.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Struct_of.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Array.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_CharacterString.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_External.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_EmbeddedPDV.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Addfunc.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Timer.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Port.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Module_list.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Snapshot.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Default.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Runtime.hh
General_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TEXT.hh
MTP3asp_PortType.o: MTP3asp_PortType.hh MTP3asp_Types.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TTCN3.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/version.h
MTP3asp_PortType.o: /usr/include/string.h /usr/include/iso/string_iso.h
MTP3asp_PortType.o: /usr/include/sys/feature_tests.h
MTP3asp_PortType.o: /usr/include/sys/isa_defs.h /usr/include/stdio.h
MTP3asp_PortType.o: /usr/include/iso/stdio_iso.h /usr/include/sys/va_list.h
MTP3asp_PortType.o: /usr/include/stdio_tag.h /usr/include/stdio_impl.h
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Basetype.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Types.h
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Encdec.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Template.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Integer.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Optional.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/BER.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Logger.hh
MTP3asp_PortType.o: /usr/include/stdlib.h /usr/include/iso/stdlib_iso.h
MTP3asp_PortType.o: /usr/include/stdarg.h /usr/include/iso/stdarg_iso.h
MTP3asp_PortType.o: /usr/include/sys/time.h /usr/include/sys/types.h
MTP3asp_PortType.o: /usr/include/sys/machtypes.h /usr/include/sys/int_types.h
MTP3asp_PortType.o: /usr/include/sys/select.h /usr/include/time.h
MTP3asp_PortType.o: /usr/include/iso/time_iso.h
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Textbuf.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Error.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Parameters.h
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Float.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Boolean.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Null.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Objid.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Verdicttype.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Component.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Bitstring.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/RAW.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Hexstring.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Octetstring.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Any.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Charstring.hh
MTP3asp_PortType.o: /usr/include/regex.h
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Universal_charstring.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Struct_of.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Array.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_CharacterString.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_External.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_EmbeddedPDV.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Addfunc.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Timer.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Port.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Module_list.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Snapshot.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Default.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Runtime.hh
MTP3asp_PortType.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TEXT.hh
MTP3asp_PortType.o: MTP3asp_PT.hh
MTP3asp_PortType.o: /vobs/ttcn/TCC_Releases/Other/SEA_LATEST/include/mphclib.h
MTP3asp_Types.o: MTP3asp_Types.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TTCN3.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/version.h
MTP3asp_Types.o: /usr/include/string.h /usr/include/iso/string_iso.h
MTP3asp_Types.o: /usr/include/sys/feature_tests.h /usr/include/sys/isa_defs.h
MTP3asp_Types.o: /usr/include/stdio.h /usr/include/iso/stdio_iso.h
MTP3asp_Types.o: /usr/include/sys/va_list.h /usr/include/stdio_tag.h
MTP3asp_Types.o: /usr/include/stdio_impl.h
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Basetype.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Types.h
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Encdec.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Template.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Integer.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Optional.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/BER.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Logger.hh
MTP3asp_Types.o: /usr/include/stdlib.h /usr/include/iso/stdlib_iso.h
MTP3asp_Types.o: /usr/include/stdarg.h /usr/include/iso/stdarg_iso.h
MTP3asp_Types.o: /usr/include/sys/time.h /usr/include/sys/types.h
MTP3asp_Types.o: /usr/include/sys/machtypes.h /usr/include/sys/int_types.h
MTP3asp_Types.o: /usr/include/sys/select.h /usr/include/time.h
MTP3asp_Types.o: /usr/include/iso/time_iso.h
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Textbuf.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Error.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Parameters.h
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Float.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Boolean.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Null.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Objid.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Verdicttype.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Component.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Bitstring.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/RAW.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Hexstring.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Octetstring.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Any.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Charstring.hh
MTP3asp_Types.o: /usr/include/regex.h
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Universal_charstring.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Struct_of.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Array.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_CharacterString.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_External.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_EmbeddedPDV.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Addfunc.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Timer.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Port.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Module_list.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Snapshot.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Default.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Runtime.hh
MTP3asp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TEXT.hh
SCCP_Emulation.o: SCCP_Emulation.hh SCCP_Mapping.hh SCCP_Types.hh
SCCP_Emulation.o: MTP3asp_PortType.hh MTP3asp_Types.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TTCN3.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/version.h
SCCP_Emulation.o: /usr/include/string.h /usr/include/iso/string_iso.h
SCCP_Emulation.o: /usr/include/sys/feature_tests.h
SCCP_Emulation.o: /usr/include/sys/isa_defs.h /usr/include/stdio.h
SCCP_Emulation.o: /usr/include/iso/stdio_iso.h /usr/include/sys/va_list.h
SCCP_Emulation.o: /usr/include/stdio_tag.h /usr/include/stdio_impl.h
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Basetype.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Types.h
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Encdec.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Template.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Integer.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Optional.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/BER.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Logger.hh
SCCP_Emulation.o: /usr/include/stdlib.h /usr/include/iso/stdlib_iso.h
SCCP_Emulation.o: /usr/include/stdarg.h /usr/include/iso/stdarg_iso.h
SCCP_Emulation.o: /usr/include/sys/time.h /usr/include/sys/types.h
SCCP_Emulation.o: /usr/include/sys/machtypes.h /usr/include/sys/int_types.h
SCCP_Emulation.o: /usr/include/sys/select.h /usr/include/time.h
SCCP_Emulation.o: /usr/include/iso/time_iso.h
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Textbuf.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Error.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Parameters.h
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Float.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Boolean.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Null.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Objid.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Verdicttype.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Component.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Bitstring.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/RAW.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Hexstring.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Octetstring.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Any.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Charstring.hh
SCCP_Emulation.o: /usr/include/regex.h
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Universal_charstring.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Struct_of.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Array.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_CharacterString.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_External.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_EmbeddedPDV.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Addfunc.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Timer.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Port.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Module_list.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Snapshot.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Default.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Runtime.hh
SCCP_Emulation.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TEXT.hh
SCCP_Emulation.o: MTP3asp_PT.hh
SCCP_Emulation.o: /vobs/ttcn/TCC_Releases/Other/SEA_LATEST/include/mphclib.h
SCCP_Emulation.o: SCCPasp_Types.hh General_Types.hh
SCCP_Types.o: SCCP_Types.hh MTP3asp_PortType.hh MTP3asp_Types.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TTCN3.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/version.h
SCCP_Types.o: /usr/include/string.h /usr/include/iso/string_iso.h
SCCP_Types.o: /usr/include/sys/feature_tests.h /usr/include/sys/isa_defs.h
SCCP_Types.o: /usr/include/stdio.h /usr/include/iso/stdio_iso.h
SCCP_Types.o: /usr/include/sys/va_list.h /usr/include/stdio_tag.h
SCCP_Types.o: /usr/include/stdio_impl.h
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Basetype.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Types.h
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Encdec.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Template.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Integer.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Optional.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/BER.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Logger.hh
SCCP_Types.o: /usr/include/stdlib.h /usr/include/iso/stdlib_iso.h
SCCP_Types.o: /usr/include/stdarg.h /usr/include/iso/stdarg_iso.h
SCCP_Types.o: /usr/include/sys/time.h /usr/include/sys/types.h
SCCP_Types.o: /usr/include/sys/machtypes.h /usr/include/sys/int_types.h
SCCP_Types.o: /usr/include/sys/select.h /usr/include/time.h
SCCP_Types.o: /usr/include/iso/time_iso.h
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Textbuf.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Error.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Parameters.h
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Float.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Boolean.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Null.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Objid.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Verdicttype.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Component.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Bitstring.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/RAW.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Hexstring.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Octetstring.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Any.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Charstring.hh
SCCP_Types.o: /usr/include/regex.h
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Universal_charstring.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Struct_of.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Array.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_CharacterString.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_External.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_EmbeddedPDV.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Addfunc.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Timer.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Port.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Module_list.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Snapshot.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Default.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Runtime.hh
SCCP_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TEXT.hh
SCCP_Types.o: MTP3asp_PT.hh
SCCP_Types.o: /vobs/ttcn/TCC_Releases/Other/SEA_LATEST/include/mphclib.h
SCCP_Types.o: SCCPasp_Types.hh General_Types.hh
SCCPasp_Types.o: SCCPasp_Types.hh General_Types.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TTCN3.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/version.h
SCCPasp_Types.o: /usr/include/string.h /usr/include/iso/string_iso.h
SCCPasp_Types.o: /usr/include/sys/feature_tests.h /usr/include/sys/isa_defs.h
SCCPasp_Types.o: /usr/include/stdio.h /usr/include/iso/stdio_iso.h
SCCPasp_Types.o: /usr/include/sys/va_list.h /usr/include/stdio_tag.h
SCCPasp_Types.o: /usr/include/stdio_impl.h
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Basetype.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Types.h
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Encdec.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Template.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Integer.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Optional.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/BER.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Logger.hh
SCCPasp_Types.o: /usr/include/stdlib.h /usr/include/iso/stdlib_iso.h
SCCPasp_Types.o: /usr/include/stdarg.h /usr/include/iso/stdarg_iso.h
SCCPasp_Types.o: /usr/include/sys/time.h /usr/include/sys/types.h
SCCPasp_Types.o: /usr/include/sys/machtypes.h /usr/include/sys/int_types.h
SCCPasp_Types.o: /usr/include/sys/select.h /usr/include/time.h
SCCPasp_Types.o: /usr/include/iso/time_iso.h
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Textbuf.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Error.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Parameters.h
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Float.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Boolean.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Null.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Objid.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Verdicttype.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Component.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Bitstring.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/RAW.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Hexstring.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Octetstring.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Any.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Charstring.hh
SCCPasp_Types.o: /usr/include/regex.h
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Universal_charstring.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Struct_of.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Array.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_CharacterString.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_External.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_EmbeddedPDV.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Addfunc.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Timer.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Port.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Module_list.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Snapshot.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Default.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Runtime.hh
SCCPasp_Types.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TEXT.hh
SCCP_selftest.o: SCCP_selftest.hh SCCP_Emulation.hh SCCP_Mapping.hh
SCCP_selftest.o: SCCP_Types.hh MTP3asp_PortType.hh MTP3asp_Types.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TTCN3.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/version.h
SCCP_selftest.o: /usr/include/string.h /usr/include/iso/string_iso.h
SCCP_selftest.o: /usr/include/sys/feature_tests.h /usr/include/sys/isa_defs.h
SCCP_selftest.o: /usr/include/stdio.h /usr/include/iso/stdio_iso.h
SCCP_selftest.o: /usr/include/sys/va_list.h /usr/include/stdio_tag.h
SCCP_selftest.o: /usr/include/stdio_impl.h
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Basetype.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Types.h
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Encdec.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Template.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Integer.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Optional.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/BER.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Logger.hh
SCCP_selftest.o: /usr/include/stdlib.h /usr/include/iso/stdlib_iso.h
SCCP_selftest.o: /usr/include/stdarg.h /usr/include/iso/stdarg_iso.h
SCCP_selftest.o: /usr/include/sys/time.h /usr/include/sys/types.h
SCCP_selftest.o: /usr/include/sys/machtypes.h /usr/include/sys/int_types.h
SCCP_selftest.o: /usr/include/sys/select.h /usr/include/time.h
SCCP_selftest.o: /usr/include/iso/time_iso.h
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Textbuf.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Error.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Parameters.h
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Float.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Boolean.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Null.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Objid.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Verdicttype.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Component.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Bitstring.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/RAW.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Hexstring.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Octetstring.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Any.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Charstring.hh
SCCP_selftest.o: /usr/include/regex.h
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Universal_charstring.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Struct_of.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Array.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_CharacterString.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_External.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_EmbeddedPDV.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Addfunc.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Timer.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Port.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Module_list.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Snapshot.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Default.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Runtime.hh
SCCP_selftest.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TEXT.hh
SCCP_selftest.o: MTP3asp_PT.hh
SCCP_selftest.o: /vobs/ttcn/TCC_Releases/Other/SEA_LATEST/include/mphclib.h
SCCP_selftest.o: SCCPasp_Types.hh General_Types.hh
SCCP_Testcases.o: SCCP_Testcases.hh SCCP_Emulation.hh SCCP_Mapping.hh
SCCP_Testcases.o: SCCP_Types.hh MTP3asp_PortType.hh MTP3asp_Types.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TTCN3.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/version.h
SCCP_Testcases.o: /usr/include/string.h /usr/include/iso/string_iso.h
SCCP_Testcases.o: /usr/include/sys/feature_tests.h
SCCP_Testcases.o: /usr/include/sys/isa_defs.h /usr/include/stdio.h
SCCP_Testcases.o: /usr/include/iso/stdio_iso.h /usr/include/sys/va_list.h
SCCP_Testcases.o: /usr/include/stdio_tag.h /usr/include/stdio_impl.h
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Basetype.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Types.h
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Encdec.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Template.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Integer.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Optional.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/BER.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Logger.hh
SCCP_Testcases.o: /usr/include/stdlib.h /usr/include/iso/stdlib_iso.h
SCCP_Testcases.o: /usr/include/stdarg.h /usr/include/iso/stdarg_iso.h
SCCP_Testcases.o: /usr/include/sys/time.h /usr/include/sys/types.h
SCCP_Testcases.o: /usr/include/sys/machtypes.h /usr/include/sys/int_types.h
SCCP_Testcases.o: /usr/include/sys/select.h /usr/include/time.h
SCCP_Testcases.o: /usr/include/iso/time_iso.h
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Textbuf.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Error.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Parameters.h
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Float.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Boolean.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Null.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Objid.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Verdicttype.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Component.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Bitstring.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/RAW.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Hexstring.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Octetstring.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Any.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Charstring.hh
SCCP_Testcases.o: /usr/include/regex.h
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Universal_charstring.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Struct_of.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Array.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_CharacterString.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_External.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_EmbeddedPDV.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Addfunc.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Timer.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Port.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Module_list.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Snapshot.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Default.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Runtime.hh
SCCP_Testcases.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TEXT.hh
SCCP_Testcases.o: MTP3asp_PT.hh
SCCP_Testcases.o: /vobs/ttcn/TCC_Releases/Other/SEA_LATEST/include/mphclib.h
SCCP_Testcases.o: SCCPasp_Types.hh General_Types.hh
SCCP_Mapping.o: SCCP_Mapping.hh SCCP_Types.hh MTP3asp_PortType.hh
SCCP_Mapping.o: MTP3asp_Types.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TTCN3.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/version.h
SCCP_Mapping.o: /usr/include/string.h /usr/include/iso/string_iso.h
SCCP_Mapping.o: /usr/include/sys/feature_tests.h /usr/include/sys/isa_defs.h
SCCP_Mapping.o: /usr/include/stdio.h /usr/include/iso/stdio_iso.h
SCCP_Mapping.o: /usr/include/sys/va_list.h /usr/include/stdio_tag.h
SCCP_Mapping.o: /usr/include/stdio_impl.h
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Basetype.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Types.h
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Encdec.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Template.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Integer.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Optional.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/BER.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Logger.hh
SCCP_Mapping.o: /usr/include/stdlib.h /usr/include/iso/stdlib_iso.h
SCCP_Mapping.o: /usr/include/stdarg.h /usr/include/iso/stdarg_iso.h
SCCP_Mapping.o: /usr/include/sys/time.h /usr/include/sys/types.h
SCCP_Mapping.o: /usr/include/sys/machtypes.h /usr/include/sys/int_types.h
SCCP_Mapping.o: /usr/include/sys/select.h /usr/include/time.h
SCCP_Mapping.o: /usr/include/iso/time_iso.h
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Textbuf.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Error.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Parameters.h
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Float.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Boolean.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Null.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Objid.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Verdicttype.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Component.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Bitstring.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/RAW.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Hexstring.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Octetstring.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Any.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Charstring.hh
SCCP_Mapping.o: /usr/include/regex.h
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Universal_charstring.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Struct_of.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Array.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_CharacterString.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_External.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_EmbeddedPDV.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Addfunc.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Timer.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Port.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Module_list.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Snapshot.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Default.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Runtime.hh
SCCP_Mapping.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TEXT.hh
SCCP_Mapping.o: MTP3asp_PT.hh
SCCP_Mapping.o: /vobs/ttcn/TCC_Releases/Other/SEA_LATEST/include/mphclib.h
SCCP_Mapping.o: SCCPasp_Types.hh General_Types.hh
MTP3asp_PT.o: /usr/include/stdio.h /usr/include/iso/stdio_iso.h
MTP3asp_PT.o: /usr/include/sys/feature_tests.h /usr/include/sys/isa_defs.h
MTP3asp_PT.o: /usr/include/sys/va_list.h /usr/include/stdio_tag.h
MTP3asp_PT.o: /usr/include/stdio_impl.h /usr/include/stdlib.h
MTP3asp_PT.o: /usr/include/iso/stdlib_iso.h /usr/include/sys/types.h
MTP3asp_PT.o: /usr/include/sys/machtypes.h /usr/include/sys/int_types.h
MTP3asp_PT.o: /usr/include/sys/select.h /usr/include/sys/time.h
MTP3asp_PT.o: /usr/include/time.h /usr/include/iso/time_iso.h
MTP3asp_PT.o: /usr/include/netinet/in.h /usr/include/sys/stream.h
MTP3asp_PT.o: /usr/include/sys/vnode.h /usr/include/sys/t_lock.h
MTP3asp_PT.o: /usr/include/sys/machlock.h /usr/include/sys/param.h
MTP3asp_PT.o: /usr/include/sys/unistd.h /usr/include/sys/mutex.h
MTP3asp_PT.o: /usr/include/sys/rwlock.h /usr/include/sys/semaphore.h
MTP3asp_PT.o: /usr/include/sys/condvar.h /usr/include/sys/time_impl.h
MTP3asp_PT.o: /usr/include/sys/cred.h /usr/include/sys/uio.h
MTP3asp_PT.o: /usr/include/sys/resource.h /usr/include/vm/seg_enum.h
MTP3asp_PT.o: /usr/include/sys/poll.h /usr/include/sys/strmdep.h
MTP3asp_PT.o: /usr/include/sys/model.h /usr/include/sys/strft.h
MTP3asp_PT.o: /usr/include/sys/byteorder.h /usr/include/netdb.h
MTP3asp_PT.o: /usr/include/sys/socket.h /usr/include/sys/netconfig.h
MTP3asp_PT.o: /usr/include/sys/un.h /usr/include/net/if_dl.h
MTP3asp_PT.o: /usr/include/sys/wait.h /usr/include/sys/siginfo.h
MTP3asp_PT.o: /usr/include/sys/machsig.h /usr/include/sys/procset.h
MTP3asp_PT.o: /usr/include/unistd.h /usr/include/arpa/inet.h
MTP3asp_PT.o: /usr/include/stdarg.h /usr/include/iso/stdarg_iso.h
MTP3asp_PT.o: /usr/include/string.h /usr/include/iso/string_iso.h
MTP3asp_PT.o: MTP3asp_PT.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TTCN3.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/version.h
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Basetype.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Types.h
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Encdec.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Template.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Integer.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Optional.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/BER.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Logger.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Textbuf.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Error.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Parameters.h
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Float.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Boolean.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Null.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Objid.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Verdicttype.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Component.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Bitstring.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/RAW.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Hexstring.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Octetstring.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_Any.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Charstring.hh
MTP3asp_PT.o: /usr/include/regex.h
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Universal_charstring.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Struct_of.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Array.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_CharacterString.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_External.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/ASN_EmbeddedPDV.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Addfunc.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Timer.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Port.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Module_list.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Snapshot.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Default.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/Runtime.hh
MTP3asp_PT.o: /mnt/projects/TTCN/Releases/TTCNv3-latest/include/TEXT.hh
MTP3asp_PT.o: /vobs/ttcn/TCC_Releases/Other/SEA_LATEST/include/mphclib.h
MTP3asp_PT.o: MTP3asp_Types.hh MTP3asp_PortType.hh

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
../src/SCCP_Emulation.ttcn

View File

@ -0,0 +1 @@
../src/SCCP_Mapping.ttcnpp

View File

@ -0,0 +1,55 @@
[LOGGING]
#FileName := "SCCP_selftest.cfg"
FileMask := LOG_ALL | TTCN_DEBUG | TTCN_MATCHING
#ConsoleMask := LOG_ALL
#ConsoleMask := TTCN_TESTCASE | TTCN_PORTEVENT | TTCN_DEBUG | TTCN_MATCHING
#ConsoleMask := TTCN_WARNING | TTCN_ERROR | TTCN_TESTCASE | TTCN_STATISTICS | TTCN_PORTEVENT
#ConsoleMask := LOG_ALL | TTCN_DEBUG | TTCN_MATCHING
LogSourceInfo := Yes
[EXECUTE]
#SCCP_selftest.tc_ConnlessSendingShortASP
#SCCP_selftest.tc_ConnlessSendingLongASP
#SCCP_selftest.tc_ConnOrientedShortASPSending
#SCCP_Testcases.tc_ConnlessSendingLongASP
SCCP_Testcases.tc_ConnOrientedShortASPSending
[TESTPORT_PARAMETERS]
// *******************************************************
// * DO NOT FORGET TO SET THE FOLLOWING TWO LINE TO YOUR SEA *
// *******************************************************
system.*.Hostname := "karasea" //sea server name
system.*.HttpPort := "5001" //sea http port
system.*.IID_String := "b303d76a-266c-11d4-b8f5-08002090d3da"
//Device Type ID
system.*.Loop:= "OFF"
system.*.Filter:= "OFF"
system.*.MTP3ServiceType := "MTP3ttc" // ["MTP3itu" (default)|"MTP3ansi" | "M3UA" |"MTP3tcc]
// CMGW6 -> SCTP_ASSOC_10.2.110.102
// CMGW3 data: SCTP_ASSOC_10.2.110.2
system.CMGW6.EntityName := "SAALH-0" //"S7ST-0" //device name to connect
system.CMGW6.NI := "2"
system.CMGW6.SUT_Pc := "2300"
system.CMGW6.TESTER_Pc := "2351"
system.CMGW6.M3UA_version:= "1"
[MODULE_PARAMETERS]
tsp_own_GT := '14377760'H
tsp_remote_GT := '14375760'H
tsp_SSN := 8 //8:MSC 5:MAP see 3.4.2.2/Q.713
tsp_SIO := '83'O //SCCP national
tsp_own_SPC := 2351
tsp_remote_SPC := 2300// max value on 14 bits
tsp_SLS := 0
#[tsp_sccp_serviceType := "mtp3_itu" |"mtp3b_itu"|"mtp3_ansi"|"mtp3b_ansi"| "mtp3b_tcc"]
tsp_sccp_serviceType := "mtp3_ttc"
#for mtp3_itu/gti0011 or mtp3_ansi/gti0001 :
#tsp_translationType := 7
tsp_SIF_MaxLength := 272
tsp_force_xudt := 0 // 1:yes, 0:no
[MAIN_CONTROLLER]
TCPPort := 7145
NumHCs := 1

View File

@ -0,0 +1,468 @@
///////////////////////////////////////////////////////////////////////////////
//
//
// Copyright Test Competence Center (TCC) ETH 2007
//
//
//
// The copyright to the computer program(s) herein is the property of TCC. //
// The program(s) may be used and/or copied only with the written permission //
// of TCC or in accordance with the terms and conditions stipulated in the //
// agreement/contract under which the program(s) have been supplied
//
//
//
///////////////////////////////////////////////////////////////////////////////
//
// File: SCCP_TestCases.ttcn
// Description: SS7 SCCP basic SEA test
// according to specification ITU-T SS7 SCCP, ANSI ..., TCC ...
// References: ITU-T: Recommendation Q.711-Q.714,
// ANSI T1.112-2001,
// TCC
// Rev: <RnXnn>
// Updated: 2007.04.12
// Contact: http://ttcn.ericsson.se
//
module SCCP_Testcases
{//startmodule
modulepar
{
hexstring tsp_own_GT := '0614377760'H;
hexstring tsp_remote_GT := '0614375760'H;
integer tsp_SSN := 2; //8:MSC 5:MAP see 3.4.2.2/Q.713
octetstring tsp_SIO := '83'O;//SCCP national
integer tsp_own_SPC := 461087; // =0x07091E
integer tsp_remote_SPC := 461086; // =0x07091D
integer tsp_SLS := 0;
charstring tsp_sccp_serviceType := "mtp3_itu";
octetstring MTP3_UserPart_SIO;
integer MTP3_UserPart_OPC,
MTP3_UserPart_DPC,
MTP3_UserPart_SLS
}//modulepar
import from General_Types all;
import from MTP3asp_Types all;
import from MTP3asp_PortType all;
import from SCCPasp_Types all;
import from SCCP_Types all;
import from SCCP_Emulation all;
/*************************************
* Components
**************************************/
// Model of MSC:
type component MSC_ST {
port MTP3asp_SP_PT CMGW6;
//port MTP3asp_PT CMGW6;
};
// Main test component with behaviour SCCPuserA andSCCPuserB
type component MTC_CT {
var SCCP_PAR_Address v_CalledAddress, v_CallingAddress;
var integer v_testvalue;
var SCCP_CT vc_SCCP_A ;
var MSC_SCCP_MTP3_parameters v_BootA;
var SCCP_PAR_Connection_Id v_cid_A ;
port SCCPasp_PT A_PORT; //SCCPuserA
}
function initBootParams() runs on MTC_CT
{
v_BootA :=
{ sio:=
{ ni:= substr(oct2bit(tsp_SIO),0,2),
prio:= substr(oct2bit(tsp_SIO),2,2),
si:= substr(oct2bit(tsp_SIO),4,4)
},
opc:=tsp_own_SPC,
dpc:=tsp_remote_SPC,
sls:=tsp_SLS,
sccp_serviceType:=tsp_sccp_serviceType,
ssn:= tsp_SSN
};
return;
} //initBootParams
function init() runs on MTC_CT //system MSC_ST
{
initBootParams();
log("v_BootA:",v_BootA);
// Protocol Stack A creation & connections:
vc_SCCP_A:=SCCP_CT.create;
map(vc_SCCP_A:MTP3_SCCP_PORT,system:CMGW6);
connect(self:A_PORT,vc_SCCP_A:SCCP_SP_PORT);
vc_SCCP_A.start( SCCPStart( v_BootA ) ); // Bootparameters
log( "init() is done");
}// init
function terminate( ) runs on MTC_CT //system MSC_ST
{
log( "termitate() started");
/*while( all component.running != true )
{
//waits
}*/
all component.stop;
unmap(vc_SCCP_A:MTP3_SCCP_PORT,system:CMGW6);
disconnect(self:A_PORT,vc_SCCP_A:SCCP_SP_PORT);
log(" all components stopped");
self.stop;
} //terminate
// function getOddEven returns '0'
// if even number of dec digit can be found in GT see Q.713
function getOddEven( in hexstring pl_GT) return bitstring
{
return int2bit( (lengthof(pl_GT) mod 2) ,1);
}
function getOddEven_ansi( in hexstring pl_GT) return bitstring
{
if( (lengthof(pl_GT) mod 2) == 0 ) { return '0010'B;} //even
else { return '0001'B;} //odd
}
//******************************************************************
//function setAddresses_gti0001() runs on MTC_CT
// Sets CalledAddress and CallingAddress as a gti001-type address
// according to the cfg file.
//******************************************************************
function setAddresses_gti0001() runs on MTC_CT
{
if( (tsp_sccp_serviceType == "mtp3_itu") or
(tsp_sccp_serviceType == "mtp3b_itu") or
(tsp_sccp_serviceType == "mtp3_ttc") or
(tsp_sccp_serviceType == "mtp3b_ttc")
) {
v_CalledAddress :={
addressIndicator := {
pointCodeIndic := '1'B,
ssnIndicator := '1'B,
globalTitleIndic := '0001'B,
routingIndicator := '0'B
},//addressIndicator
signPointCode := SCCP_SPC_int2bit(tsp_remote_SPC, tsp_sccp_serviceType, tsp_SIO), // see SCCP.ttcn
subsystemNumber := tsp_SSN,
globalTitle := {
gti0001:= {
natureOfAddress := '0000011'B,
oddeven := getOddEven( tsp_remote_GT ),
globalTitleAddress := tsp_remote_GT
}
}//globalTitle
} // v_CalledAddress
v_CallingAddress :={
addressIndicator := {
pointCodeIndic := '1'B,
ssnIndicator := '1'B,
globalTitleIndic := '0001'B,
routingIndicator := '0'B
},//addressIndicator
signPointCode := SCCP_SPC_int2bit(tsp_own_SPC, tsp_sccp_serviceType, tsp_SIO), // see SCCP.ttcn
subsystemNumber := tsp_SSN,
globalTitle:= {
gti0001 := {
natureOfAddress := '0000011'B,
oddeven := getOddEven( tsp_own_GT ),
globalTitleAddress := tsp_own_GT
}
}//globalTitle
} // v_CallingAddress
} else if(
(tsp_sccp_serviceType == "mtp3_ansi") or
(tsp_sccp_serviceType == "mtp3b_ansi")
) {
v_CalledAddress :={
addressIndicator := {
pointCodeIndic := '1'B,
ssnIndicator := '1'B,
globalTitleIndic := '0001'B,
routingIndicator := '0'B
},//addressIndicator
signPointCode := SCCP_SPC_int2bit(tsp_remote_SPC, tsp_sccp_serviceType, tsp_SIO), // see SCCP.ttcn
subsystemNumber := tsp_SSN,
globalTitle := {
gti0011:= {
translationType := int2oct(7,1),
encodingScheme := getOddEven_ansi( tsp_remote_GT ),
numberingPlan := '0111'B, //ISDN/mobile numbering plan, see T1.112.3-2001/3.4.2.3.1
globalTitleAddress:= tsp_remote_GT
}
}//globalTitle
} // v_CalledAddress
v_CallingAddress :={
addressIndicator := {
pointCodeIndic := '1'B,
ssnIndicator := '1'B,
globalTitleIndic := '0001'B,
routingIndicator := '0'B
},//addressIndicator
signPointCode := SCCP_SPC_int2bit(tsp_remote_SPC, tsp_sccp_serviceType, tsp_SIO), // see SCCP.ttcn
subsystemNumber := tsp_SSN,
globalTitle := {
gti0011:= {
translationType := int2oct(7,1),
encodingScheme := getOddEven_ansi( tsp_own_GT ),
numberingPlan := '0111'B, //ISDN/mobile numbering plan, see T1.112.3-2001/3.4.2.3.1
globalTitleAddress:= tsp_own_GT
}
}//globalTitle
} // v_CallingAddress
}//if
}//setAddresses_gti001
function f_SendAndReceive1N_UNITDATA(in octetstring pl_userdata) runs on MTC_CT
{
var ASP_SCCP_N_UNITDATA_ind vl_N_UNITDATA_ind;
timer TL_timer:= 120.0;
TL_timer.start;
A_PORT.send( t_ASP_N_UNITDATA_req( v_CalledAddress,
v_CallingAddress,
'00000001'B, //sequence control
'00000001'B, //return option
pl_userdata,
omit ) );
alt {
[] A_PORT.receive( tr_ASP_N_UNITDATA_ind ) -> value vl_N_UNITDATA_ind
{
if( (vl_N_UNITDATA_ind.calledAddress == v_CalledAddress ) and
(vl_N_UNITDATA_ind.callingAddress == v_CallingAddress) and
(vl_N_UNITDATA_ind.userData == pl_userdata) )
{
log("Correct CalledAddress, CallingAddress and userData received, data are correct");
setverdict(pass);
}
else
{
log("Some data corrupted");
setverdict( fail );
}
};
[] TL_timer.timeout
{
setverdict( fail );
log("Timeout....");
};
} //alt
TL_timer.stop;
}//f_SendAndReceive1N_UNITDATA
/****************************************************
Connection Oriented Part
****************************************************/
/****************************************************
function f_connect
Establishes a connection
(Sends an ASP_SCCP_N_CONNECT_req on A_PORT and waits for
N_CONNECT_ind on B_PORT. If it is received,
it sends back an ASP_SCCP_N_CONNECT_res on B_PORT and waits for
N_CONNECT_cfm on A_PORT)
****************************************************/
function f_connect() runs on MTC_CT return boolean
{
var ASP_SCCP_N_CONNECT_ind vl_N_CONNECT_ind;
var ASP_SCCP_N_CONNECT_cfm vl_N_CONNECT_cfm;
setverdict(none);
v_cid_A := 13;
timer TL_timer:= 120.0;
TL_timer.start;
A_PORT.send( t_ASP_N_CONNECT_req( v_CalledAddress,
v_CallingAddress,
omit, //expeditedDataSel
omit, //QoS
omit, //userData
v_cid_A,
omit //importance
) );
alt {
[] A_PORT.receive( tr_ASP_N_CONNECT_cfm ) -> value vl_N_CONNECT_cfm
{
setverdict( pass );
log("f_connect finished successfully");
return true;
}
[] TL_timer.timeout
{
setverdict( fail );
log("Timeout....");
return false;
}
}// alt
log("f_connect finished");
return false;
}//f_connect
/****************************************************
function f_send
Sends an ASP_SCCP_N_DATA_req on A_PORT and waits for answer in
A_PORT
****************************************************/
function f_send(in octetstring pl_userdata) runs on MTC_CT
{
timer TL_timer:= 120.0;
TL_timer.start;
A_PORT.send( t_ASP_N_DATA_req ( pl_userdata, v_cid_A, omit) ) ;
alt {
[] A_PORT.receive
{
setverdict( pass );
log("f_connect finished successfully");
}
[] TL_timer.timeout
{
setverdict( fail );
log("Timeout....");
}
} //alt
}//f_send
//f_disconnect with timeout
function f_disconnect( ) runs on MTC_CT
{
var ASP_SCCP_N_DISCONNECT_ind vl_N_DISCONNECT_ind;
timer TL_timer:= 25.0;
TL_timer.start;
A_PORT.send( t_ASP_N_DISCONNECT_req( omit, // respondingAddress
0, //reason : end user originated, see 3.11/Q.713
omit, //userData
v_cid_A,
omit ))
alt {
[] A_PORT.receive
{
repeat;
}
[] TL_timer.timeout
{
setverdict( pass );
log("Timeout....");
};
}//alt
}//f_disconnect
//===================================================
// Testcases
//===================================================
/****************************************************
tc_ConnlessSendingShortASP
Sends a 300 octet long userdata in one ASP_SCCP_N_UNITDATA_req
and receives it in one ASP_SCCP_N_UNITDATA_req.
SCCP transfers information
in udp or (forced) xudp packets.
****************************************************/
testcase tc_ConnlessSendingShortASP() runs on MTC_CT
{
var octetstring vl_userdata;
init();
setAddresses_gti0001();
vl_userdata :='12345678901234567890'O;
f_SendAndReceive1N_UNITDATA( vl_userdata );
terminate();
} //tc_ConnlessSendingShortASP
/****************************************************
tc_ConnlessSendingLongASP
Sends a 300 octet long userdata in one ASP_SCCP_N_UNITDATA_req
and receives it in one ASP_SCCP_N_UNITDATA_req.
It is used for segmentation and reassembly.
SCCP transfers information
in xudp packets
****************************************************/
testcase tc_ConnlessSendingLongASP() runs on MTC_CT system MSC_ST
{
var octetstring vl_userdata;
var integer vl_i;
init();
setAddresses_gti0001();
vl_userdata := ''O;
for(vl_i:=0;vl_i<30;vl_i:=vl_i+1) {
vl_userdata := vl_userdata &'12345678901234567890'O;
}
f_SendAndReceive1N_UNITDATA( vl_userdata );
terminate();
}//tc_ConnlessSendingLongASP
/****************************************************
tc_ConnOrientedShortASPSending
****************************************************/
testcase tc_ConnOrientedShortASPSending() runs on MTC_CT system MSC_ST
{
var octetstring vl_userdata;
init();
setAddresses_gti0001();
vl_userdata := '12345678901234567890'O;
if(f_connect())
{
f_send(vl_userdata);
f_disconnect();
}
terminate();
}
/****************************************************
tc_ConnOrientedLongASPSending
****************************************************/
testcase tc_ConnOrientedLongASPSending() runs on MTC_CT
{
var octetstring vl_userdata;
var integer vl_i;
init();
setAddresses_gti0001();
vl_userdata := ''O;
for(vl_i:=0;vl_i<30;vl_i:=vl_i+1) {
vl_userdata := vl_userdata &'12345678901234567890'O;
}
if(f_connect())
{
f_send(vl_userdata);
//f_SendAndReceive1N_UNITDATA( vl_userdata );
f_disconnect();
}
terminate();
}
/****************************************************
CONTROL
****************************************************/
control
{
execute( tc_ConnlessSendingShortASP() );
execute( tc_ConnlessSendingLongASP() );
execute( tc_ConnOrientedShortASPSending());
execute( tc_ConnOrientedLongASPSending());
}
}//module

View File

@ -0,0 +1 @@
../src/SCCP_Types.ttcn

View File

@ -0,0 +1,52 @@
[LOGGING]
#FileName := "SCCP_selftest.cfg"
FileMask := LOG_ALL | TTCN_DEBUG | TTCN_MATCHING
#ConsoleMask := LOG_ALL
ConsoleMask := TTCN_WARNING | TTCN_ERROR | TTCN_TESTCASE | TTCN_STATISTICS | TTCN_PORTEVENT
#ConsoleMask := LOG_ALL | TTCN_DEBUG | TTCN_MATCHING
#LogFile := "My.log"
#TimeStampFormat := Time
LogSourceInfo := Yes
[EXECUTE]
SCCP_selftest.tc_ConnlessSendingShortASP
#SCCP_selftest.tc_ConnlessSendingLongASP
[TESTPORT_PARAMETERS]
// *******************************************************
// * DO NOT FORGET TO SET THE FOLLOWING TWO LINE TO YOUR SEA *
// *******************************************************
system.*.Hostname := "karasea" //sea server name
system.*.HttpPort := "5000" //sea http port
system.*.IID_String := "b303d76a-266c-11d4-b8f5-08002090d3da"
//Device Type ID
system.*.Loop:= "ON"
system.*.Filter:= "OFF"
system.*.MTP3ServiceType := "MTP3ttc" //"MTP3itu" ["MTP3itu" (default)|"MTP3ansi" | "M3UA" | "MTP3ttc" ]
// CMGW6 -> SCTP_ASSOC_10.2.110.102
// CMGW3 data: SCTP_ASSOC_10.2.110.2
system.CMGW6.EntityName := "S7ST-0" //device name to connect
system.CMGW6.NI := "2"
system.CMGW6.SUT_Pc:= "461086" // 07-09-30 =0x07091E see command: s7stp:st=s7stg-0&&-32;
system.CMGW6.TESTER_Pc:= "461087" //07-09-31=0x07091F
system.CMGW6.M3UA_version:= "1"
[MODULE_PARAMETERS]
//for sccp:
tsp_own_GT := '14377760'H
tsp_remote_GT := '14375760'H
tsp_SSN := 2 //8:MSC 5:MAP see 3.4.2.2/Q.713
tsp_SIO := '03'O //SCCP national
tsp_own_SPC := 2351 //16382
tsp_remote_SPC := 2300 //16383 // max value on 14 bits
#tsp_own_SPC := 461087 // =0x07091E
#tsp_remote_SPC := 461086 // =0x07091D
tsp_SLS := 0
#tsp_sccp_serviceType := "mtp3_itu"
#tsp_sccp_serviceType := "mtp3_ansi"
tsp_sccp_serviceType := "mtp3_ttc"
#for mtp3_itu/gti0011 or mtp3_ansi/gti0001 :
#tsp_translationType := 7
tsp_SIF_MaxLength := 272
tsp_force_xudt := 1 // 1:yes, 0:no

View File

@ -0,0 +1,607 @@
///////////////////////////////////////////////////////////////////////////////
//
//
// Copyright Test Competence Center (TCC) ETH 2007
//
//
//
// The copyright to the computer program(s) herein is the property of TCC. //
// The program(s) may be used and/or copied only with the written permission //
// of TCC or in accordance with the terms and conditions stipulated in the //
// agreement/contract under which the program(s) have been supplied
//
//
//
///////////////////////////////////////////////////////////////////////////////
//
// File: SCCP_selftest.ttcn
// Description: SS7 SCCP basic test
// according to specification ITU-T SS7 SCCP, ANSI ..., TCC ...
// References: ITU-T: Recommendation Q.711-Q.714,
// ANSI ,
// TCC
// Rev: <RnXnn>
// Updated: 2007-04.12
// Contact: http://ttcn.ericsson.se
//
module SCCP_selftest
{//startmodule
modulepar
{
hexstring tsp_own_GT := '0614377760'H;
hexstring tsp_remote_GT := '0614375760'H;
integer tsp_SSN := 2; //8:MSC 5:MAP see 3.4.2.2/Q.713
octetstring tsp_SIO := '83'O;//SCCP national
integer tsp_own_SPC := 461087; // =0x07091E
integer tsp_remote_SPC := 461086; // =0x07091D
integer tsp_SLS := 0;
charstring tsp_sccp_serviceType := "mtp3_itu"
}//modulepar
import from General_Types all;
import from MTP3asp_Types all;
import from MTP3asp_PortType all;
import from SCCPasp_Types all;
import from SCCP_Types all;
import from SCCP_Emulation all;
//==================================================================
// MTPsim component
// Description: Simulates two MTP stacks for two MTP3-User
// to implement this configuration:
// MTPsim includes MTP3/1 and MTP3/2
// MTPsim only receives TRANSFER_req and sends TRANSFER_ind
// with the same content
// +----------+ +----------+
// |SCCP-userA| <--->|SCCP-userB| = MTC
// +----------+ +----------+
// | A | B
// +----------+ +----------+
// | SCCP A | <--->| SCCP B |
// +----------+ +----------+
// | A | B
// +-----------------------------+
// | MTP3 1. | MTP3 2.| = MTP3sim
// +----------------------------+
//
//==================================================================
group MTPsim
{
type component MTPsim_CT {
port MTP3asp_SP_PT MTP_A_PORT
port MTP3asp_SP_PT MTP_B_PORT
}
function MTPsim_EventHandler( ) runs on MTPsim_CT
{
var ASP_MTP3_TRANSFERreq vl_MTP3_TRANSFERreq;
var ASP_MTP3_TRANSFERind vl_MTP3_TRANSFERind
alt{
[] MTP_A_PORT.receive( ASP_MTP3_TRANSFERreq:? ) -> value vl_MTP3_TRANSFERreq
{
MTP_B_PORT.send( t_ASP_MTP3_TRANSFERind(
vl_MTP3_TRANSFERreq.sio,
vl_MTP3_TRANSFERreq.opc,
vl_MTP3_TRANSFERreq.dpc,
vl_MTP3_TRANSFERreq.sls,
vl_MTP3_TRANSFERreq.data ) ) ;
repeat;
}//A.receive
[] MTP_B_PORT.receive( ASP_MTP3_TRANSFERreq:? ) -> value vl_MTP3_TRANSFERreq
{
MTP_A_PORT.send( t_ASP_MTP3_TRANSFERind (
vl_MTP3_TRANSFERreq.sio,
vl_MTP3_TRANSFERreq.opc,
vl_MTP3_TRANSFERreq.dpc,
vl_MTP3_TRANSFERreq.sls,
vl_MTP3_TRANSFERreq.data ));
repeat;
}//B.receive
}//alt
} //MTPsim_EventHandler
}//group MTPsim
// Main test component with behaviour SCCPuserA andSCCPuserB
type component MTC_CT {
var SCCP_PAR_Address v_CalledAddress, v_CallingAddress;
var integer v_testvalue;
var MTPsim_CT vc_MTPsim;
var SCCP_CT vc_SCCP_A, vc_SCCP_B;
var MSC_SCCP_MTP3_parameters v_BootA;
var MSC_SCCP_MTP3_parameters v_BootB;
var SCCP_PAR_Connection_Id v_cid_A, v_cid_B;
port SCCPasp_PT A_PORT; //SCCPuserA
port SCCPasp_PT B_PORT //SCCPuserB
}
function initBootParams() runs on MTC_CT
{
v_BootA :=
{ sio:=
{ ni:= substr(oct2bit(tsp_SIO),0,2),
prio:= substr(oct2bit(tsp_SIO),2,2),
si:= substr(oct2bit(tsp_SIO),4,4)
},
opc:=tsp_own_SPC,
dpc:=tsp_remote_SPC,
sls:=tsp_SLS,
sccp_serviceType:=tsp_sccp_serviceType,
ssn:= tsp_SSN
};
v_BootB :=
{ sio:=
{ ni:= substr(oct2bit(tsp_SIO),0,2),
prio:= substr(oct2bit(tsp_SIO),2,2),
si:= substr(oct2bit(tsp_SIO),4,4)
},
opc:=tsp_remote_SPC,
dpc:=tsp_own_SPC,
sls:=tsp_SLS,
sccp_serviceType:=tsp_sccp_serviceType,
ssn:= tsp_SSN
};
return;
} //initBootParams
function init() runs on MTC_CT
{
initBootParams();
log("v_BootA:",v_BootA);
log("v_BootB: ",v_BootB);
vc_MTPsim:= MTPsim_CT.create;
// Protocol Stack A creation & connections:
vc_SCCP_A:=SCCP_CT.create;
connect(vc_SCCP_A:MTP3_SCCP_PORT,vc_MTPsim:MTP_A_PORT);
connect(self:A_PORT,vc_SCCP_A:SCCP_SP_PORT);
// Protocol Stack B creation & connections:
vc_SCCP_B:=SCCP_CT.create;
connect(vc_SCCP_B:MTP3_SCCP_PORT,vc_MTPsim:MTP_B_PORT);
connect(self:B_PORT,vc_SCCP_B:SCCP_SP_PORT);
// Start stacks:
vc_MTPsim.start( MTPsim_EventHandler() );
vc_SCCP_A.start( SCCPStart( v_BootA ) ); // Bootparameters !!! cont here!!!
vc_SCCP_B.start( SCCPStart(v_BootB));
log( "init() is done");
}// init
function terminate( ) runs on MTC_CT
{
log( "termitate() started");
/*while( all component.running != true )
{
//waits
}*/
all component.stop;
disconnect(vc_SCCP_A:MTP3_SCCP_PORT, vc_MTPsim:MTP_A_PORT);
disconnect(self:A_PORT,vc_SCCP_A:SCCP_SP_PORT);
disconnect(vc_SCCP_B:MTP3_SCCP_PORT,vc_MTPsim:MTP_B_PORT);
disconnect(self:B_PORT,vc_SCCP_B:SCCP_SP_PORT);
log(" all components stopped");
self.stop;
} //terminate
// function getOddEven returns '0'
// if even number of dec digit can be found in GT see Q.713
function getOddEven( in hexstring pl_GT) return bitstring
{
return int2bit( (lengthof(pl_GT) mod 2) ,1);
}
function getOddEvenEnc( in hexstring pl_GT) return bitstring
{
if( (lengthof(pl_GT) mod 2) == 0 ) { return '0010'B;} //even
else { return '0001'B;} //odd
}
//******************************************************************
//function setAddresses_gti0001() runs on MTC_CT
// Sets CalledAddress and CallingAddress as a gti001-type address
// according to the cfg file.
//******************************************************************
function setAddresses_gti0001() runs on MTC_CT
{
if( (tsp_sccp_serviceType == "mtp3_itu") or
(tsp_sccp_serviceType == "mtp3b_itu") or
(tsp_sccp_serviceType == "mtp3_ttc") or
(tsp_sccp_serviceType == "mtp3b_ttc")
) {
v_CalledAddress :={
addressIndicator := {
pointCodeIndic := '1'B,
ssnIndicator := '1'B,
globalTitleIndic := '0001'B,
routingIndicator := '0'B
},//addressIndicator
signPointCode := SCCP_SPC_int2bit(tsp_remote_SPC, tsp_sccp_serviceType, tsp_SIO), // see SCCP_Emulation.ttcn
subsystemNumber := tsp_SSN,
globalTitle := {
gti0001:= {
natureOfAddress := '0000011'B,
oddeven := getOddEven( tsp_remote_GT ),
globalTitleAddress := tsp_remote_GT
}
}//globalTitle
} // v_CalledAddress
v_CallingAddress :={
addressIndicator := {
pointCodeIndic := '1'B,
ssnIndicator := '1'B,
globalTitleIndic := '0001'B,
routingIndicator := '0'B
},//addressIndicator
signPointCode := SCCP_SPC_int2bit(tsp_own_SPC, tsp_sccp_serviceType, tsp_SIO), // see SCCP_Emulation.ttcn
subsystemNumber := tsp_SSN,
globalTitle:= {
gti0001 := {
natureOfAddress := '0000011'B,
oddeven := getOddEven( tsp_own_GT ),
globalTitleAddress := tsp_own_GT
}
}//globalTitle
} // v_CallingAddress
} else if(
(tsp_sccp_serviceType == "mtp3_ansi") or
(tsp_sccp_serviceType == "mtp3b_ansi") )
{
v_CalledAddress :={
addressIndicator := {
pointCodeIndic := '1'B,
ssnIndicator := '1'B,
globalTitleIndic := '0001'B,
routingIndicator := '0'B
},//addressIndicator
signPointCode := SCCP_SPC_int2bit(tsp_remote_SPC, tsp_sccp_serviceType, tsp_SIO), // see SCCP_Emulation.ttcn
subsystemNumber := tsp_SSN,
globalTitle := {
gti0011:= {
translationType := int2oct(7,1),
encodingScheme := getOddEvenEnc( tsp_remote_GT ),
numberingPlan := '0111'B, //ISDN/mobile numbering plan, see T1.112.3-2001/3.4.2.3.1
globalTitleAddress:= tsp_remote_GT
}
}//globalTitle
} // v_CalledAddress
v_CallingAddress :={
addressIndicator := {
pointCodeIndic := '1'B,
ssnIndicator := '1'B,
globalTitleIndic := '0001'B,
routingIndicator := '0'B
},//addressIndicator
signPointCode := SCCP_SPC_int2bit(tsp_remote_SPC, tsp_sccp_serviceType, tsp_SIO), // see SCCP_Emulation.ttcn
subsystemNumber := tsp_SSN,
globalTitle := {
gti0011:= {
translationType := int2oct(7,1),
encodingScheme := getOddEvenEnc( tsp_own_GT ),
numberingPlan := '0111'B, //ISDN/mobile numbering plan, see T1.112.3-2001/3.4.2.3.1
globalTitleAddress:= tsp_own_GT
}
}//globalTitle
} // v_CallingAddress
}//if
else
{
log( "wrong tsp_sccp_serviceType ->exit ");
setverdict( fail );
}
}//setAddresses_gti001
function f_SendAndReceive1N_UNITDATA(in octetstring pl_userdata) runs on MTC_CT
{
var ASP_SCCP_N_UNITDATA_ind vl_N_UNITDATA_ind;
timer TL_timer:= 40.0;
TL_timer.start;
log("A_PORT.send follows");
log("Addresses:",v_CalledAddress, v_CallingAddress);
A_PORT.send( t_ASP_N_UNITDATA_req( v_CalledAddress,
v_CallingAddress,
'00000001'B, //sequence control
'00000001'B, //return option
pl_userdata,
omit ) );
log("A_PORT.send executed");
alt {
[] B_PORT.receive( tr_ASP_N_UNITDATA_ind ) -> value vl_N_UNITDATA_ind
{
if( (vl_N_UNITDATA_ind.calledAddress == v_CalledAddress ) and
(vl_N_UNITDATA_ind.callingAddress == v_CallingAddress) and
(vl_N_UNITDATA_ind.userData == pl_userdata) )
{
log("Correct CalledAddress, CallingAddress and userData received, data are correct");
setverdict(pass);
}
else
{
log("Some data corrupted");
log("Original data:", v_CalledAddress, v_CallingAddress, pl_userdata);
setverdict( fail );
}
};
[] TL_timer.timeout
{
setverdict( fail );
log("Timeout....");
};
} //alt
TL_timer.stop;
}//f_SendAndReceive1N_UNITDATA
/****************************************************
Connection Oriented Part
****************************************************/
/****************************************************
function f_connect
Establishes a connection
(Sends an ASP_SCCP_N_CONNECT_req on A_PORT and waits for
N_CONNECT_ind on B_PORT. If it is received,
it sends back an ASP_SCCP_N_CONNECT_res on B_PORT and waits for
N_CONNECT_cfm on A_PORT)
****************************************************/
function f_connect() runs on MTC_CT return boolean
{
var ASP_SCCP_N_CONNECT_ind vl_N_CONNECT_ind;
var ASP_SCCP_N_CONNECT_cfm vl_N_CONNECT_cfm;
setverdict(none);
v_cid_A := 13;
timer TL_timer:= 40.0;
TL_timer.start;
// A Sends ASP_SCCP_N_CONNECT_req , receives
A_PORT.send( t_ASP_N_CONNECT_req( v_CalledAddress,
v_CallingAddress,
omit, //expeditedDataSel
omit, //QoS
omit, //userData
v_cid_A,
omit //importance
) );
alt {
[] B_PORT.receive( tr_ASP_N_CONNECT_ind ) -> value vl_N_CONNECT_ind
{
v_cid_B := vl_N_CONNECT_ind.connectionId;
B_PORT.send( t_ASP_N_CONNECT_res( omit,// respondingAddress
omit,//expeditedDataSel
omit,//qualityOfService
omit, //userData
v_cid_B,
omit //importance
));
}
[] B_PORT.receive
{
log( "unexpected asp received for ASP_SCCP_N_CONNECT_req, failed");
setverdict( fail );
return false;
}
[] TL_timer.timeout
{
setverdict( pass );
log("Timeout....");
return false;
}
}
// receives ASP_SCCP_N_CONNECT_cfm
alt {
[] A_PORT.receive( tr_ASP_N_CONNECT_cfm ) -> value vl_N_CONNECT_cfm
{
setverdict( pass );
log("f_connect finished successfully");
return true;
}
[] TL_timer.timeout
{
setverdict( pass );
log("Timeout....");
return false;
}
}// alt
log("f_connect finished");
return false;
}//f_connect
/****************************************************
function f_send
Sends an ASP_SCCP_N_DATA_req on A_PORT and waits for answer in
B_PORT
****************************************************/
function f_send(in octetstring pl_userdata) runs on MTC_CT
{
var ASP_SCCP_N_DATA_ind vl_N_DATA_ind;
timer TL_timer:= 120.0;
TL_timer.start;
A_PORT.send( t_ASP_N_DATA_req ( pl_userdata, v_cid_A, omit) ) ;
alt {
[] B_PORT.receive( tr_ASP_N_DATA_ind ) -> value vl_N_DATA_ind
{
if( vl_N_DATA_ind.userData == pl_userdata )
{
log( "userData received correctly" );
setverdict( pass );
}
else
{
log("user data mismatch error in f_send()")
setverdict(fail);
}
}//B_PORT.receive( tr_ASP_N_DATA_ind )
[] B_PORT.receive
{
log( "unexpected asp received for ASP_SCCP_N_DATA_req, failed");
setverdict( fail );
}
[] TL_timer.timeout
{
setverdict( pass );
log("Timeout....");
}
} //alt
}//f_send
//f_disconnect with timeout
function f_disconnect( ) runs on MTC_CT
{
var ASP_SCCP_N_DISCONNECT_ind vl_N_DISCONNECT_ind;
timer TL_timer:= 5.0;
TL_timer.start;
A_PORT.send(t_ASP_N_DISCONNECT_req( omit, // respondingAddress
0, //reason : end user originated, see 3.11/Q.713
omit, //userData
v_cid_A,
omit ))
alt {
[] B_PORT.receive(tr_ASP_N_DISCONNECT_ind) -> value vl_N_DISCONNECT_ind
{
setverdict( pass );
}
[] B_PORT.receive
{
log("unexpected asp received on B_PORT instead of ASP_SCCP_N_DISCONNECT_ind");
//repeat;
setverdict(fail);
}
[] TL_timer.timeout
{
setverdict( fail );
log("Timeout....");
};
}//alt
//give time for inner release complete (rlc):
alt {
[] TL_timer.timeout
{
setverdict( pass );
log("Stopped with expected timeout");
};
}
}//f_disconnect
//===================================================
// Testcases
//===================================================
/****************************************************
tc_ConnlessSendingShortASP
Sends a 300 octet long userdata in one ASP_SCCP_N_UNITDATA_req
and receives it in one ASP_SCCP_N_UNITDATA_req.
SCCP transfers information
in udp or (forced) xudp packets.
****************************************************/
testcase tc_ConnlessSendingShortASP() runs on MTC_CT
{
var octetstring vl_userdata;
init();
setAddresses_gti0001();
vl_userdata :='12345678901234567890'O;
f_SendAndReceive1N_UNITDATA( vl_userdata );
terminate();
} //tc_ConnlessSendingShortASP
/****************************************************
tc_ConnlessSendingLongASP
Sends a 300 octet long userdata in one ASP_SCCP_N_UNITDATA_req
and receives it in one ASP_SCCP_N_UNITDATA_req.
It is used for segmentation and reassembly.
SCCP transfers information
in xudp packets
****************************************************/
testcase tc_ConnlessSendingLongASP() runs on MTC_CT
{
var octetstring vl_userdata;
var integer vl_i;
init();
setAddresses_gti0001();
vl_userdata := ''O;
for(vl_i:=0;vl_i<30;vl_i:=vl_i+1) {
vl_userdata := vl_userdata &'12345678901234567890'O;
}
f_SendAndReceive1N_UNITDATA( vl_userdata );
terminate();
}//tc_ConnlessSendingLongASP
/****************************************************
tc_ConnOrientedShortASPSending
****************************************************/
testcase tc_ConnOrientedShortASPSending() runs on MTC_CT
{
var octetstring vl_userdata;
init();
setAddresses_gti0001();
vl_userdata := '12345678901234567890'O;
if(f_connect( ))
{
f_send(vl_userdata);
f_disconnect();
}
terminate();
}
/****************************************************
tc_ConnOrientedLongASPSending
****************************************************/
testcase tc_ConnOrientedLongASPSending() runs on MTC_CT
{
var octetstring vl_userdata;
var integer vl_i;
init();
setAddresses_gti0001();
vl_userdata := ''O;
for(vl_i:=0;vl_i<30;vl_i:=vl_i+1) {
vl_userdata := vl_userdata &'12345678901234567890'O;
}
if(f_connect( ))
{
f_send(vl_userdata);
//f_SendAndReceive1N_UNITDATA( vl_userdata );
f_disconnect();
}
terminate();
}
/****************************************************
CONTROL
****************************************************/
control
{
execute( tc_ConnlessSendingShortASP() );
execute( tc_ConnlessSendingLongASP() );
execute( tc_ConnOrientedShortASPSending());
execute( tc_ConnOrientedLongASPSending());
}
}//module

View File

@ -0,0 +1 @@
../src/SCCPasp_Types.ttcn

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,19 @@
///////////////////////////////////////////////////////////////////////////////
// //
// Copyright Test Competence Center (TCC) ETH 2007 //
// //
// The copyright to the computer program(s) herein is the property of TCC. //
// The program(s) may be used and/or copied only with the written permission //
// of TCC or in accordance with the terms and conditions stipulated in the //
// agreement/contract under which the program(s) have been supplied //
// //
///////////////////////////////////////////////////////////////////////////////
// File: SCCP_EncDec.cc
// Rev: R6A05
// Prodnr: CNL 113 341
// Updated: 2007-09-17
// Contact: http://ttcn.ericsson.se
// Please note: Because the encoder/decoder functions are generated by the
// TITAN, the SCCP_EncDec.cc is kept only for compatibility issue and
// should be removed from the projects.

View File

@ -0,0 +1,129 @@
///////////////////////////////////////////////////////////////////////////////
// //
// Copyright Test Competence Center (TCC) ETH 2012 //
// //
// The copyright to the computer program(s) herein is the property of TCC. //
// The program(s) may be used and/or copied only with the written permission //
// of TCC or in accordance with the terms and conditions stipulated in the //
// agreement/contract under which the program(s) have been supplied //
// //
///////////////////////////////////////////////////////////////////////////////
// File: SCCP_Mapping.ttcnpp
// Description: SCCP <-> MTP3 dual faced port definition
// Rev: R6A05
// Prodnr: CNL 113 341
// Updated: 2012-11-05
// Contact: http://ttcn.ericsson.se
module SCCP_Mapping
{
import from MTP3asp_Types all;
import from MTP3asp_PortType all;
import from SCCP_Types all;
import from SCCPasp_Types all;
// *************************************************************************
// *************************************************************************
//SCCP Component related declarations
// *************************************************************************
// *************************************************************************
type integer UnhandledProtocol;
// SCCPasp_SP_PT SCCP_SP_PORT
//+-----------------+-----------------+
//| SCCP_CT /
//| /
//+-----------------+-----------------+
//MTP3asp_SCCP_PT MTP3_SCCP_PORT
// |
//
//#ifdef USE_MTP3_DISTRIBUTOR
//Version to internal port
type port MTP3asp_SCCP_PT message
{
in PDU_SCCP;
out ASP_MTP3_TRANSFERreq_sccp;
}
with
{ extension
"internal user MTP3asp_PT
out(ASP_MTP3_TRANSFERreq_sccp
-> ASP_MTP3_TRANSFERreq: function(f_enc_SCCP_to_MTP))
in( ASP_MTP3_TRANSFERind
-> PDU_SCCP: function(f_dec_MTP_to_SCCP),
- : discard;
ASP_MTP3_PAUSE -> -: discard;
ASP_MTP3_RESUME -> -: discard;
ASP_MTP3_STATUS -> -: discard)
"
}
/*#else
//Version to external port
type port MTP3asp_SCCP_PT message
{
in PDU_SCCP;
in UnhandledProtocol;
out ASP_MTP3_TRANSFERreq_sccp;
}
with
{ extension
"user MTP3asp_PT
out(ASP_MTP3_TRANSFERreq_sccp
-> ASP_MTP3_TRANSFERreq: function(f_enc_SCCP_to_MTP))
in( ASP_MTP3_TRANSFERind ->
PDU_SCCP: function(f_dec_MTP_to_SCCP),
UnhandledProtocol: function(f_dec_MTP_to_UnhandledProtocol);
ASP_MTP3_PAUSE -> -: discard;
ASP_MTP3_RESUME -> -: discard;
ASP_MTP3_STATUS -> -: discard)
"
}
function f_dec_MTP_to_UnhandledProtocol(in ASP_MTP3_TRANSFERind pl_in, out UnhandledProtocol pl_out) return integer
{
pl_out := 1;
return 0;
} with {extension "prototype(backtrack)" }
#endif
*/
function f_enc_SCCP_to_MTP
(in ASP_MTP3_TRANSFERreq_sccp pl_in,
out ASP_MTP3_TRANSFERreq pl_out) return integer
{
var bitstring vl_sio_bit := oct2bit(pl_in.sio);
var MTP3_Field_sio vl_sio_struct;
vl_sio_struct.ni := substr(vl_sio_bit,0,2);
vl_sio_struct.prio := substr(vl_sio_bit,2,2);
vl_sio_struct.si := substr(vl_sio_bit,4,4);
pl_out :=
{
sio := vl_sio_struct,
opc := pl_in.opc,
dpc := pl_in.dpc,
sls := pl_in.sls,
data:= enc_PDU_SCCP(pl_in.data)
}
return 0;
} with {extension "prototype(backtrack)" }
function f_dec_MTP_to_SCCP
(in ASP_MTP3_TRANSFERind pl_in,
out PDU_SCCP pl_out) return integer
{
if (pl_in.sio.si != '0011'B)
{
log("The received message is not SCCP. Ignored.");
return 1;
}
pl_out := dec_PDU_SCCP(pl_in.data);
return 0;
} with {extension "prototype(backtrack)" }
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,895 @@
///////////////////////////////////////////////////////////////////////////////
// //
// Copyright Test Competence Center (TCC) ETH 2006 //
// //
// The copyright to the computer program(s) herein is the property of TCC. //
// The program(s) may be used and/or copied only with the written permission //
// of TCC or in accordance with the terms and conditions stipulated in the //
// agreement/contract under which the program(s) have been supplied //
// //
///////////////////////////////////////////////////////////////////////////////
// File: SCCPasp_Types.ttcn
// Description: SS7 SCCP definitions according to specification
// ITU-T SS7 SCCP, ANSI ..., TCC ...
// References: ITU-T: Recommendation Q.711-Q.714,
// ANSI: T1.112-2001,
// TCC: JT-Q711 - JT-Q714
// Rev: R6A05
// Prodnr: CNL 113 341
// Updated: 2006-01-26
// Contact: http://ttcn.ericsson.se
module SCCPasp_Types.objid
{
itu_t(0) identified_organization (4) etsi(0) reserved(127)
etsi_identified_organization(0) ericsson(5) testing (0)
generic(0) sccp(1) v96(3) aspDefinitions(3) patchNo(0)
}
{//startmodule
//content: the following groups:
//Field Definitions
//ASPParameters
//ASPTypes
//SCCPportTypeDefinitions
//ASPTemplateDefinitionsSending
//ASPTemplateDefinitionsReceiving
//ethlel: 08.23:"reserved" fields removed
//SCCP_PAR_Importance chenged from structure to integer
//type enumerated SCCP_ASPfield_ParameterName removed
import from General_Types all;
group FieldDefinitions
{
//--------------------------------------------------------------------------------
// Field Address Indicator (Q713 $3.4.1)
//--------------------------------------------------------------------------------
type record SCCP_ASPfield_AddressIndicator
{
BIT1n pointCodeIndic,
BIT1n ssnIndicator,
BIT4n globalTitleIndic,
BIT1n routingIndicator
}
//--------------------------------------------------------------------------------
// Subfield Signalling Point Code (Q713 $3.4.2.1)
//--------------------------------------------------------------------------------
// type changed from BIT14 to bitstring 2003.11.04 baat
// supposed that the leading zeros are filled in according to specification
// i.e.: length itu: 16 (2 reserved)
// ansi:24
// ttc national: 16 (0 spare)
type bitstring SCCP_ASPfield_SignallingPointCode;
type union SCCP_ASPfield_GlobalTitle
{
SCCP_ASPfield_GlobalTitle_NoA gti0001,
SCCP_ASPfield_GlobalTitle_TT gti0010,
SCCP_ASPfield_GlobalTitle_TT_NP_ES gti0011, //ansi: gti=0001
SCCP_ASPfield_SignallingPointCode_TT_NP_ES_NoA gti0100
//octetstring gti0000
}
//--------------------------------------------------------------------------------
// Subfield Global Title, Nature of address only
//ITU: GTI=0001, Q713 $3.4.2.3.1
//ANSI: -
type record SCCP_ASPfield_GlobalTitle_NoA
{
BIT7n natureOfAddress,
BIT1n oddeven,
hexstring globalTitleAddress
//it should be hexstring, number digits are in BCD;
//hexstring already supported by ETH compiler
}
//--------------------------------------------------------------------------------
// Global Title, Translation type only
// ITU: GTI=0010, Q713 $3.4.2.3.2
// ANSI: GTI=0010, Figure6A/T1.112.3
type record SCCP_ASPfield_GlobalTitle_TT
{
OCT1n translationType,
hexstring globalTitleAddress
}
//--------------------------------------------------------------------------------
// Global Title, Translation type & numbering plan & encoding scheme
// ITU: GTI=0011, Q713 $3.4.2.3.3)
// ANSI GTI=0001, Figure6/T1.112.3
type record SCCP_ASPfield_GlobalTitle_TT_NP_ES
{
OCT1n translationType,
BIT4n encodingScheme,
BIT4n numberingPlan,
hexstring globalTitleAddress
}
//--------------------------------------------------------------------------------
// Global Title, Translation type & numbering plan & encoding scheme & nature of
// address
// GTI=0100, Q713 $3.4.2.3.4)
// ANSI: -
type record SCCP_ASPfield_SignallingPointCode_TT_NP_ES_NoA
{
OCT1n translationType,
BIT4n encodingScheme,
BIT4n numberingPlan,
BIT7n natureOfAddress,
hexstring globalTitleAddress
}
}//endgroup FieldDefinitions
//********************************************************************************
//********************************************************************************
// ASPDefinitions
//********************************************************************************
//********************************************************************************
group ASPParameters
{
//--------------------------------------------------------------------------------
// Parameter Address
//--------------------------------------------------------------------------------
type record SCCP_PAR_Address
{
SCCP_ASPfield_AddressIndicator addressIndicator,
SCCP_ASPfield_SignallingPointCode signPointCode optional,
integer subsystemNumber optional,
SCCP_ASPfield_GlobalTitle globalTitle optional
}
//--------------------------------------------------------------------------------
// Parameter Quality of service
//--------------------------------------------------------------------------------
type integer SCCP_PAR_Quality_Of_Service;
//--------------------------------------------------------------------------------
// Parameter Expedited data selection
//--------------------------------------------------------------------------------
type integer SCCP_PAR_Expedited_Data_Sel;
//--------------------------------------------------------------------------------
// Parameter User Data
//--------------------------------------------------------------------------------
//type SCCP_param_Data SCCP_PAR_UserData;
type octetstring SCCP_PAR_UserData;
// ETHLAFA: type changed from RANAP_PDU to octetstring 020718
//--------------------------------------------------------------------------------
// Parameter Connection Id
//--------------------------------------------------------------------------------
type integer SCCP_PAR_Connection_Id;
//--------------------------------------------------------------------------------
// Parameter Importance
//--------------------------------------------------------------------------------
type integer SCCP_PAR_Importance;
//--------------------------------------------------------------------------------
// Parameter Originator
//--------------------------------------------------------------------------------
//Undefined (0)
//SCCP User (or Network Service User-NSU)(1)
//SCCP itself (or Network Service Provider-NSP)(2)
type integer SCCP_PAR_Originator;
//--------------------------------------------------------------------------------
// Parameter Reason
//--------------------------------------------------------------------------------
type integer SCCP_PAR_Reason;
//--------------------------------------------------------------------------------
// Parameter Return Option
//--------------------------------------------------------------------------------
//bit0==0-return option off
//bit0==1-return option on
type BIT8n SCCP_PAR_Return_Option;
//--------------------------------------------------------------------------------
// Parameter Sequence Control
//--------------------------------------------------------------------------------
//bit0 == 0-sequence control off
//bit0 == 1-sequence control on
type BIT8n SCCP_PAR_Sequence_Control;
//--------------------------------------------------------------------------------
// Parameter Reason For Return
//--------------------------------------------------------------------------------
type integer SCCP_PAR_Reason_For_Return;
//--------------------------------------------------------------------------------
// Parameter Subsystem Number
//--------------------------------------------------------------------------------
type integer SCCP_PAR_SubSystemNumber;
//--------------------------------------------------------------------------------
// Parameter User Status
//--------------------------------------------------------------------------------
type integer SCCP_PAR_User_Status;
//--------------------------------------------------------------------------------
// Parameter Subsystem Multiplicity Indicator
//--------------------------------------------------------------------------------
type integer SCCP_PAR_Subsystem_multi_indicator;
}//endgroup ASPParameters
group ASPTypes
{
//********************************************************************************
// Network service primitives Q711
//********************************************************************************
type record ASP_SCCP_N_CONNECT_req
{
SCCP_PAR_Address calledAddress,
SCCP_PAR_Address callingAddress optional,
SCCP_PAR_Expedited_Data_Sel expeditedDataSel optional,
SCCP_PAR_Quality_Of_Service qualityOfService optional,
SCCP_PAR_UserData userData optional,
SCCP_PAR_Connection_Id connectionId optional,
SCCP_PAR_Importance importance optional
}
type record ASP_SCCP_N_CONNECT_ind
{
SCCP_PAR_Address calledAddress,
SCCP_PAR_Address callingAddress optional,
SCCP_PAR_Quality_Of_Service qualityOfService optional,
SCCP_PAR_UserData userData optional,
SCCP_PAR_Connection_Id connectionId optional,
SCCP_PAR_Importance importance optional
}
type record ASP_SCCP_N_CONNECT_res
{
SCCP_PAR_Address respondingAddress optional,
SCCP_PAR_Expedited_Data_Sel expeditedDataSel optional,
SCCP_PAR_Quality_Of_Service qualityOfService optional,
SCCP_PAR_UserData userData optional,
SCCP_PAR_Connection_Id connectionId optional,
SCCP_PAR_Importance importance optional
}
type record ASP_SCCP_N_CONNECT_cfm
{
SCCP_PAR_Address respondingAddress optional,
SCCP_PAR_Quality_Of_Service qualityOfService optional,
SCCP_PAR_UserData userData optional,
SCCP_PAR_Connection_Id connectionId optional,
SCCP_PAR_Importance importance optional
}
type record ASP_SCCP_N_DATA_req
{
SCCP_PAR_UserData userData ,
SCCP_PAR_Connection_Id connectionId optional ,
SCCP_PAR_Importance importance optional
}
type record ASP_SCCP_N_DATA_ind
{
SCCP_PAR_UserData userData ,
SCCP_PAR_Connection_Id connectionId optional ,
SCCP_PAR_Importance importance optional
}
type record ASP_SCCP_N_DISCONNECT_req
{
SCCP_PAR_Address respondingAddress optional,
SCCP_PAR_Reason reason ,
SCCP_PAR_UserData userData optional ,
SCCP_PAR_Connection_Id connectionId optional ,
SCCP_PAR_Importance importance optional
}
type record ASP_SCCP_N_DISCONNECT_ind
{
SCCP_PAR_Originator originator ,
SCCP_PAR_Address respondingAddress optional ,
SCCP_PAR_Reason reason ,
SCCP_PAR_UserData userData optional ,
SCCP_PAR_Connection_Id connectionId optional ,
SCCP_PAR_Importance importance optional
}
type record ASP_SCCP_N_UNITDATA_req
{
SCCP_PAR_Address calledAddress ,
SCCP_PAR_Address callingAddress ,
SCCP_PAR_Sequence_Control sequenceControl optional ,
SCCP_PAR_Return_Option returnOption optional ,
SCCP_PAR_UserData userData ,
SCCP_PAR_Importance importance optional
}
type record ASP_SCCP_N_UNITDATA_ind
{
SCCP_PAR_Address calledAddress ,
SCCP_PAR_Address callingAddress ,
SCCP_PAR_Sequence_Control sequenceControl optional ,
SCCP_PAR_Return_Option returnOption optional ,
SCCP_PAR_UserData userData ,
SCCP_PAR_Importance importance optional
}
type record ASP_SCCP_N_NOTICE_ind
{
SCCP_PAR_Address calledAddress ,
SCCP_PAR_Address callingAddress ,
SCCP_PAR_Reason_For_Return reasonForReturn ,
SCCP_PAR_UserData userData ,
SCCP_PAR_Importance importance optional
}
type record ASP_SCCP_N_STATE_ind
{
SCCP_PAR_SubSystemNumber affectedSubSystem ,
SCCP_PAR_User_Status userStatus ,
SCCP_PAR_Subsystem_multi_indicator subsystmultiindicator optional
}
type record ASP_SCCP_N_RESET_req
{
SCCP_PAR_Originator originator, //always NSU
SCCP_PAR_Reason reason,
SCCP_PAR_Connection_Id connectionId optional
}
type record ASP_SCCP_N_RESET_ind
{
SCCP_PAR_Originator originator,
SCCP_PAR_Reason reason,
SCCP_PAR_Connection_Id connectionId optional
}
type record ASP_SCCP_N_RESET_resp
{
SCCP_PAR_Connection_Id connectionId optional
}
type record ASP_SCCP_N_RESET_cfm
{
SCCP_PAR_Connection_Id connectionId optional
}
} //endgroup ASPTypes
group SCCP_PT_Definitions
{
//*******************************************************************
// Port Type definitions
//*******************************************************************
type port SCCPasp_SP_PT
message
{
in ASP_SCCP_N_CONNECT_req, ASP_SCCP_N_CONNECT_res,
ASP_SCCP_N_DATA_req, ASP_SCCP_N_DISCONNECT_req,
ASP_SCCP_N_UNITDATA_req, ASP_SCCP_N_RESET_req,
ASP_SCCP_N_RESET_resp;
out ASP_SCCP_N_CONNECT_ind, ASP_SCCP_N_CONNECT_cfm,
ASP_SCCP_N_DATA_ind, ASP_SCCP_N_DISCONNECT_ind,
ASP_SCCP_N_UNITDATA_ind, ASP_SCCP_N_NOTICE_ind,
ASP_SCCP_N_STATE_ind, ASP_SCCP_N_RESET_ind,
ASP_SCCP_N_RESET_cfm;
} with {extension "internal"}
type port SCCPasp_PT
message
{
in ASP_SCCP_N_CONNECT_ind, ASP_SCCP_N_CONNECT_cfm,
ASP_SCCP_N_DATA_ind, ASP_SCCP_N_DISCONNECT_ind,
ASP_SCCP_N_UNITDATA_ind, ASP_SCCP_N_NOTICE_ind,
ASP_SCCP_N_STATE_ind, ASP_SCCP_N_RESET_ind,
ASP_SCCP_N_RESET_cfm;
out ASP_SCCP_N_CONNECT_req, ASP_SCCP_N_CONNECT_res,
ASP_SCCP_N_DATA_req, ASP_SCCP_N_DISCONNECT_req,
ASP_SCCP_N_UNITDATA_req, ASP_SCCP_N_RESET_req,
ASP_SCCP_N_RESET_resp;
} with {extension "internal"}
}// endgroup SCCP_PT_Definitions
//********************************************************************************
// ASP Template Definitions
//********************************************************************************
group ASPTemplateDefinitionsSending
{
template ASP_SCCP_N_CONNECT_req t_ASP_N_CONNECT_req
(
template SCCP_PAR_Address PAR_CalledAddress ,
template SCCP_PAR_Address PAR_CallingAddress ,
template SCCP_PAR_Expedited_Data_Sel PAR_ExpDataSel ,
template SCCP_PAR_Quality_Of_Service PAR_QoS ,
template SCCP_PAR_UserData PAR_UserData ,
template SCCP_PAR_Connection_Id PAR_ConnID ,
template SCCP_PAR_Importance PAR_Imp
):=
{
calledAddress :=PAR_CalledAddress ,
callingAddress :=PAR_CallingAddress ,
expeditedDataSel :=PAR_ExpDataSel ,
qualityOfService :=PAR_QoS ,
userData :=PAR_UserData ,
connectionId :=PAR_ConnID ,
importance :=PAR_Imp
}
template ASP_SCCP_N_CONNECT_ind t_ASP_N_CONNECT_ind
(
template SCCP_PAR_Address PAR_CalledAddress ,
template SCCP_PAR_Address PAR_CallingAddress ,
template SCCP_PAR_Quality_Of_Service PAR_QoS ,
template SCCP_PAR_UserData PAR_UserData ,
template SCCP_PAR_Connection_Id PAR_ConnID ,
template SCCP_PAR_Importance PAR_Imp
):=
{
calledAddress :=PAR_CalledAddress ,
callingAddress :=PAR_CallingAddress,
qualityOfService :=PAR_QoS ,
userData :=PAR_UserData ,
connectionId :=PAR_ConnID ,
importance := PAR_Imp
}
template ASP_SCCP_N_CONNECT_res t_ASP_N_CONNECT_res
(
template SCCP_PAR_Address PAR_RespondingAddress ,
template SCCP_PAR_Expedited_Data_Sel PAR_ExpDataSel ,
template SCCP_PAR_Quality_Of_Service PAR_QoS ,
template SCCP_PAR_UserData PAR_UserData ,
template SCCP_PAR_Connection_Id PAR_ConnID ,
template SCCP_PAR_Importance PAR_Imp
):=
{
respondingAddress:= PAR_RespondingAddress ,
expeditedDataSel := PAR_ExpDataSel ,
qualityOfService := PAR_QoS ,
userData := PAR_UserData ,
connectionId := PAR_ConnID ,
importance := PAR_Imp
}
template ASP_SCCP_N_CONNECT_cfm t_ASP_N_CONNECT_cfm
(
template SCCP_PAR_Address PAR_RespondingAddress ,
template SCCP_PAR_Quality_Of_Service PAR_QoS ,
template SCCP_PAR_UserData PAR_UserData ,
template SCCP_PAR_Connection_Id PAR_ConnID ,
template SCCP_PAR_Importance PAR_Imp
):=
{
respondingAddress:= PAR_RespondingAddress ,
qualityOfService := PAR_QoS ,
userData := PAR_UserData ,
connectionId := PAR_ConnID ,
importance := PAR_Imp
}
template ASP_SCCP_N_DATA_req t_ASP_N_DATA_req
(
template SCCP_PAR_UserData PAR_UserData ,
template SCCP_PAR_Connection_Id PAR_ConnID ,
template SCCP_PAR_Importance PAR_Imp
):=
{
userData := PAR_UserData ,
connectionId := PAR_ConnID ,
importance := PAR_Imp
}
template ASP_SCCP_N_DATA_ind t_ASP_N_DATA_ind
(
template SCCP_PAR_UserData PAR_UserData ,
template SCCP_PAR_Connection_Id PAR_ConnID ,
template SCCP_PAR_Importance PAR_Imp
):=
{
userData := PAR_UserData ,
connectionId := PAR_ConnID ,
importance := PAR_Imp
}
template ASP_SCCP_N_DISCONNECT_req t_ASP_N_DISCONNECT_req
(
template SCCP_PAR_Address PAR_RespondingAddress ,
template SCCP_PAR_Reason PAR_Reason ,
template SCCP_PAR_UserData PAR_UserData ,
template SCCP_PAR_Connection_Id PAR_ConnID ,
template SCCP_PAR_Importance PAR_Imp
):=
{
respondingAddress:= PAR_RespondingAddress ,
reason := PAR_Reason ,
userData := PAR_UserData ,
connectionId := PAR_ConnID ,
importance := PAR_Imp
}
template ASP_SCCP_N_DISCONNECT_ind t_ASP_N_DISCONNECT_ind
(
template SCCP_PAR_Originator PAR_Originator ,
template SCCP_PAR_Address PAR_RespondingAddress ,
template SCCP_PAR_Reason PAR_Reason ,
template SCCP_PAR_UserData PAR_UserData ,
template SCCP_PAR_Connection_Id PAR_ConnID ,
template SCCP_PAR_Importance PAR_Imp
):=
{
originator :=PAR_Originator ,
respondingAddress:= PAR_RespondingAddress ,
reason := PAR_Reason ,
userData := PAR_UserData ,
connectionId := PAR_ConnID ,
importance := PAR_Imp
}
template ASP_SCCP_N_UNITDATA_req t_ASP_N_UNITDATA_req
(
template SCCP_PAR_Address PAR_CalledAddress ,
template SCCP_PAR_Address PAR_CallingAddress ,
template SCCP_PAR_Sequence_Control PAR_SeqCtrl ,
template SCCP_PAR_Return_Option PAR_RetOpt ,
template SCCP_PAR_UserData PAR_UserData ,
template SCCP_PAR_Importance PAR_Imp
):=
{
calledAddress :=PAR_CalledAddress ,
callingAddress :=PAR_CallingAddress,
sequenceControl :=PAR_SeqCtrl ,
returnOption :=PAR_RetOpt ,
userData :=PAR_UserData ,
importance :=PAR_Imp
}
template ASP_SCCP_N_UNITDATA_ind t_ASP_N_UNITDATA_ind
(
template SCCP_PAR_Address PAR_CalledAddress ,
template SCCP_PAR_Address PAR_CallingAddress ,
template SCCP_PAR_Sequence_Control PAR_SeqCtrl ,
template SCCP_PAR_Return_Option PAR_RetOpt ,
template SCCP_PAR_UserData PAR_UserData ,
template SCCP_PAR_Importance PAR_Imp
):=
{
calledAddress :=PAR_CalledAddress ,
callingAddress :=PAR_CallingAddress,
sequenceControl :=PAR_SeqCtrl ,
returnOption :=PAR_RetOpt ,
userData :=PAR_UserData ,
importance :=PAR_Imp
}
template ASP_SCCP_N_NOTICE_ind t_ASP_N_NOTICE_ind
(
template SCCP_PAR_Address PAR_CalledAddress ,
template SCCP_PAR_Address PAR_CallingAddress ,
template SCCP_PAR_Reason_For_Return PAR_ReasForRet ,
template SCCP_PAR_UserData PAR_UserData ,
template SCCP_PAR_Importance PAR_Imp
):=
{
calledAddress :=PAR_CalledAddress ,
callingAddress :=PAR_CallingAddress,
reasonForReturn :=PAR_ReasForRet ,
userData :=PAR_UserData ,
importance :=PAR_Imp
}
template ASP_SCCP_N_STATE_ind t_ASP_N_STATE_ind
(
template SCCP_PAR_SubSystemNumber PAR_SSN ,
template SCCP_PAR_User_Status PAR_UserStatus ,
template SCCP_PAR_Subsystem_multi_indicator PAR_Smi
):=
{
affectedSubSystem :=PAR_SSN ,
userStatus :=PAR_UserStatus ,
subsystmultiindicator :=PAR_Smi
}
template ASP_SCCP_N_RESET_req t_ASP_N_RESET_req
(
template SCCP_PAR_Originator PAR_Originator,
template SCCP_PAR_Reason PAR_Reason,
template SCCP_PAR_Connection_Id PAR_Connection_Id
):=
{
originator :=PAR_Originator,
reason :=PAR_Reason,
connectionId :=PAR_Connection_Id
}
template ASP_SCCP_N_RESET_ind t_ASP_N_RESET_ind
(
template SCCP_PAR_Originator PAR_Originator,
template SCCP_PAR_Reason PAR_Reason,
template SCCP_PAR_Connection_Id PAR_Connection_Id
):=
{
originator :=PAR_Originator,
reason :=PAR_Reason,
connectionId :=PAR_Connection_Id
}
template ASP_SCCP_N_RESET_resp t_ASP_N_RESET_resp
(
template SCCP_PAR_Connection_Id PAR_Connection_Id
):=
{
connectionId :=PAR_Connection_Id
}
template ASP_SCCP_N_RESET_cfm t_ASP_N_RESET_cfm
(
template SCCP_PAR_Connection_Id PAR_Connection_Id
):=
{
connectionId :=PAR_Connection_Id
}
}//endgroup ASPTemplateDefinitionsSending
//********************************************************************************
group ASPTemplateDefinitionsReceiving
{
template ASP_SCCP_N_CONNECT_req tr_ASP_N_CONNECT_req:=
{
calledAddress :=?,
callingAddress :=*,
expeditedDataSel :=*,
qualityOfService :=*,
userData :=*,
connectionId :=*,
importance :=*
}
template ASP_SCCP_N_CONNECT_ind tr_ASP_N_CONNECT_ind:=
{
calledAddress :=?,
callingAddress :=*,
qualityOfService :=*,
userData :=*,
connectionId :=*,
importance :=*
}
template ASP_SCCP_N_CONNECT_res tr_ASP_N_CONNECT_res:=
{
respondingAddress:= *,
expeditedDataSel := *,
qualityOfService := *,
userData := *,
connectionId := *,
importance := *
}
template ASP_SCCP_N_CONNECT_cfm tr_ASP_N_CONNECT_cfm:=
{
respondingAddress:= *,
qualityOfService := *,
userData := *,
connectionId := *,
importance := *
}
template ASP_SCCP_N_DATA_req tr_ASP_N_DATA_req :=
{
userData := ?,
connectionId := *,
importance := *
}
template ASP_SCCP_N_DATA_ind tr_ASP_N_DATA_ind:=
{
userData := ?,
connectionId := *,
importance := *
}
template ASP_SCCP_N_DISCONNECT_req tr_ASP_N_DISCONNECT_req:=
{
respondingAddress:= *,
reason := ?,
userData := *,
connectionId := *,
importance := *
}
template ASP_SCCP_N_DISCONNECT_ind tr_ASP_N_DISCONNECT_ind:=
{
originator := ?,
respondingAddress:= *,
reason := ?,
userData := *,
connectionId := *,
importance := *
}
template ASP_SCCP_N_UNITDATA_req tr_ASP_N_UNITDATA_req:=
{
calledAddress :=?,
callingAddress :=?,
sequenceControl :=*,
returnOption :=*,
userData :=?,
importance :=*
}
template ASP_SCCP_N_UNITDATA_ind tr_ASP_N_UNITDATA_ind:=
{
calledAddress :=?,
callingAddress :=?,
sequenceControl :=*,
returnOption :=*,
userData :=?,
importance :=*
}
template ASP_SCCP_N_NOTICE_ind tr_ASP_N_NOTICE_ind:=
{
calledAddress :=?,
callingAddress :=?,
reasonForReturn :=?,
userData :=?,
importance :=*
}
template ASP_SCCP_N_STATE_ind tr_ASP_N_STATE_ind:=
{
affectedSubSystem :=?,
userStatus :=?,
subsystmultiindicator :=*
}
template ASP_SCCP_N_RESET_req tr_ASP_N_RESET_req:=
{
originator :=?,
reason :=?,
connectionId :=*
}
template ASP_SCCP_N_RESET_ind tr_ASP_N_RESET_ind:=
{
originator :=?,
reason :=?,
connectionId :=*
}
template ASP_SCCP_N_RESET_resp tr_ASP_N_RESET_resp:=
{
connectionId :=*
}
template ASP_SCCP_N_RESET_cfm tr_ASP_N_RESET_cfm:=
{
connectionId :=*
}
}//endgroup ASPTemplateDefinitionsReceiving
} //with { encode "RAW"}
//endmodule SCCP ASP types

View File

@ -0,0 +1,54 @@
[LOGGING]
#FileName := "SCCP_selftest.cfg"
FileMask := LOG_ALL | TTCN_DEBUG | TTCN_MATCHING
#ConsoleMask := LOG_ALL
#ConsoleMask := TTCN_TESTCASE | TTCN_PORTEVENT | TTCN_DEBUG | TTCN_MATCHING
#ConsoleMask := TTCN_WARNING | TTCN_ERROR | TTCN_TESTCASE | TTCN_STATISTICS | TTCN_PORTEVENT
#ConsoleMask := LOG_ALL | TTCN_DEBUG | TTCN_MATCHING
LogSourceInfo := Yes
[EXECUTE]
#SCCP_selftest.tc_ConnlessSendingShortASP
#SCCP_selftest.tc_ConnlessSendingLongASP
#SCCP_selftest.tc_ConnOrientedShortASPSending
#SCCP_Testcases.tc_ConnlessSendingLongASP
SCCP_Testcases.tc_ConnOrientedShortASPSending
[TESTPORT_PARAMETERS]
system.sctp.debug := "yes"
//see documentation (User guide) for the parameters)
[MODULE_PARAMETERS]
M3UA_Emulation.tsp_logVerbose := true;
M3UA_Emulation.tsp_M3UA_Server_Mode := false;
SCCP_Testcases.tsp_address :=
{
local_sctp_port := 2905,
local_ip_addr := "10.6.70.19",
remote_sctp_port := 2905,
remote_ip_addr := "159.107.193.33"
}
SCCP_Testcases.tsp_own_GT := '14377760'H
SCCP_Testcases.tsp_remote_GT := '14375760'H
SCCP_Testcases.tsp_SSN := 8 //8:MSC 5:MAP see 3.4.2.2/Q.713
SCCP_Testcases.tsp_SIO := '83'O //SCCP national
SCCP_Testcases.tsp_own_SPC := 2351
SCCP_Testcases.tsp_remote_SPC := 2300// max value on 14 bits
SCCP_Testcases.tsp_SLS := 0
#[tsp_sccp_serviceType := "mtp3_itu" |"mtp3b_itu"|"mtp3_ansi"|"mtp3b_ansi"| "mtp3b_tcc"]
SCCP_Testcases.tsp_sccp_serviceType := "mtp3_ttc"
#for mtp3_itu/gti0011 or mtp3_ansi/gti0001 :
#tsp_translationType := 7
SCCP_Emulation.tsp_SIF_MaxLength := 272
SCCP_Emulation.tsp_force_xudt := 0 // 1:yes, 0:no
[MAIN_CONTROLLER]
//TCPPort := 7145
//NumHCs := 1

View File

@ -0,0 +1,505 @@
///////////////////////////////////////////////////////////////////////////////
//
//
// Copyright Test Competence Center (TCC) ETH 2007
//
//
//
// The copyright to the computer program(s) herein is the property of TCC. //
// The program(s) may be used and/or copied only with the written permission //
// of TCC or in accordance with the terms and conditions stipulated in the //
// agreement/contract under which the program(s) have been supplied
//
//
//
///////////////////////////////////////////////////////////////////////////////
//
// File: SCCP_TestCases.ttcn
// Description: SS7 SCCP basic SEA test
// according to specification ITU-T SS7 SCCP, ANSI ..., TCC ...
// References: ITU-T: Recommendation Q.711-Q.714,
// ANSI T1.112-2001,
// TCC
// Rev: <RnXnn>
// Updated: 2007.04.12
// Contact: http://ttcn.ericsson.se
//
//Note : this has been modified to include M3UA Emulation and SCTP Test port
//Elemer Lelik 12.04.2017
module SCCP_Testcases
{//startmodule
modulepar
{
hexstring tsp_own_GT := '0614377760'H;
hexstring tsp_remote_GT := '0614375760'H;
integer tsp_SSN := 2; //8:MSC 5:MAP see 3.4.2.2/Q.713
octetstring tsp_SIO := '83'O;//SCCP national
integer tsp_own_SPC := 461087; // =0x07091E
integer tsp_remote_SPC := 461086; // =0x07091D
integer tsp_SLS := 0;
charstring tsp_sccp_serviceType := "mtp3_itu";
octetstring MTP3_UserPart_SIO;
integer MTP3_UserPart_OPC,
MTP3_UserPart_DPC,
MTP3_UserPart_SLS
SCTP_Association_Address tsp_address := { 0, "", 0, "" };
}//modulepar
import from General_Types all;
import from M3UA_Types all;
import from M3UA_Emulation all;
import from MTP3asp_Types all;
import from MTP3asp_PortType all;
import from SCCPasp_Types all;
import from SCCP_Types all;
import from SCCP_Emulation all;
import from SCTPasp_Types all;
import from SCTPasp_PortType all;
/*************************************
* Components
**************************************/
// Model of MSC:
type component system_CT {
port SCTPasp_PT sctp;
};
// Main test component with behaviour SCCPuserA andSCCPuserB
type component MTC_CT {
var SCCP_PAR_Address v_CalledAddress, v_CallingAddress;
var integer v_testvalue;
var SCCP_CT vc_SCCP_A ;
var M3UA_CT vc_M3UA ;
var MSC_SCCP_MTP3_parameters v_BootA;
var SCCP_PAR_Connection_Id v_cid_A ;
port SCCPasp_PT A_PORT; //SCCPuserA
}
function initBootParams() runs on MTC_CT
{
v_BootA :=
{ sio:=
{ ni:= substr(oct2bit(tsp_SIO),0,2),
prio:= substr(oct2bit(tsp_SIO),2,2),
si:= substr(oct2bit(tsp_SIO),4,4)
},
opc:=tsp_own_SPC,
dpc:=tsp_remote_SPC,
sls:=tsp_SLS,
sccp_serviceType:=tsp_sccp_serviceType,
ssn:= tsp_SSN
};
return;
} //initBootParams
function init() runs on MTC_CT //system system_CT
{
initBootParams();
log("v_BootA:",v_BootA);
// Protocol Stack creation & connections:
vc_SCCP_A:=SCCP_CT.create;
vc_M3UA:=M3UA_CT.create;
connect(self:A_PORT,vc_SCCP_A:SCCP_SP_PORT);
connect(vc_M3UA:MTP3_SP_PORT,vc_SCCP_A:MTP3_SCCP_PORT);
map(vc_M3UA:SCTP_PORT,system:sctp);
vc_M3UA.start(f_M3UA_Emulation(tsp_address));
vc_SCCP_A.start( SCCPStart( v_BootA ) ); // Bootparameters
log( "init() is done");
}// init
function terminate( ) runs on MTC_CT //system system_CT
{
log( "terminate() started");
/*while( all component.running != true )
{
//waits
}*/
all component.stop;
unmap(vc_M3UA:SCTP_PORT,system:sctp);
disconnect(vc_M3UA:MTP3_SP_PORT,vc_SCCP_A:MTP3_SCCP_PORT);
disconnect(self:A_PORT,vc_SCCP_A:SCCP_SP_PORT);
log(" all components stopped");
self.stop;
} //terminate
// function getOddEven returns '0'
// if even number of dec digit can be found in GT see Q.713
function getOddEven( in hexstring pl_GT) return bitstring
{
return int2bit( (lengthof(pl_GT) mod 2) ,1);
}
function getOddEven_ansi( in hexstring pl_GT) return bitstring
{
if( (lengthof(pl_GT) mod 2) == 0 ) { return '0010'B;} //even
else { return '0001'B;} //odd
}
//******************************************************************
//function setAddresses_gti0001() runs on MTC_CT
// Sets CalledAddress and CallingAddress as a gti001-type address
// according to the cfg file.
//******************************************************************
function setAddresses_gti0001() runs on MTC_CT
{
if( (tsp_sccp_serviceType == "mtp3_itu") or
(tsp_sccp_serviceType == "mtp3b_itu") or
(tsp_sccp_serviceType == "mtp3_ttc") or
(tsp_sccp_serviceType == "mtp3b_ttc")
) {
v_CalledAddress :={
addressIndicator := {
pointCodeIndic := '1'B,
ssnIndicator := '1'B,
globalTitleIndic := '0001'B,
routingIndicator := '0'B
},//addressIndicator
signPointCode := SCCP_SPC_int2bit(tsp_remote_SPC, tsp_sccp_serviceType, tsp_SIO), // see SCCP.ttcn
subsystemNumber := tsp_SSN,
globalTitle := {
gti0001:= {
natureOfAddress := '0000011'B,
oddeven := getOddEven( tsp_remote_GT ),
globalTitleAddress := tsp_remote_GT
}
}//globalTitle
} // v_CalledAddress
v_CallingAddress :={
addressIndicator := {
pointCodeIndic := '1'B,
ssnIndicator := '1'B,
globalTitleIndic := '0001'B,
routingIndicator := '0'B
},//addressIndicator
signPointCode := SCCP_SPC_int2bit(tsp_own_SPC, tsp_sccp_serviceType, tsp_SIO), // see SCCP.ttcn
subsystemNumber := tsp_SSN,
globalTitle:= {
gti0001 := {
natureOfAddress := '0000011'B,
oddeven := getOddEven( tsp_own_GT ),
globalTitleAddress := tsp_own_GT
}
}//globalTitle
} // v_CallingAddress
} else if(
(tsp_sccp_serviceType == "mtp3_ansi") or
(tsp_sccp_serviceType == "mtp3b_ansi")
) {
v_CalledAddress :={
addressIndicator := {
pointCodeIndic := '1'B,
ssnIndicator := '1'B,
globalTitleIndic := '0001'B,
routingIndicator := '0'B
},//addressIndicator
signPointCode := SCCP_SPC_int2bit(tsp_remote_SPC, tsp_sccp_serviceType, tsp_SIO), // see SCCP.ttcn
subsystemNumber := tsp_SSN,
globalTitle := {
gti0011:= {
translationType := int2oct(7,1),
encodingScheme := getOddEven_ansi( tsp_remote_GT ),
numberingPlan := '0111'B, //ISDN/mobile numbering plan, see T1.112.3-2001/3.4.2.3.1
globalTitleAddress:= tsp_remote_GT
}
}//globalTitle
} // v_CalledAddress
v_CallingAddress :={
addressIndicator := {
pointCodeIndic := '1'B,
ssnIndicator := '1'B,
globalTitleIndic := '0001'B,
routingIndicator := '0'B
},//addressIndicator
signPointCode := SCCP_SPC_int2bit(tsp_remote_SPC, tsp_sccp_serviceType, tsp_SIO), // see SCCP.ttcn
subsystemNumber := tsp_SSN,
globalTitle := {
gti0011:= {
translationType := int2oct(7,1),
encodingScheme := getOddEven_ansi( tsp_own_GT ),
numberingPlan := '0111'B, //ISDN/mobile numbering plan, see T1.112.3-2001/3.4.2.3.1
globalTitleAddress:= tsp_own_GT
}
}//globalTitle
} // v_CallingAddress
}//if
}//setAddresses_gti001
function f_SendAndReceive1N_UNITDATA(in octetstring pl_userdata) runs on MTC_CT
{
var ASP_SCCP_N_UNITDATA_ind vl_N_UNITDATA_ind;
timer TL_timer:= 120.0;
TL_timer.start;
A_PORT.send( t_ASP_N_UNITDATA_req( v_CalledAddress,
v_CallingAddress,
'00000001'B, //sequence control
'00000001'B, //return option
pl_userdata,
omit ) );
alt {
[] A_PORT.receive( tr_ASP_N_UNITDATA_ind ) -> value vl_N_UNITDATA_ind
{
if( (vl_N_UNITDATA_ind.calledAddress == v_CalledAddress ) and
(vl_N_UNITDATA_ind.callingAddress == v_CallingAddress) and
(vl_N_UNITDATA_ind.userData == pl_userdata) )
{
log("Correct CalledAddress, CallingAddress and userData received, data are correct");
setverdict(pass);
}
else
{
log("Some data corrupted");
setverdict( fail );
}
};
[] TL_timer.timeout
{
setverdict( fail );
log("Timeout....");
};
} //alt
TL_timer.stop;
}//f_SendAndReceive1N_UNITDATA
/****************************************************
Connection Oriented Part
****************************************************/
/****************************************************
function f_connect
Establishes a connection
(Sends an ASP_SCCP_N_CONNECT_req on A_PORT and waits for
N_CONNECT_ind on B_PORT. If it is received,
it sends back an ASP_SCCP_N_CONNECT_res on B_PORT and waits for
N_CONNECT_cfm on A_PORT)
****************************************************/
function f_connect() runs on MTC_CT return boolean
{
var ASP_SCCP_N_CONNECT_ind vl_N_CONNECT_ind;
var ASP_SCCP_N_CONNECT_cfm vl_N_CONNECT_cfm;
setverdict(none);
v_cid_A := 13;
timer TL_timer:= 120.0;
TL_timer.start;
A_PORT.send( t_ASP_N_CONNECT_req( v_CalledAddress,
v_CallingAddress,
omit, //expeditedDataSel
omit, //QoS
omit, //userData
v_cid_A,
omit //importance
) );
alt {
[] A_PORT.receive( tr_ASP_N_CONNECT_cfm ) -> value vl_N_CONNECT_cfm
{
setverdict( pass );
log("f_connect finished successfully");
return true;
}
[] TL_timer.timeout
{
setverdict( fail );
log("Timeout....");
return false;
}
}// alt
log("f_connect finished");
return false;
}//f_connect
/****************************************************
function f_send
Sends an ASP_SCCP_N_DATA_req on A_PORT and waits for answer in
A_PORT
****************************************************/
function f_send(in octetstring pl_userdata) runs on MTC_CT
{
timer TL_timer:= 120.0;
TL_timer.start;
A_PORT.send( t_ASP_N_DATA_req ( pl_userdata, v_cid_A, omit) ) ;
alt {
[] A_PORT.receive
{
setverdict( pass );
log("f_connect finished successfully");
}
[] TL_timer.timeout
{
setverdict( fail );
log("Timeout....");
}
} //alt
}//f_send
//f_disconnect with timeout
function f_disconnect( ) runs on MTC_CT
{
var ASP_SCCP_N_DISCONNECT_ind vl_N_DISCONNECT_ind;
timer TL_timer:= 25.0;
TL_timer.start;
A_PORT.send( t_ASP_N_DISCONNECT_req( omit, // respondingAddress
0, //reason : end user originated, see 3.11/Q.713
omit, //userData
v_cid_A,
omit ))
alt {
[] A_PORT.receive
{
repeat;
}
[] TL_timer.timeout
{
setverdict( pass );
log("Timeout....");
};
}//alt
}//f_disconnect
//===================================================
// Testcases
//===================================================
/****************************************************
tc_ConnlessSendingShortASP
Sends a 300 octet long userdata in one ASP_SCCP_N_UNITDATA_req
and receives it in one ASP_SCCP_N_UNITDATA_req.
SCCP transfers information
in udp or (forced) xudp packets.
****************************************************/
testcase tc_ConnlessSendingShortASP() runs on MTC_CT
{
var octetstring vl_userdata;
init();
setAddresses_gti0001();
vl_userdata :='12345678901234567890'O;
f_SendAndReceive1N_UNITDATA( vl_userdata );
terminate();
} //tc_ConnlessSendingShortASP
/****************************************************
tc_ConnlessSendingLongASP
Sends a 300 octet long userdata in one ASP_SCCP_N_UNITDATA_req
and receives it in one ASP_SCCP_N_UNITDATA_req.
It is used for segmentation and reassembly.
SCCP transfers information
in xudp packets
****************************************************/
testcase tc_ConnlessSendingLongASP() runs on MTC_CT system system_CT
{
var octetstring vl_userdata;
var integer vl_i;
init();
setAddresses_gti0001();
vl_userdata := ''O;
for(vl_i:=0;vl_i<30;vl_i:=vl_i+1) {
vl_userdata := vl_userdata &'12345678901234567890'O;
}
f_SendAndReceive1N_UNITDATA( vl_userdata );
terminate();
}//tc_ConnlessSendingLongASP
/****************************************************
tc_ConnOrientedShortASPSending
****************************************************/
testcase tc_ConnOrientedShortASPSending() runs on MTC_CT system system_CT
{
var octetstring vl_userdata;
init();
setAddresses_gti0001();
vl_userdata := '12345678901234567890'O;
if(f_connect())
{
f_send(vl_userdata);
f_disconnect();
}
terminate();
}
/****************************************************
tc_ConnOrientedLongASPSending
****************************************************/
testcase tc_ConnOrientedLongASPSending() runs on MTC_CT
{
var octetstring vl_userdata;
var integer vl_i;
init();
setAddresses_gti0001();
vl_userdata := ''O;
for(vl_i:=0;vl_i<30;vl_i:=vl_i+1) {
vl_userdata := vl_userdata &'12345678901234567890'O;
}
if(f_connect())
{
f_send(vl_userdata);
//f_SendAndReceive1N_UNITDATA( vl_userdata );
f_disconnect();
}
terminate();
}
/****************************************************
CONTROL
****************************************************/
control
{
execute( tc_ConnlessSendingShortASP() );
execute( tc_ConnlessSendingLongASP() );
execute( tc_ConnOrientedShortASPSending());
execute( tc_ConnOrientedLongASPSending());
}
}//module

View File

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2014 Ericsson
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
File: SCTPasp_CNL113469.tpd
Description: tpd project file
Rev: R11A
Prodnr: CNL 113 469
Updated: 2014-09-24
Contact: http://ttcn.ericsson.se
-->
<TITAN_Project_File_Information version="1.0">
<ProjectName>SCTPasp_CNL113469</ProjectName>
<Folders>
<FolderResource projectRelativePath="src" relativeURI="src"/>
</Folders>
<Files>
<FileResource projectRelativePath="src/SCTPasp_PT.cc" relativeURI="src/SCTPasp_PT.cc"/>
<FileResource projectRelativePath="src/SCTPasp_PT.hh" relativeURI="src/SCTPasp_PT.hh"/>
<FileResource projectRelativePath="src/SCTPasp_PortType.ttcn" relativeURI="src/SCTPasp_PortType.ttcn"/>
<FileResource projectRelativePath="src/SCTPasp_Types.ttcn" relativeURI="src/SCTPasp_Types.ttcn"/>
</Files>
<ActiveConfiguration>Default</ActiveConfiguration>
<Configurations>
<Configuration name="Default">
<ProjectProperties>
<MakefileSettings>
<generateInternalMakefile>true</generateInternalMakefile>
<GNUMake>true</GNUMake>
<incrementalDependencyRefresh>true</incrementalDependencyRefresh>
<targetExecutable>bin/SCTPasp_CNL113469</targetExecutable>
<preprocessorDefines>
<listItem>USE_SCTP</listItem>
</preprocessorDefines>
<buildLevel>Level 3 - Creating object files with dependency update</buildLevel>
</MakefileSettings>
<LocalBuildSettings>
<workingDirectory>bin</workingDirectory>
</LocalBuildSettings>
</ProjectProperties>
</Configuration>
</Configurations>
</TITAN_Project_File_Information>

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,157 @@
/******************************************************************************
* Copyright (c) 2005, 2014 Ericsson AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Peter Dimitrov- initial implementation and initial documentation
* Adam Delic
* Eduard Czimbalmos
* Endre Kulcsar
* Gabor Bettesch
* Gabor Szalai
* Tamas Buti
* Zoltan Medve
******************************************************************************/
//
// File: SCTPasp_PT.hh
// Description: SCTPasp test port header
// Rev: R11A
// Prodnr: CNL 113 469
//
#ifndef SCTPasp__PT_HH
#define SCTPasp__PT_HH
#include <TTCN3.hh>
#include "SCTPasp_Types.hh"
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/sctp.h>
namespace SCTPasp__Types {
class ASP__SCTP;
class ASP__SCTP__Connect;
class ASP__SCTP__ConnectFrom;
class ASP__SCTP__Listen;
class SCTP__INIT;
class SCTP__EVENTS;
class SO__LINGER;
class SCTP__RTOINFO;
class SAC__STATE;
class SPC__STATE;
class ASP__SCTP__SetSocketOptions;
class ASP__SCTP__Close;
class ASP__SCTP__ASSOC__CHANGE;
class ASP__SCTP__PEER__ADDR__CHANGE;
class ASP__SCTP__SEND__FAILED;
class ASP__SCTP__REMOTE__ERROR;
class ASP__SCTP__SHUTDOWN__EVENT;
class ASP__SCTP__PARTIAL__DELIVERY__EVENT;
class ASP__SCTP__ADAPTION__INDICATION;
class ASP__SCTP__Connected;
class ASP__SCTP__SENDMSG__ERROR;
class ASP__SCTP__RESULT;
}
namespace SCTPasp__PortType {
class SCTPasp__PT_PROVIDER : public PORT {
public:
SCTPasp__PT_PROVIDER(const char *par_port_name = NULL);
~SCTPasp__PT_PROVIDER();
void set_parameter(const char *parameter_name,
const char *parameter_value);
void Event_Handler(const fd_set *read_fds,
const fd_set *write_fds, const fd_set *error_fds,
double time_since_last_call);
protected:
void user_map(const char *system_port);
void user_unmap(const char *system_port);
void user_start();
void user_stop();
void outgoing_send(const SCTPasp__Types::ASP__SCTP__Connect& send_par);
void outgoing_send(const SCTPasp__Types::ASP__SCTP__ConnectFrom& send_par);
void outgoing_send(const SCTPasp__Types::ASP__SCTP__Listen& send_par);
void outgoing_send(const SCTPasp__Types::ASP__SCTP__SetSocketOptions& send_par);
void outgoing_send(const SCTPasp__Types::ASP__SCTP__Close& send_par);
void outgoing_send(const SCTPasp__Types::ASP__SCTP& send_par);
virtual void incoming_message(const SCTPasp__Types::ASP__SCTP& incoming_par) = 0;
virtual void incoming_message(const SCTPasp__Types::ASP__SCTP__ASSOC__CHANGE& incoming_par) = 0;
virtual void incoming_message(const SCTPasp__Types::ASP__SCTP__PEER__ADDR__CHANGE& incoming_par) = 0;
virtual void incoming_message(const SCTPasp__Types::ASP__SCTP__SEND__FAILED& incoming_par) = 0;
virtual void incoming_message(const SCTPasp__Types::ASP__SCTP__REMOTE__ERROR& incoming_par) = 0;
virtual void incoming_message(const SCTPasp__Types::ASP__SCTP__SHUTDOWN__EVENT& incoming_par) = 0;
virtual void incoming_message(const SCTPasp__Types::ASP__SCTP__PARTIAL__DELIVERY__EVENT& incoming_par) = 0;
virtual void incoming_message(const SCTPasp__Types::ASP__SCTP__ADAPTION__INDICATION& incoming_par) = 0;
virtual void incoming_message(const SCTPasp__Types::ASP__SCTP__Connected& incoming_par) = 0;
virtual void incoming_message(const SCTPasp__Types::ASP__SCTP__SENDMSG__ERROR& incoming_par) = 0;
virtual void incoming_message(const SCTPasp__Types::ASP__SCTP__RESULT& incoming_par) = 0;
private:
enum return_value_t { WHOLE_MESSAGE_RECEIVED, PARTIAL_RECEIVE, EOF_OR_ERROR };
return_value_t getmsg(int fd, struct msghdr *msg);
void handle_event(void *buf);
void log(const char *fmt, ...);
void error(const char *fmt, ...);
void handle_event_reconnect(void *buf);
void forced_reconnect(int attempts);
// map operations
void map_put_item(int fd);
int map_get_item(int fd);
void map_delete_item_fd(int fd);
void map_delete_item(int index);
void map_put_item_server(int fd, struct in_addr local_IP_address, unsigned short local_port);
int map_get_item_server(int fd);
void map_delete_item_fd_server(int fd);
void map_delete_item_server(int index);
void create_socket();
in_addr get_in_addr(const char *hostname);
void setNonBlocking(int fd);
boolean simple_mode;
boolean reconnect;
int reconnect_max_attempts;
boolean server_mode;
boolean debug;
int server_backlog;
struct in_addr local_IP_address;
struct in_addr peer_IP_address;
unsigned short local_port;
unsigned short peer_port;
struct sctp_event_subscribe events;
struct sctp_initmsg initmsg;
boolean local_port_is_present;
boolean peer_IP_address_is_present;
boolean peer_port_is_present;
int fd;
fd_set readfds, writefds;
int receiving_fd;
struct fd_map_item;
fd_map_item *fd_map;
int list_len;
struct fd_map_server_item;
fd_map_server_item *fd_map_server;
int list_len_server;
};
}
#endif

View File

@ -0,0 +1,62 @@
/******************************************************************************
* Copyright (c) 2005, 2014 Ericsson AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Peter Dimitrov- initial implementation and initial documentation
* Adam Delic
* Eduard Czimbalmos
* Endre Kulcsar
* Gabor Bettesch
* Gabor Szalai
* Tamas Buti
* Zoltan Medve
******************************************************************************/
//
// File: SCTPasp_PortType.ttcn
// Description: SCTPasp testport definition file
// Rev: R11A
// Prodnr: CNL 113 469
//
module SCTPasp_PortType
{
import from SCTPasp_Types all;
//=========================================================================
//Port Types
//=========================================================================
type port SCTPasp_PT message
{
inout ASP_SCTP;
out ASP_SCTP_Connect;
out ASP_SCTP_ConnectFrom;
out ASP_SCTP_Listen;
out ASP_SCTP_SetSocketOptions;
out ASP_SCTP_Close;
in ASP_SCTP_ASSOC_CHANGE;
in ASP_SCTP_PEER_ADDR_CHANGE;
in ASP_SCTP_SEND_FAILED;
in ASP_SCTP_REMOTE_ERROR;
in ASP_SCTP_SHUTDOWN_EVENT;
in ASP_SCTP_PARTIAL_DELIVERY_EVENT;
in ASP_SCTP_ADAPTION_INDICATION;
in ASP_SCTP_Connected;
in ASP_SCTP_SENDMSG_ERROR;
in ASP_SCTP_RESULT;
} with { extension "provider" }
}//end of module
with {
extension "version R11A"
}

View File

@ -0,0 +1,201 @@
/******************************************************************************
* Copyright (c) 2005, 2014 Ericsson AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Peter Dimitrov- initial implementation and initial documentation
* Adam Delic
* Eduard Czimbalmos
* Endre Kulcsar
* Gabor Bettesch
* Gabor Szalai
* Tamas Buti
* Zoltan Medve
******************************************************************************/
//
// File: SCTPasp_Types.ttcn
// Description: SCTP ASP definition file
// Rev: R11A
// Prodnr: CNL 113 469
//
module SCTPasp_Types
{
//=========================================================================
// Data Types
//=========================================================================
type octetstring PDU_SCTP;
type record ASP_SCTP
{
integer client_id optional,
integer sinfo_stream,
integer sinfo_ppid,
PDU_SCTP data
}
type record ASP_SCTP_Connect
{
charstring peer_hostname optional,
integer peer_portnumber (1..65535) optional
}
type record ASP_SCTP_ConnectFrom
{
charstring local_hostname optional,
integer local_portnumber (1..65535),
charstring peer_hostname optional,
integer peer_portnumber (1..65535) optional
}
type record ASP_SCTP_Listen
{
charstring local_hostname optional,
integer local_portnumber (1..65535)
}
type record SCTP_INIT
{
integer sinit_num_ostreams,
integer sinit_max_instreams,
integer sinit_max_attempts,
integer sinit_max_init_timeo
}
type record SCTP_EVENTS
{
boolean sctp_data_io_event,
boolean sctp_association_event,
boolean sctp_address_event,
boolean sctp_send_failure_event,
boolean sctp_peer_error_event,
boolean sctp_shutdown_event,
boolean sctp_partial_delivery_event,
boolean sctp_adaption_layer_event
}
type record SO_LINGER
{
integer l_onoff,
integer l_linger
}
type record SCTP_RTOINFO
{
integer client_id,
integer srto_initial,
integer srto_max,
integer srto_min
}
type union ASP_SCTP_SetSocketOptions
{
SCTP_INIT Sctp_init,
SCTP_EVENTS Sctp_events,
SO_LINGER So_linger,
SCTP_RTOINFO Sctp_rtoinfo
}
type record ASP_SCTP_Close
{
integer client_id optional
}
type enumerated SAC_STATE
{
SCTP_COMM_UP, SCTP_COMM_LOST, SCTP_RESTART,
SCTP_SHUTDOWN_COMP, SCTP_CANT_STR_ASSOC, SCTP_UNKNOWN_SAC_STATE
}
type record ASP_SCTP_ASSOC_CHANGE
{
integer client_id,
SAC_STATE sac_state
}
type enumerated SPC_STATE
{
SCTP_ADDR_AVAILABLE, SCTP_ADDR_UNREACHABLE, SCTP_ADDR_REMOVED,
SCTP_ADDR_ADDED, SCTP_ADDR_MADE_PRIM, SCTP_ADDR_CONFIRMED, SCTP_UNKNOWN_SPC_STATE
}
type record ASP_SCTP_PEER_ADDR_CHANGE
{
integer client_id,
SPC_STATE spc_state
}
type record ASP_SCTP_SEND_FAILED
{
integer client_id
}
type record ASP_SCTP_REMOTE_ERROR
{
integer client_id
}
type record ASP_SCTP_SHUTDOWN_EVENT
{
integer client_id
}
type record ASP_SCTP_PARTIAL_DELIVERY_EVENT
{
integer client_id
}
type record ASP_SCTP_ADAPTION_INDICATION
{
integer client_id
}
type record ASP_SCTP_Connected
{
integer client_id,
charstring local_hostname,
integer local_portnumber (1..65535),
charstring peer_hostname,
integer peer_portnumber (1..65535)
}
type record ASP_SCTP_SENDMSG_ERROR
{
integer client_id optional,
integer sinfo_stream,
integer sinfo_ppid,
PDU_SCTP data
}
type record ASP_SCTP_RESULT
{
integer client_id optional,
boolean error_status,
charstring error_message optional
}
}//end of module
with {
extension "version R11A"
}

1
bin/General_Types.ttcn Symbolic link
View File

@ -0,0 +1 @@
../COMMON/src/General_Types.ttcn

1
bin/M3UA_Emulation.ttcn Symbolic link
View File

@ -0,0 +1 @@
../M3UA_CNL113537/src/M3UA_Emulation.ttcn

1
bin/M3UA_Types.ttcn Symbolic link
View File

@ -0,0 +1 @@
../M3UA_CNL113536/src/M3UA_Types.ttcn

1
bin/MTP3asp_PortType.ttcn Symbolic link
View File

@ -0,0 +1 @@
../MTP3asp_CNL113337/src/MTP3asp_PortType.ttcn

1
bin/MTP3asp_Types.ttcn Symbolic link
View File

@ -0,0 +1 @@
../MTP3asp_CNL113337/src/MTP3asp_Types.ttcn

190
bin/Makefile Normal file
View File

@ -0,0 +1,190 @@
# This Makefile was generated by the Makefile Generator
# of the TTCN-3 Test Executor version CRL 113 200/6 R1A
# for Elemer Lelik (ethlel@esekilxxen1846) on Wed Apr 12 09:00:44 2017
# Copyright (c) 2000-2017 Ericsson Telecom AB
# The following make commands are available:
# - make, make all Builds the executable test suite.
# - make archive Archives all source files.
# - make check Checks the semantics of TTCN-3 and ASN.1modules.
# - make port Generates port skeletons.
# - make clean Removes all generated files.
# - make compile Translates TTCN-3 and ASN.1 modules to C++.
# - make dep Creates/updates dependency list.
# - make executable Builds the executable test suite.
# - make library Builds the library archive.
# - make objects Builds the object files without linking the executable.
#
# Set these variables...
#
# The path of your TTCN-3 Test Executor installation:
# Uncomment this line to override the environment variable.
# TTCN3_DIR =
# Your platform: (SOLARIS, SOLARIS8, LINUX, FREEBSD or WIN32)
PLATFORM = LINUX
# Your C++ compiler:
# (if you change the platform, you may need to change the compiler)
CXX = g++
# Flags for the C++ preprocessor (and makedepend as well):
CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)/include
# Flags for the C++ compiler:
CXXFLAGS = -Wall
# Flags for the linker:
LDFLAGS =
ifeq ($(PLATFORM), WIN32)
# Silence linker warnings.
LDFLAGS += -Wl,--enable-auto-import,--enable-runtime-pseudo-reloc
endif
# Utility to create library files
AR = ar
ARFLAGS =
# Flags for the TTCN-3 and ASN.1 compiler:
COMPILER_FLAGS = -L
# Execution mode: (either ttcn3 or ttcn3-parallel)
TTCN3_LIB = ttcn3-parallel
# The path of your OpenSSL installation:
# If you do not have your own one, leave it unchanged.
OPENSSL_DIR = $(TTCN3_DIR)
# The path of your libxml2 installation:
# If you do not have your own one, leave it unchanged.
XMLDIR = $(TTCN3_DIR)
# Directory to store the archived source files:
# Note: you can set any directory except ./archive
ARCHIVE_DIR = backup
#
# You may change these variables. Add your files if necessary...
#
# TTCN-3 modules of this project:
TTCN3_MODULES = General_Types.ttcn M3UA_Emulation.ttcn M3UA_Types.ttcn MTP3asp_PortType.ttcn MTP3asp_Types.ttcn SCCP_Emulation.ttcn SCCP_Mapping.ttcn SCCP_Testcases.ttcn SCCP_Types.ttcn SCCPasp_Types.ttcn SCTPasp_PortType.ttcn SCTPasp_Types.ttcn
# ASN.1 modules of this project:
ASN1_MODULES =
# C++ source & header files generated from the TTCN-3 & ASN.1 modules of
# this project:
GENERATED_SOURCES = General_Types.cc M3UA_Emulation.cc M3UA_Types.cc MTP3asp_PortType.cc MTP3asp_Types.cc SCCP_Emulation.cc SCCP_Mapping.cc SCCP_Testcases.cc SCCP_Types.cc SCCPasp_Types.cc SCTPasp_PortType.cc SCTPasp_Types.cc
GENERATED_HEADERS = General_Types.hh M3UA_Emulation.hh M3UA_Types.hh MTP3asp_PortType.hh MTP3asp_Types.hh SCCP_Emulation.hh SCCP_Mapping.hh SCCP_Testcases.hh SCCP_Types.hh SCCPasp_Types.hh SCTPasp_PortType.hh SCTPasp_Types.hh
# C/C++ Source & header files of Test Ports, external functions and
# other modules:
USER_SOURCES = SCTPasp_PT.cc
USER_HEADERS = SCTPasp_PT.hh
# Object files of this project that are needed for the executable test suite:
OBJECTS = $(GENERATED_OBJECTS) $(USER_OBJECTS)
GENERATED_OBJECTS = General_Types.o M3UA_Emulation.o M3UA_Types.o MTP3asp_PortType.o MTP3asp_Types.o SCCP_Emulation.o SCCP_Mapping.o SCCP_Testcases.o SCCP_Types.o SCCPasp_Types.o SCTPasp_PortType.o SCTPasp_Types.o
USER_OBJECTS = SCTPasp_PT.o
# Other files of the project (Makefile, configuration files, etc.)
# that will be added to the archived source files:
OTHER_FILES = Makefile
# The name of the executable test suite:
EXECUTABLE = SCCP_Test
LIBRARY = lib$(EXECUTABLE).a
TARGET = $(EXECUTABLE)
#
# Do not modify these unless you know what you are doing...
# Platform specific additional libraries:
#
SOLARIS_LIBS = -lsocket -lnsl -lxml2 -lresolv
SOLARIS8_LIBS = -lsocket -lnsl -lxml2 -lresolv
LINUX_LIBS = -lxml2 -lpthread -lrt
FREEBSD_LIBS = -lxml2
WIN32_LIBS = -lxml2
#
# Rules for building the executable...
#
all: $(TARGET) ;
executable: $(EXECUTABLE) ;
library: $(LIBRARY) ;
objects: $(OBJECTS) compile;
$(EXECUTABLE): $(OBJECTS)
if $(CXX) $(LDFLAGS) -o $@ $(OBJECTS) \
-L$(TTCN3_DIR)/lib -l$(TTCN3_LIB) \
-L$(OPENSSL_DIR)/lib -lcrypto \
-L$(XMLDIR)/lib $($(PLATFORM)_LIBS); \
then : ; else $(TTCN3_DIR)/bin/titanver $(OBJECTS); exit 1; fi
$(LIBRARY): $(OBJECTS)
$(AR) -r $(ARFLAGS) $(LIBRARY) $(OBJECTS)
%.o: %.c $(GENERATED_HEADERS)
$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) -o $@ $<
%.o: %.cc $(GENERATED_HEADERS)
$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) -o $@ $<
$(GENERATED_SOURCES) $(GENERATED_HEADERS): compile
@if [ ! -f $@ ]; then rm -f compile; $(MAKE) compile; fi
check: $(TTCN3_MODULES) $(ASN1_MODULES)
$(TTCN3_DIR)/bin/compiler -s $(COMPILER_FLAGS) \
$(TTCN3_MODULES) $(PREPROCESSED_TTCN3_MODULES) $(ASN1_MODULES)
port: $(TTCN3_MODULES) $(ASN1_MODULES)
$(TTCN3_DIR)/bin/compiler -t $(COMPILER_FLAGS) \
$(TTCN3_MODULES) $(PREPROCESSED_TTCN3_MODULES) $(ASN1_MODULES)
compile: $(TTCN3_MODULES) $(ASN1_MODULES)
$(TTCN3_DIR)/bin/compiler $(COMPILER_FLAGS) \
$(TTCN3_MODULES) $(ASN1_MODULES) - $?
touch $@
clean:
-rm -f $(EXECUTABLE) $(LIBRARY) $(OBJECTS) $(GENERATED_HEADERS) \
$(GENERATED_SOURCES) compile \
tags *.log
dep: $(GENERATED_SOURCES) $(USER_SOURCES) ;
makedepend $(CPPFLAGS) -DMAKEDEPEND_RUN $(GENERATED_SOURCES) $(USER_SOURCES)
archive:
mkdir -p $(ARCHIVE_DIR)
tar -cvhf - $(TTCN3_MODULES) $(ASN1_MODULES) \
$(USER_HEADERS) $(USER_SOURCES) $(OTHER_FILES) \
| gzip >$(ARCHIVE_DIR)/`basename $(TARGET) .exe`-`date '+%y%m%d-%H%M'`.tgz
diag:
$(TTCN3_DIR)/bin/compiler -v 2>&1
$(TTCN3_DIR)/bin/mctr_cli -v 2>&1
$(CXX) -v 2>&1
$(AR) -V 2>&1
@echo TTCN3_DIR=$(TTCN3_DIR)
@echo OPENSSL_DIR=$(OPENSSL_DIR)
@echo XMLDIR=$(XMLDIR)
@echo PLATFORM=$(PLATFORM)
#
# Add your rules here if necessary...
#

1
bin/SCCP_Emulation.ttcn Symbolic link
View File

@ -0,0 +1 @@
../SCCP_CNL113341/src/SCCP_Emulation.ttcn

1
bin/SCCP_Mapping.ttcn Symbolic link
View File

@ -0,0 +1 @@
../SCCP_CNL113341/src/SCCP_Mapping.ttcnpp

1
bin/SCCP_Mapping.ttcnpp Symbolic link
View File

@ -0,0 +1 @@
../SCCP_CNL113341/src/SCCP_Mapping.ttcnpp

1
bin/SCCP_Testcases.cfg Symbolic link
View File

@ -0,0 +1 @@
../SCCP_Test/SCCP_Testcases.cfg

1
bin/SCCP_Testcases.ttcn Symbolic link
View File

@ -0,0 +1 @@
../SCCP_Test/SCCP_Testcases.ttcn

1
bin/SCCP_Types.ttcn Symbolic link
View File

@ -0,0 +1 @@
../SCCP_CNL113341/src/SCCP_Types.ttcn

1
bin/SCCPasp_Types.ttcn Symbolic link
View File

@ -0,0 +1 @@
../SCCP_CNL113341/src/SCCPasp_Types.ttcn

1
bin/SCTPasp_PT.cc Symbolic link
View File

@ -0,0 +1 @@
../SCTPasp_CNL113469/src/SCTPasp_PT.cc

1
bin/SCTPasp_PT.hh Symbolic link
View File

@ -0,0 +1 @@
../SCTPasp_CNL113469/src/SCTPasp_PT.hh

1
bin/SCTPasp_PortType.ttcn Symbolic link
View File

@ -0,0 +1 @@
../SCTPasp_CNL113469/src/SCTPasp_PortType.ttcn

1
bin/SCTPasp_Types.ttcn Symbolic link
View File

@ -0,0 +1 @@
../SCTPasp_CNL113469/src/SCTPasp_Types.ttcn

34
bin/install.script Executable file
View File

@ -0,0 +1,34 @@
#!/bin/sh
ln -sf ../COMMON/src/General_Types.ttcn .
#M3UA protocol module
ln -sf ../M3UA_CNL113536/src/M3UA_Types.ttcn .
#M3UA Emulator
ln -sf ../M3UA_CNL113537/src/M3UA_Emulation.ttcn .
#MTP3 test port (partly)
ln -sf ../MTP3asp_CNL113337/src/MTP3asp_Types.ttcn .
ln -sf ../MTP3asp_CNL113337/src/MTP3asp_PortType.ttcn .
#SCCP Emulator + protocol module
ln -sf ../SCCP_CNL113341/src/SCCPasp_Types.ttcn .
ln -sf ../SCCP_CNL113341/src/SCCP_Types.ttcn .
ln -sf ../SCCP_CNL113341/src/SCCP_Mapping.ttcnpp .
ln -sf ../SCCP_CNL113341/src/SCCP_Emulation.ttcn .
#SCTP test port
ln -sf ../SCTPasp_CNL113469/src/SCTPasp_Types.ttcn .
ln -sf ../SCTPasp_CNL113469/src/SCTPasp_PortType.ttcn .
ln -sf ../SCTPasp_CNL113469/src/SCTPasp_PT.hh .
ln -sf ../SCTPasp_CNL113469/src/SCTPasp_PT.cc .
#Test cases
ln -sf ../SCCP_Test/SCCP_Testcases.ttcn .
ln -sf ../SCCP_Test/SCCP_Testcases.cfg .