test/pcapng: test pcapng library
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 20 Oct 2021 21:42:33 +0000 (14:42 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 22 Oct 2021 15:19:13 +0000 (17:19 +0200)
commit7a944656b33fe24031f5574860eb81871403d5e3
tree72bd8e8135135b01fad262df9cc3ec7b0d771a46
parent8d23ce8f5ee9f34acd1646b01ae6d862f5fd2aa2
test/pcapng: test pcapng library

Simple unit test that created pcapng file using API.

To run this test you need to have at least one device.
For example:

DPDK_TEST=pcapng_autotest ./build/app/test/dpdk-test -l 0-15 \
    --no-huge -m 2048 --vdev=net_tap,iface=dummy

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
MAINTAINERS
app/test/meson.build
app/test/test_pcapng.c [new file with mode: 0644]