test/ipfrag: check fragment offsets
authorHuichao Cai <chcchc88@163.com>
Mon, 25 Oct 2021 07:58:59 +0000 (15:58 +0800)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 10 Nov 2021 10:42:22 +0000 (11:42 +0100)
commite3999afd6e653a54f9c15541dfa452fefc884a60
tree5702ef0c862e0171d1ca1a4e6164bee78bbcdd9c
parentf4801fdb7828f45ddc4ada148b1b0a230a226570
test/ipfrag: check fragment offsets

Add the test content of the fragment_offset(offset and MF)
to the test_ip_frag function. Add test data for a fragment
that is not the last fragment.

Signed-off-by: Huichao Cai <chcchc88@163.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
app/test/test_ipfrag.c