// SCTP Conformance Test Suite Implementation // (C) Copyright Fujitsu Ltd. 2008, 2009 // // This file is part of the SCTP Conformance Test Suite implementation. // // The SCTP Conformance Test Suite implementation is free software; // you can redistribute it and/or modify it under the terms of // the GNU General Public License version 2 as published by // the Free Software Foundation. // // The SCTP Conformance Test Suite implementation is distributed in the // hope that it will be useful, but WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE. See the GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with GNU CC; see the file COPYING. If not, write to // the Free Software Foundation, 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. // // Please send any bug reports or fixes you make to the // email address(es): // networktest sctp // // Or submit a bug report through the following website: // http://networktest.sourceforge.net/ // // Written or modified by: // Hiroaki Kago // Wei Yongjun // // Any bugs reported given to us we will try to fix... any fixes shared will // be incorporated into the next SCTP release. // #define NO_STD_SND_AUTH_CHUNK_LIST #define NO_STD_RCV_CHUNK_COOKIE_ACK #define NO_STD_RCV_CHUNK_SHUTDOWN_ACK #include "../common/STD_PKT_COMMON.def" ChunkList auth_chunk_list_snd { ChunkType = TP_CHUNK_DATA; ChunkType = TP_CHUNK_SACK; ChunkType = TP_CHUNK_ABORT; ChunkType = TP_CHUNK_SHUTDOWN; ChunkType = TP_CHUNK_SHUTDOWN_ACK; ChunkType = TP_CHUNK_COOKIE_ECHO; ChunkType = TP_CHUNK_COOKIE_ACK; Padding = repeat(0x00, 1); } // // SCTP CHUNK_SACK // PKG_SCTP_SHORT_RECV( sctp_chunk_sack_auth_rcv, { chunk = chunk_auth_rcv; chunk = chunk_sack_rcv; } ) CHUNK_AUTH chunk_auth_rcv { SharedKeyIdentifier = stop; } // // SCTP CHUNK_COOKIE_ACK // PKG_SCTP_SHORT_RECV( sctp_chunk_cookie_ack_rcv, { chunk = chunk_auth_rcv; chunk = chunk_cookie_ack_rcv; } ) CHUNK_COOKIE_ACK chunk_cookie_ack_rcv { } // // SCTP CHUNK_SHUTDOWN // PKG_SCTP_SHORT_RECV( sctp_chunk_shutdown_ack_rcv, { chunk = chunk_auth_rcv; chunk = chunk_shutdown_ack_rcv; } ) CHUNK_SHUTDOWN_ACK chunk_shutdown_ack_rcv { }