// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// T_VJBOUND_5
// Test Ack deltas (d) where d<-0x10000
// tcsim input file to generate test data for VJ compression tests.
//
//
#include "packet.def"
#include "ports.tc"
dev eth0 100 Mbps {
egress {
}
}
// Packet to prime the compressor
send TCP_PCK($ip_id=1 $ip_sum=0x66cc $tcp_sport = PORT_FTP_DATA $tcp_dport = 1234 $tcp_ACK=1 $tcp_ack=0x10000 $tcp_seq=0 $tcp_sum=0x65ea)
0x31
// Ack-0x10001 (wrap around)
send TCP_PCK($ip_id=2 $ip_sum=0x66cb $tcp_sport = PORT_FTP_DATA $tcp_dport = 1234 $tcp_ACK=1 $tcp_ack=0xffffffff $tcp_seq=1 $tcp_sum=0x64ea)
0x32
// Ack-0x7fffffff
send TCP_PCK($ip_id=3 $ip_sum=0x66ca $tcp_sport = PORT_FTP_DATA $tcp_dport = 1234 $tcp_ACK=1 $tcp_ack=0x80000000 $tcp_seq=2 $tcp_sum=0xe3e8)
0x33
end