linklayerprotocols/pppnif/te_ppp/te_vjcomp/config/TCSIM/cvtppplog.bat
author William Roberts <williamr@symbian.org>
Wed, 10 Nov 2010 13:36:07 +0000
branchRCL_3
changeset 79 4b172931a477
parent 0 af10295192d8
permissions -rw-r--r--
Make configchange.pl run ceddump.exe with -dtextshell - Bug 3932

@echo off
rem Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
rem All rights reserved.
rem This component and the accompanying materials are made available
rem under the terms of "Eclipse Public License v1.0"
rem which accompanies this distribution, and is available
rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
rem
rem Initial Contributors:
rem Nokia Corporation - initial contribution.
rem
rem Contributors:
rem
rem Description:
rem Convert pppdump log into libpcap format suitable as input
rem to the VJ compressor test suite.
rem Only packets heading in one direction are converted--the
rem direction is specified by the first command-line parameter.
rem September 30, 2003
rem danfa
rem 
rem

if "%3"=="" echo Usage: %0 0/1 infile outfile
if "%3"=="" goto end
tethereal -R "frame.p2p_dir == %1 && (ppp.protocol == 0x21 || ppp.protocol == 0x2d || ppp.protocol == 0x2f)" -r %2 | perl trimdump.pl %2 %3 > tmptrim.bat
call tmptrim.bat
del tmptrim.bat
:end