// 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_CHUNK_INIT_AUTH #include "../common/STD_PKT_COMMON.def" PKG_SCTP_EXTH_SEND( sctp_chunk_init_auth_snd, { SourcePort = SCTP_TN0_PORT; DestinationPort = SCTP_NUT0_PORT; }, { chunk = chunk_init_auth_snd; } ) CHUNK_INIT chunk_init_auth_snd { InitiateTag = INITTAG; AdvRecvWindow = ARWND; NumOfOutbound = OS; NumOfInbound = MIS; TSN = INITTSN; Param = auth_chunk_list_snd; Param = auth_hmac_algo_snd; Param = auth_support_ext_snd; } ChunkList auth_chunk_list_snd { Length = 5; ChunkType = TP_CHUNK_SACK; Padding = repeat(0x00, 3); } RequestedHMACAlgorithm auth_hmac_algo_snd { HMACIdentifier = 1; HMACIdentifier = 3; } SupportedExtensions auth_support_ext_snd { Length = 5; ChunkType = TP_CHUNK_AUTH; Padding = repeat(0x00, 3); } // // 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; }