aboutsummaryrefslogtreecommitdiffstats
path: root/tests/osmo-pcap-test/l4_tcp.c
AgeCommit message (Collapse)AuthorFilesLines
2017-08-08tests: osmo-pcap: Allow different l2 pktsPau Espin Pedrol1-2/+2
Before this patch, ETH was assumed and other types were not supported. This patch also adds Linux cooked packet support for L2. Change-Id: Ie62fa0a8e45e1e141edb64b116dad185ad9c7a5f
2012-06-28test: add osmo-pcap-test infrastructurePablo Neira Ayuso1-0/+38
This patch adds the osmo-pcap-test infrastructure that allows you to take packets stored in one pcap file, convert them to msgb and pass it to some function. The infrastructure also provides timing reconstruction based on the pcap file information. This is useful for easy protocol development, automated testing and fuzzying of the existing code to validate the code. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>