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_13 |
|
15 // Changes in window field and the window delta (d) is -0x100<d<0 |
|
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=0x10 $tcp_sum=0x65db) |
|
30 0x31 |
|
31 |
|
32 // Change window down 0x20 (wrapping around) |
|
33 send TCP_PCK($ip_id=2 $ip_sum=0x66cc $tcp_sport = PORT_FTP_DATA $tcp_dport = 1234 $tcp_ACK=1 $tcp_seq=1 $tcp_win=0xfff0 $tcp_sum=0x96fa) |
|
34 |
|
35 // Change window down 0xff |
|
36 send TCP_PCK($ip_id=3 $ip_sum=0x66cb $tcp_sport = PORT_FTP_DATA $tcp_dport = 1234 $tcp_ACK=1 $tcp_seq=1 $tcp_win=0xfef1 $tcp_sum=0x97f9) |
|
37 |
|
38 end |