cosmetic: Update copyright statement, license notice and SPDX

Some of our files didn't have a copyright notice at all, let's add
it.  Also, update the notices in other files and ensure a SPDX
identifier is present in all but the most trivial files.

Change-Id: If7fa19ce484b415bc645e39b3d0d666b44b5f0fd
This commit is contained in:
Harald Welte 2019-05-27 11:54:11 +02:00
parent 1490695778
commit 34b5a95d09
84 changed files with 596 additions and 32 deletions

View File

@ -1,5 +1,16 @@
module BSCNAT_Tests { module BSCNAT_Tests {
/* osmo-bsc_nat test suite in TTCN-3
* (C) 2018-2019 sysmocom - s.f.m.c. GmbH
* Author: Daniel Willmann
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from Osmocom_Types all; import from Osmocom_Types all;
import from IPL4asp_Types all; import from IPL4asp_Types all;

View File

@ -1,5 +1,14 @@
module BSC_MS_ConnectionHandler { module BSC_MS_ConnectionHandler {
/* (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all; import from General_Types all;
import from Osmocom_Types all; import from Osmocom_Types all;
import from SCCPasp_Types all; import from SCCPasp_Types all;

View File

@ -1,5 +1,15 @@
module BSC_MS_Simulation { module BSC_MS_Simulation {
/* (C) 2017-2018 Harald Welte <laforge@gnumonks.org>
* (C) 2018 sysmocom - s.f.m.c. Gmbh; Author: Daniel Willmann
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from IPL4asp_Types all; import from IPL4asp_Types all;
import from IPA_Emulation all; import from IPA_Emulation all;

View File

@ -1,5 +1,15 @@
module MGCP_Adapter { module MGCP_Adapter {
/* MGCP Adapter for bsc-nat tests in TTCN-3
* (C) 2017 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from IPL4asp_Types all; import from IPL4asp_Types all;
import from MGCP_Types all; import from MGCP_Types all;

View File

@ -1,5 +1,14 @@
module MSC_ConnectionHandler { module MSC_ConnectionHandler {
/* (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all; import from General_Types all;
import from Osmocom_Types all; import from Osmocom_Types all;
import from SCCPasp_Types all; import from SCCPasp_Types all;

View File

@ -7,6 +7,8 @@ module BSC_Tests {
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
* *
* SPDX-License-Identifier: GPL-2.0-or-later
*
* This test suite tests OsmoBSC while emulating both multiple BTS + MS as * This test suite tests OsmoBSC while emulating both multiple BTS + MS as
* well as the MSC. See README for more details. * well as the MSC. See README for more details.
* *

View File

@ -7,6 +7,8 @@ module BSC_Tests_LCLS {
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
* *
* SPDX-License-Identifier: GPL-2.0-or-later
*
* This test suite tests OsmoBSC while emulating both multiple BTS + MS as * This test suite tests OsmoBSC while emulating both multiple BTS + MS as
* well as the MSC. See README for more details. * well as the MSC. See README for more details.
* *

View File

@ -1,5 +1,16 @@
module MSC_ConnectionHandler { module MSC_ConnectionHandler {
/* MSC Connection HAndler of BSC Tests in TTCN-3
* (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from Misc_Helpers all; import from Misc_Helpers all;
import from General_Types all; import from General_Types all;
import from Osmocom_Types all; import from Osmocom_Types all;

View File

@ -1,13 +1,15 @@
module BTS_Tests { module BTS_Tests {
/* Integration Tests for OsmoBTS /* Integration Tests for OsmoBTS
* (C) 2019-2019 by Harald Welte <laforge@gnumonks.org> * (C) 2018-2019 by Harald Welte <laforge@gnumonks.org>
* contributions by Vadim Yanitskiy and sysmocom - s.f.m.c. GmbH * contributions by Vadim Yanitskiy and sysmocom - s.f.m.c. GmbH
* All rights reserved. * All rights reserved.
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
* *
* SPDX-License-Identifier: GPL-2.0-or-later
*
* This test suite tests OsmoBTS by attaching to the external interfaces * This test suite tests OsmoBTS by attaching to the external interfaces
* such as Abis RSL, PCU, VTY as well as by attaching to a MS L1 implementation * such as Abis RSL, PCU, VTY as well as by attaching to a MS L1 implementation
* using the L1CTL protocol/interface. * using the L1CTL protocol/interface.

View File

@ -7,6 +7,8 @@ module BTS_Tests_SMSCB {
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
* *
* SPDX-License-Identifier: GPL-2.0-or-later
*
* This test suite tests the SMSCB (Cell Broadcast) related functionality of * This test suite tests the SMSCB (Cell Broadcast) related functionality of
* OsmoBTS by attaching to the A-bis RSL and Um interface and emulating both * OsmoBTS by attaching to the A-bis RSL and Um interface and emulating both
* BSC and MS. * BSC and MS.

View File

@ -1,5 +1,17 @@
module GGSN_Tests { module GGSN_Tests {
/* GGSN test suite in TTCN-3
* (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* (C) 2018-2019 sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all; import from General_Types all;
import from Osmocom_Types all; import from Osmocom_Types all;
import from IPL4asp_PortType all; import from IPL4asp_PortType all;

View File

@ -6,7 +6,15 @@
* function, which will return whatever PDU to send in response back to the HLR. * function, which will return whatever PDU to send in response back to the HLR.
*/ */
/* (C) 2018 by Harald Welte <laforge@gnumonks.org> */
/* (C) 2018 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module HLR_EUSE { module HLR_EUSE {

View File

@ -1,5 +1,19 @@
module HLR_Tests { module HLR_Tests {
/* HLR test suite in TTCN-3
* (C) 2017-2018 Harald Welte <laforge@gnumonks.org>
* (C) 2018 sysmocom - s.f.m.c. GmbH
* (C) 2018 Vadim Yanitskiy <axilirator@gmail.com>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from GSUP_Types all; import from GSUP_Types all;
import from GSUP_Emulation all; import from GSUP_Emulation all;
import from IPA_Emulation all; import from IPA_Emulation all;

View File

@ -10,6 +10,8 @@ module AbisOML_Types {
* *
* Released under the terms of the GNU General Public License, Version 2 or * Released under the terms of the GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from General_Types all; import from General_Types all;

View File

@ -9,6 +9,8 @@ module BSSAP_CodecPort {
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from General_Types all; import from General_Types all;

View File

@ -1,5 +1,15 @@
module BSSGP_Emulation { module BSSGP_Emulation {
/* BSSGP Emulation in TTCN-3
* (C) 2018-2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all; import from General_Types all;
import from Osmocom_Types all; import from Osmocom_Types all;
import from NS_Types all; import from NS_Types all;

View File

@ -1,5 +1,15 @@
module BSSGP_Types { module BSSGP_Types {
/* BSSGP type definitions in TTCN-3
* (C) 2018 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all; import from General_Types all;
import from Osmocom_Types all; import from Osmocom_Types all;
import from GSM_Types all; import from GSM_Types all;

View File

@ -2,11 +2,14 @@ module BSSMAP_Templates {
/* BSSMAP Templates, building on top of BSSAP_Types from Ericsson. /* BSSMAP Templates, building on top of BSSAP_Types from Ericsson.
* *
* (C) 2017 by Harald Welte <laforge@gnumonks.org> * (C) 2017-2019 by Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved. * All rights reserved.
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from General_Types all; import from General_Types all;

View File

@ -1,5 +1,15 @@
module DNS_Helpers { module DNS_Helpers {
/* DNS Helper functions in TTCN-3
* (C) 2018 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
private function f_strchr(charstring s, char c) return integer { private function f_strchr(charstring s, char c) return integer {
var integer i; var integer i;
for (i := 0; i < lengthof(s); i := i+1) { for (i := 0; i < lengthof(s); i := i+1) {

View File

@ -1,4 +1,13 @@
/* dual-faced port that wraps an IPL4asp port and encodes/decodes GSMTAP */ /* dual-faced port that wraps an IPL4asp port and encodes/decodes GSMTAP
* (C) 2017 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0+
*/
module GSMTAP_PortType { module GSMTAP_PortType {
import from GSMTAP_Types all; import from GSMTAP_Types all;
import from IPL4asp_PortType all; import from IPL4asp_PortType all;

View File

@ -1,7 +1,14 @@
/* Encoding/Decoding routines for GSM System Information messages /* Encoding/Decoding routines for GSM System Information messages
* according to 3GPP TS 44.018 Version 12.3.0 Release 12 */ * according to 3GPP TS 44.018 Version 12.3.0 Release 12
*
/* (C) 2017 by Harald Welte <laforge@gnumonks.org> */ * (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module GSM_RR_Types { module GSM_RR_Types {

View File

@ -1,7 +1,14 @@
/* Encoding/Decoding routines for GSM System Information messages /* Encoding/Decoding routines for GSM System Information messages
* according to 3GPP TS 44.018 Version 12.3.0 Release 12 */ * according to 3GPP TS 44.018 Version 12.3.0 Release 12
*
/* (C) 2017 by Harald Welte <laforge@gnumonks.org> */ * (C) 2018 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module GSM_SystemInformation { module GSM_SystemInformation {

View File

@ -1,7 +1,14 @@
/* Encoding/Decoding routines for GSM System Information messages /* Encoding/Decoding routines for GSM System Information messages
* according to 3GPP TS 44.018 Version 12.3.0 Release 12 */ * according to 3GPP TS 44.018 Version 12.3.0 Release 12
*
/* (C) 2017 by Harald Welte <laforge@gnumonks.org> */ * (C) 2017-2018 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module GSM_Types { module GSM_Types {

View File

@ -24,6 +24,8 @@ module GSUP_Emulation {
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */

View File

@ -5,11 +5,14 @@ module GSUP_Types {
* GSUP is a non-standard protocol used between OsmoMSC/OsmoSGSN and OsmoHLR * GSUP is a non-standard protocol used between OsmoMSC/OsmoSGSN and OsmoHLR
* in order to replace the complex TCAP/MAP protocol. * in order to replace the complex TCAP/MAP protocol.
* *
* (C) 2017 by Harald Welte <laforge@gnumonks.org> * (C) 2017-2019 by Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved. * All rights reserved.
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from General_Types all; import from General_Types all;

View File

@ -1,5 +1,14 @@
/* dual-faced port sitting on top of IPL4_asp UDP to encode/decode GTP */ /* dual-faced port sitting on top of IPL4_asp UDP to encode/decode GTP
/* (C) 2017 by Harald Welte <laforge@gnumonks.org */ * (C) 2017 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module GTP_CodecPort { module GTP_CodecPort {
import from IPL4asp_PortType all; import from IPL4asp_PortType all;
import from IPL4asp_Types all; import from IPL4asp_Types all;

View File

@ -1,3 +1,14 @@
/* GTP Emulation in TTCN-3
*
* (C) 2018 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module GTP_Emulation { module GTP_Emulation {
import from IPL4asp_Types all; import from IPL4asp_Types all;

View File

@ -1,3 +1,14 @@
/* GTP Templates in TTCN-3
* (C) 2018 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module GTP_Templates { module GTP_Templates {
import from General_Types all; import from General_Types all;

View File

@ -4,11 +4,13 @@ module IPA_CodecPort {
* towards the IPL4asp port provider, and IPA primitives * towards the IPL4asp port provider, and IPA primitives
* which carry the decoded IPA data types as payload. * which carry the decoded IPA data types as payload.
* *
* (C) 2017 by Harald Welte <laforge@gnumonks.org> * (C) 2017-2018 by Harald Welte <laforge@gnumonks.org>
* All rights reserved. * All rights reserved.
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from IPL4asp_PortType all; import from IPL4asp_PortType all;

View File

@ -8,11 +8,14 @@ module IPA_Emulation {
* GSUP. IT hence transcodes messages so the user can work with abstract data types rather * GSUP. IT hence transcodes messages so the user can work with abstract data types rather
* than binary messages. It handles multiple packets inside one TCP segment. * than binary messages. It handles multiple packets inside one TCP segment.
* *
* (C) 2017-2018 by Harald Welte <laforge@gnumonks.org> * (C) 2017-2019 by Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved. * All rights reserved.
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from IPA_Types all; import from IPA_Types all;

View File

@ -4,6 +4,8 @@
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
/* /*

View File

@ -4,11 +4,13 @@ module IPA_Types {
* Uses the TITAN "RAW" codec syntax to auto-generate encoder and decoder * Uses the TITAN "RAW" codec syntax to auto-generate encoder and decoder
* functions. * functions.
* *
* (C) 2017 by Harald Welte <laforge@gnumonks.org> * (C) 2017-2018 by Harald Welte <laforge@gnumonks.org>
* All rights reserved. * All rights reserved.
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from Osmocom_Types all; import from Osmocom_Types all;

View File

@ -1,3 +1,13 @@
/* IPCP (IP Configuration Protocol) in TTCN-3
* (C) 2017 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module IPCP_Types { module IPCP_Types {
import from Osmocom_Types all; import from Osmocom_Types all;

View File

@ -11,9 +11,10 @@ module IuUP_Emulation {
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from Osmocom_Types all; import from Osmocom_Types all;
import from IuUP_Types all; import from IuUP_Types all;

View File

@ -1,4 +1,14 @@
/* dual-faced port that wraps an Unixdomain port and encodes/decodes L1CTL */ /* dual-faced port that wraps an Unixdomain port and encodes/decodes L1CTL
* (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module L1CTL_PortType { module L1CTL_PortType {
import from L1CTL_Types all; import from L1CTL_Types all;
import from UD_PortType all; import from UD_PortType all;

View File

@ -1,6 +1,14 @@
/* Data Types / Encoding / Decoding for OsmocomBB L1CTL interface */ /* Data Types / Encoding / Decoding for OsmocomBB L1CTL interface */
/* (C) 2017 by Harald Welte <laforge@gnumonks.org>, derived from l1ctl_proto.h /* (C) 2017 by Harald Welte <laforge@gnumonks.org>, derived from l1ctl_proto.h
* (C) 2010 by Harald Welte + Holger Hans Peter Freyther */ * which is (C) 2010 by Harald Welte + Holger Hans Peter Freyther
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module L1CTL_Types { module L1CTL_Types {
import from General_Types all; import from General_Types all;

View File

@ -1,3 +1,14 @@
/* Common L3 helper functions in TTCN-3
* (C) 2018 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module L3_Common { module L3_Common {
import from Osmocom_Types all; import from Osmocom_Types all;

View File

@ -7,6 +7,8 @@ module L3_Templates {
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from General_Types all; import from General_Types all;

View File

@ -1,6 +1,16 @@
/* Test Port that stacks on top of L1CTL test port and performs LAPDm encoding/decoding, so the user can send /* Test Port that stacks on top of L1CTL test port and performs LAPDm encoding/decoding, so the user can send
* and receive LAPDm frames in decoded TTCN-3 data types. This is particularly useful for sending/receiving * and receive LAPDm frames in decoded TTCN-3 data types. This is particularly useful for sending/receiving
* all kinds of hand-crafted LAPDm frames for testing of the remote LAPDm layer */ * all kinds of hand-crafted LAPDm frames for testing of the remote LAPDm layer */
/* (C) 2017-2018 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module LAPDm_RAW_PT { module LAPDm_RAW_PT {
import from GSM_Types all; import from GSM_Types all;
import from GSM_RR_Types all; import from GSM_RR_Types all;

View File

@ -1,5 +1,13 @@
/* LAPDm definitiona according to 3GPP TS 44.006 */ /* LAPDm definitions according to 3GPP TS 44.006
/* (C) 2017-2018 bh Harald Welte <laforge@gnumonks.org> */ * (C) 2017-2018 by Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module LAPDm_Types { module LAPDm_Types {
import from General_Types all; import from General_Types all;

View File

@ -1,3 +1,14 @@
/* LLC Templates in TTCN-3
* (C) 2018-2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module LLC_Templates { module LLC_Templates {
import from LLC_Types all; import from LLC_Types all;

View File

@ -5,10 +5,13 @@ module MGCP_CodecPort {
* which carry the decoded MGCP data types as payload. * which carry the decoded MGCP data types as payload.
* *
* (C) 2017 by Harald Welte <laforge@gnumonks.org> * (C) 2017 by Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved. * All rights reserved.
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from IPL4asp_PortType all; import from IPL4asp_PortType all;

View File

@ -25,6 +25,8 @@ module MGCP_Emulation {
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from MGCP_CodecPort all; import from MGCP_CodecPort all;

View File

@ -27,6 +27,8 @@ module MNCC_Emulation {
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */

View File

@ -1,3 +1,15 @@
/* Osmocom MNCC type definitions in TTCN-3
* (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom -s.f.m.c. GmbH
* (C) 2018 Vadim Yanitskiy <axilirator@gmail.com>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module MNCC_Types { module MNCC_Types {
import from Osmocom_Types all; import from Osmocom_Types all;

View File

@ -1,3 +1,14 @@
/* GPRS-NS Emulation in TTCN-3
* (C) 2018 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module NS_Emulation { module NS_Emulation {
import from NS_Types all; import from NS_Types all;
import from BSSGP_Types all; import from BSSGP_Types all;

View File

@ -1,3 +1,13 @@
/* GPRS-NS type definitions in TTCN-3
* (C) 2017 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module NS_Types { module NS_Types {
import from General_Types all; import from General_Types all;
import from Osmocom_Types all; import from Osmocom_Types all;

View File

@ -1,7 +1,13 @@
/* Utility functions that I'm used to from C but for which I couldn't find TTCN-3 implementations /* Utility functions that I'm used to from C but for which I couldn't find TTCN-3 implementations
* *
* (C) 2017 by Harald Welte <laforge@gnumonks.org> * (C) 2017 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
#include <sys/socket.h> #include <sys/socket.h>

View File

@ -1,6 +1,15 @@
module Osmocom_CTRL_Adapter { module Osmocom_CTRL_Adapter {
/* Module that test suites can 'inherit' in order to have a CTRL connection to the IUT which they're testing */ /* Module that test suites can 'inherit' in order to have a CTRL connection to the IUT which they're testing
* (C) 2018 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from IPL4asp_Types all; import from IPL4asp_Types all;

View File

@ -3,11 +3,13 @@ module Osmocom_CTRL_Types {
/* Definition of abstract types for the CTRL protocol as used in Osmocom. /* Definition of abstract types for the CTRL protocol as used in Osmocom.
* Uses the TITAN "TEXT" codec to auto-generate encoder/decoder functions. * Uses the TITAN "TEXT" codec to auto-generate encoder/decoder functions.
* *
* (C) 2017 by Harald Welte <laforge@gnumonks.org> * (C) 2017-2018 by Harald Welte <laforge@gnumonks.org>
* All rights reserved. * All rights reserved.
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
type charstring CtrlVerb ("GET", "SET") with { type charstring CtrlVerb ("GET", "SET") with {

View File

@ -1,3 +1,13 @@
/* Osmocom utility type definitions in TTCN-3
* (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module Osmocom_Types { module Osmocom_Types {
import from General_Types all; import from General_Types all;

View File

@ -1,3 +1,14 @@
/* Osmocom VTY interface functions in TTCN-3
* (C) 2017-2018 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module Osmocom_VTY_Functions { module Osmocom_VTY_Functions {
import from TELNETasp_PortType all; import from TELNETasp_PortType all;
import from Osmocom_Types all; import from Osmocom_Types all;

View File

@ -5,6 +5,8 @@ module PAP_Types {
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from Osmocom_Types all; import from Osmocom_Types all;

View File

@ -1,3 +1,14 @@
/* PCU Interface codec poart in TTCN-3
* (C) 2018 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module PCUIF_CodecPort { module PCUIF_CodecPort {
import from Osmocom_Types all; import from Osmocom_Types all;

View File

@ -1,10 +1,19 @@
/* Osmocom PCU Interface Types, as per osmo-pcu/include/osmocom/pcu/pcuif_proto.h
* (C) 2018-2019 Harald Welte <laforge@gnumonks.org>
* contributions by Vadim Yanitskiy <axilirator@gmail.com>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module PCUIF_Types { module PCUIF_Types {
import from General_Types all; import from General_Types all;
import from Osmocom_Types all; import from Osmocom_Types all;
/* Osmocom PCU Interface Types, as per osmo-pcu/include/osmocom/pcu/pcuif_proto.h */
const charstring PCU_SOCK_DEFAULT := "/tmp/pcu_bts"; const charstring PCU_SOCK_DEFAULT := "/tmp/pcu_bts";
const uint32_t PCU_IF_VERSION := 9; const uint32_t PCU_IF_VERSION := 9;

View File

@ -5,6 +5,16 @@ module RAN_Adapter {
* with deoded BSSAP/RANAP payload. Use this if you want to have full control about what you transmit or * with deoded BSSAP/RANAP payload. Use this if you want to have full control about what you transmit or
* receive, without any automatisms in place. Allows you to refuse connections or other abnormal behavior. */ * receive, without any automatisms in place. Allows you to refuse connections or other abnormal behavior. */
/* (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all; import from General_Types all;
import from Osmocom_Types all; import from Osmocom_Types all;

View File

@ -1,7 +1,17 @@
/* GPRS RLC/MAC Control Messages as per 3GPP TS 44.060 manually transcribed from the CSN.1 syntax, as no CSN.1 /* GPRS RLC/MAC Control Messages as per 3GPP TS 44.060 manually transcribed from the CSN.1 syntax, as no CSN.1
* tool for Eclipse TITAN could be found. Implements only the minimum necessary messages for Osmocom teseting * tool for Eclipse TITAN could be found. Implements only the minimum necessary messages for Osmocom teseting
* purposes. * purposes. */
* (C) 2017 by Harald Welte <laforge@gnumonks.org> */
/* (C) 2017-2018 Harald Welte <laforge@gnumonks.org>
* contributions by sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module RLCMAC_CSN1_Types { module RLCMAC_CSN1_Types {
import from General_Types all; import from General_Types all;
import from Osmocom_Types all; import from Osmocom_Types all;

View File

@ -4,6 +4,12 @@
* beyond what TITAN RAW coder can handle internally. * beyond what TITAN RAW coder can handle internally.
* *
* (C) 2017 by Harald Welte <laforge@gnumonks.org> * (C) 2017 by Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
namespace RLCMAC__Types { namespace RLCMAC__Types {

View File

@ -1,4 +1,14 @@
/* TITAN REW encode/decode definitions for 3GPP TS 44.060 RLC/MAC Blocks */ /* TITAN REW encode/decode definitions for 3GPP TS 44.060 RLC/MAC Blocks */
/* (C) 2017-2018 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module RLCMAC_Types { module RLCMAC_Types {
import from General_Types all; import from General_Types all;
import from Osmocom_Types all; import from Osmocom_Types all;

View File

@ -21,6 +21,8 @@ module RSL_Emulation {
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from Misc_Helpers all; import from Misc_Helpers all;

View File

@ -9,6 +9,8 @@ module RSL_Types {
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from General_Types all; import from General_Types all;

View File

@ -9,6 +9,8 @@ module RTP_CodecPort {
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from IPL4asp_PortType all; import from IPL4asp_PortType all;

View File

@ -14,6 +14,17 @@ module RTP_Emulation {
* * enable/disable generation/verification of RTCP * * enable/disable generation/verification of RTCP
*/ */
/* (C) 2017-2018 Harald Welte <laforge@gnumonks.org>
* (C) 2018-2019 sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
/* Ideas: /* Ideas:
* each component consists of transmitter and receiver * each component consists of transmitter and receiver

View File

@ -3,6 +3,8 @@
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
module SCCP_Templates { module SCCP_Templates {

View File

@ -9,6 +9,8 @@ module SGsAP_CodecPort {
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from IPL4asp_PortType all; import from IPL4asp_PortType all;

View File

@ -23,6 +23,8 @@ module SGsAP_Emulation {
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from SGsAP_CodecPort all; import from SGsAP_CodecPort all;

View File

@ -6,6 +6,8 @@ module SGsAP_Templates {
* *
* Released under the terms of the GNU General Public License, Version 2 or * Released under the terms of the GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from SGsAP_Types all; import from SGsAP_Types all;

View File

@ -24,6 +24,8 @@ module SIP_Emulation {
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from SIPmsg_Types all; import from SIPmsg_Types all;

View File

@ -9,6 +9,8 @@ module SMPP_CodecPort {
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */

View File

@ -7,6 +7,8 @@ module SMPP_Emulation {
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */

View File

@ -7,6 +7,8 @@ module SS_Templates {
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from General_Types all; import from General_Types all;

View File

@ -1,5 +1,15 @@
module TRXC_Types { module TRXC_Types {
/* TRX Control protocol type definitions in TTCN-3
* (C) 2018 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from Osmocom_Types all; import from Osmocom_Types all;
type charstring TrxcType ("CMD", "RSP", "IND") with { type charstring TrxcType ("CMD", "RSP", "IND") with {

View File

@ -8,6 +8,8 @@ module USSD_Helpers {
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from General_Types all; import from General_Types all;

View File

@ -1,3 +1,14 @@
/* MGW (Media Gateway) test suite in TTCN-3
* (C) 2017-2018 Harald Welte <laforge@gnumonks.org>
* (C) 2018-2019 sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module MGCP_Test { module MGCP_Test {
import from Osmocom_Types all; import from Osmocom_Types all;
import from MGCP_Types all; import from MGCP_Types all;

View File

@ -1,3 +1,15 @@
/* BSC Connection Handler of MSC test suite in TTCN-3
* (C) 2018-2019 Harald Welte <laforge@gnumonks.org>
* (C) 2018-2019 sysmocom - s.f.m.c. GmbH
* (C) 2018 Vadim Yanitskiy <axilirator@gmail.com>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
module BSC_ConnectionHandler { module BSC_ConnectionHandler {
import from General_Types all; import from General_Types all;

View File

@ -1,5 +1,17 @@
module MSC_Tests { module MSC_Tests {
/* Osmocom MSC test suite in in TTCN-3
* (C) 2017-2019 Harald Welte <laforge@gnumonks.org>
* (C) 2018-2019 sysmocom - s.f.m.c. GmbH
* (C) 2018-2019 Vadim Yanitskiy <axilirator@gmail.com>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
friend module MSC_Tests_Iu; friend module MSC_Tests_Iu;
import from General_Types all; import from General_Types all;

View File

@ -1,5 +1,15 @@
module MSC_Tests_Iu { module MSC_Tests_Iu {
/* Osmocom MSC test suite for Iu interface in TTCN-3
* (C) 2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all; import from General_Types all;
import from Osmocom_Types all; import from Osmocom_Types all;

View File

@ -7,9 +7,10 @@ module GPRS_TBF {
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
import from GSM_Types all; import from GSM_Types all;
import from Osmocom_Types all; import from Osmocom_Types all;
import from General_Types all; import from General_Types all;

View File

@ -1,5 +1,15 @@
module PCU_Tests { module PCU_Tests {
/* Osmocom PCU test suite in TTCN-3
* (C) 2018-2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all; import from General_Types all;
import from Osmocom_Types all; import from Osmocom_Types all;
import from GSM_Types all; import from GSM_Types all;

View File

@ -6,6 +6,15 @@ module PCU_Tests_RAW {
standard procedures on the NS and BSSGP level. The goal of these tests is to test exactly standard procedures on the NS and BSSGP level. The goal of these tests is to test exactly
those NS and BSSGP implementations on the BSS (PCU) side. */ those NS and BSSGP implementations on the BSS (PCU) side. */
/* (C) 2018-2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all; import from General_Types all;
import from Osmocom_Types all; import from Osmocom_Types all;
import from GSM_Types all; import from GSM_Types all;

View File

@ -1,5 +1,15 @@
module PCU_Tests_RAW_SNS { module PCU_Tests_RAW_SNS {
/* Osmocom PCU test suite for IP Sub-Network-Service (SNS) in TTCN-3
* (C) 2018-2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from Osmocom_Types all; import from Osmocom_Types all;
import from PCU_Tests all; import from PCU_Tests all;
import from PCU_Tests_RAW all; import from PCU_Tests_RAW all;

View File

@ -4,6 +4,8 @@
* *
* Released under the terms of GNU General Public License, Version 2 or * Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version. * (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/ */
module SCCP_Tests { module SCCP_Tests {

View File

@ -1,5 +1,16 @@
module SGSN_Tests { module SGSN_Tests {
/* Osmocom SGSN test suite in TTCN-3
* (C) 2018-2019 Harald Welte <laforge@gnumonks.org>
* (C) 2018-2019 sysmocom - s.f.m.c. GmbH
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all; import from General_Types all;
import from Osmocom_Types all; import from Osmocom_Types all;
import from Native_Functions all; import from Native_Functions all;

View File

@ -1,5 +1,15 @@
module SIP_Tests { module SIP_Tests {
/* osmo-sip-connector test suite in TTCN-3
* (C) 2018-2019 Harald Welte <laforge@gnumonks.org>
* All rights reserved.
*
* Released under the terms of GNU General Public License, Version 2 or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import from General_Types all; import from General_Types all;
import from Osmocom_Types all; import from Osmocom_Types all;