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_VJCOMP_2 |
|
15 // Changes in window field and the difference is non-zero |
|
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_win=0 $tcp_sum=0x65eb) |
|
30 0x31 |
|
31 |
|
32 // Change window up 1 |
|
33 send TCP_PCK($ip_id=2 $ip_sum=0x66cc $tcp_sport = PORT_FTP_DATA $tcp_dport = 1234 $tcp_ACK=1 $tcp_seq=0 $tcp_win=1 $tcp_sum=0x96eb) |
|
34 |
|
35 // Change window down 3, wrapping back around 0 |
|
36 send TCP_PCK($ip_id=3 $ip_sum=0x66cb $tcp_sport = PORT_FTP_DATA $tcp_dport = 1234 $tcp_ACK=1 $tcp_seq=0 $tcp_win=0xfffe $tcp_sum=0x96ed) |
|
37 |
|
38 // Change window up 4, wrapping around 0 |
|
39 send TCP_PCK($ip_id=4 $ip_sum=0x66ca $tcp_sport = PORT_FTP_DATA $tcp_dport = 1234 $tcp_ACK=1 $tcp_seq=0 $tcp_win=2 $tcp_sum=0x96ea) |
|
40 |
|
41 end |