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_VJSEARCH_3 |
|
15 // Input packet has identical source IP address, destination IP address |
|
16 // and checksum, but different source port (dest port) with one of the |
|
17 // existing connection |
|
18 // tcsim input file to generate test data for VJ compression tests. |
|
19 // |
|
20 // |
|
21 |
|
22 #include "packet.def" |
|
23 #include "ports.tc" |
|
24 |
|
25 dev eth0 100 Mbps { |
|
26 egress { |
|
27 } |
|
28 } |
|
29 |
|
30 // Packet to prime the compressor |
|
31 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) |
|
32 0x31 |
|
33 |
|
34 // Very similar packet, but not quite enough to reuse the same slot |
|
35 send TCP_PCK($ip_id=2 $ip_sum=0x66cb $tcp_sport = PORT_FTP_DATA $tcp_dport = 1235 $tcp_ACK=1 $tcp_seq=0 $tcp_sum=0x65ea) |
|
36 0x31 |
|
37 |
|
38 // Very similar packet, but not quite enough to reuse the same slot |
|
39 send TCP_PCK($ip_id=3 $ip_sum=0x66ca $tcp_sport = PORT_FTP $tcp_dport = 1234 $tcp_ACK=1 $tcp_seq=0 $tcp_sum=0x65ea) |
|
40 0x31 |
|
41 |
|
42 |
|
43 end |