]> git.proxmox.com Git - mirror_ovs.git/commit
tests: Add test-conntrack pcap test.
authorDaniele Di Proietto <diproiettod@vmware.com>
Fri, 15 Apr 2016 00:00:35 +0000 (17:00 -0700)
committerDaniele Di Proietto <diproiettod@vmware.com>
Thu, 28 Jul 2016 01:52:13 +0000 (18:52 -0700)
commitb4124903c65f23795864d67ad4a882fb047d435f
tree6df00bf75ade1bbe39b4dcb77ecfae2bd1608e78
parent8cb14626365f8aa5dd03f31b74430b1563df01f0
tests: Add test-conntrack pcap test.

Simple program that runs the packet in a pcap file through the
connection tracker and prints the 'ct_state' for each packet.

E.g. the line:

`./test/ovstest test-conntrack capture.pcap 2`

sends the packets in `capture.pcap` to the connection tracker, 2 per
call.

Useful for debugging.

Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Flavio Leitner <fbl@sysclose.org>
tests/test-conntrack.c