equal
deleted
inserted
replaced
|
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of the License "Symbian Foundation License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // T_VJBOUND_2 |
|
15 // Test Ack deltas (d) where 0x100<=d<0x10000 |
|
16 // tcsim input file to generate test data for VJ compression tests. |
|
17 // |
|
18 // |
|
19 |
|
20 #include "packet.def" |
|
21 #include "ports.tc" |
|
22 |
|
23 dev eth0 100 Mbps { |
|
24 egress { |
|
25 } |
|
26 } |
|
27 |
|
28 // Packet to prime the compressor |
|
29 send TCP_PCK($ip_id=1 $ip_sum=0x66cc $tcp_sport = PORT_FTP_DATA $tcp_dport = 1234 $tcp_ACK=1 $tcp_seq=0 $tcp_sum=0x65eb) |
|
30 0x31 |
|
31 |
|
32 // Ack+0x100 |
|
33 send TCP_PCK($ip_id=2 $ip_sum=0x66cb $tcp_sport = PORT_FTP_DATA $tcp_dport = 1234 $tcp_ACK=1 $tcp_ack=0x100 $tcp_seq=1 $tcp_sum=0x63ea) |
|
34 0x32 |
|
35 |
|
36 // Ack+0xffff |
|
37 send TCP_PCK($ip_id=3 $ip_sum=0x66ca $tcp_sport = PORT_FTP_DATA $tcp_dport = 1234 $tcp_ACK=1 $tcp_ack=0x100ff $tcp_seq=2 $tcp_sum=0x62e9) |
|
38 0x33 |
|
39 |
|
40 // Reset ACK just before wraparound |
|
41 send TCP_PCK($ip_id=4 $ip_sum=0x66c9 $tcp_sport = PORT_FTP_DATA $tcp_dport = 1234 $tcp_ACK=1 $tcp_ack=0xffffff80 $tcp_seq=3 $tcp_sum=0x6367) |
|
42 0x34 |
|
43 |
|
44 // Ack+0x1000 |
|
45 send TCP_PCK($ip_id=5 $ip_sum=0x66c8 $tcp_sport = PORT_FTP_DATA $tcp_dport = 1234 $tcp_ACK=1 $tcp_ack=0xf80 $tcp_seq=4 $tcp_sum=0x5267) |
|
46 0x35 |
|
47 |
|
48 end |