blob: b746f5f6a1335d27637cc759b8fe120a299b780d [file] [log] [blame]
///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2000-2018 Ericsson Telecom AB
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v2.0
// which accompanies this distribution, and is available at
// https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
///////////////////////////////////////////////////////////////////////////////
//
// File: SCTP_Engine_Templates.ttcn
// Description: Template definition of the SCTP Engine
// Rev: <RnXnn>
// Prodnr: CNL 113 840
//
module SCTP_Engine_Templates{
import from SCTP_Types all;
const SCTP_Common_header c_empty_sctp_common_header:={
source_port := 0,
destination_port := 0,
verification_tag := 0,
checksum := '00000000'O
}
const SCTP_Packet c_empty_sctp_packet:={
common_header := c_empty_sctp_common_header,
chunks :={}
}
const SCTP_abort_chunk c_empty_abort_chunk := {
chunk_type := 6,
T_flag := '0'B,
flags := '0000000'B,
chunk_length := 0,
params := omit
}
const SCTP_ShutdownComplete_chunk c_empty_shutdown_complete_chunk := {
chunk_type := 14,
T_flag := '0'B,
flags := '0000000'B,
chunk_length := 0
}
const SCTP_Init_chunk c_empty_init_chunk :={
chunk_type := 1,
flags := '00000000'B,
chunk_length := 0,
init_tag := 0,
a_rwnd := 0,
os := 0,
mis := 0,
init_tsn := 0,
params := omit
}
const SCTP_InitAck_chunk c_empty_init_ack_chunk :={
chunk_type := 2,
flags := '00000000'B,
chunk_length := 0,
init_tag := 0,
a_rwnd := 0,
os := 0,
mis := 0,
init_tsn := 0,
params := omit
}
}