rohc team mailing list archive
-
rohc team
-
Mailing list archive
-
Message #00185
Re: rohc
Hi,
> There is already source.pcap,largecid.pcap,smallcid.pcap that i can
> use to test the library. I found there is a cmp_filename that used to
> compare with the output file,I don't konw what it is,and how can I
> get it,did anyone konw? I think largecid.pcap is the output file when
> the cid type is large,am i right?So the smallcid.pcap.
I suppose that you talk about the non-regression application. Please
take some time to read the explanation in the header of the source file
[1] and then look at the command line options [2].
To fully use the non-regression app, you need to get 2 files:
- a PCAP capture of non-compressed IP packets as source,
- a PCAP capture of compressed ROHC packets to compare ROHC packets
generated by the ROHC library with a reference.
Then, you start the application as follow to test the ROHC library
with small CIDs:
./test/test_non_regression -c comparison.pcap smallcid source.pcap
You may also start the application as follow to test the ROHC library
with large CIDs:
./test/test_non_regression -c comparison.pcap largecid source.pcap
Many source and comparison PCAP captures are provided with the library.
Look at files in subdirectories of test/report/samples/.
To run the non-regression app with all captures provided with the
library, simply run "make check". See FAQ #636 [3].
Regards,
Didier Barvaux
[1] non-regression application, some explanations:
http://bazaar.launchpad.net/~didier-barvaux/rohc/main/annotate/head:/test/test_non_regression.c#L23
[2] non-regression application, command line options:
http://bazaar.launchpad.net/~didier-barvaux/rohc/main/annotate/head:/test/test_non_regression.c#L239
[3] FAQ #636: https://answers.launchpad.net/rohc/+faq/636
Attachment:
signature.asc
Description: PGP signature
Follow ups
-
Re: rohc
From: Didier Barvaux, 2010-07-18
References
-
rohc
From: shen Sanming, 2010-07-01