diff options
author | 2020-04-24 09:43:14 -0400 | |
---|---|---|
committer | 2020-04-24 15:01:29 +0000 | |
commit | 82192ca4dca41de77a2e8a2dd50d72b5573e9a49 (patch) | |
tree | 1ee0f7c2045c4f4d20f265426b539d7f94cac69a /src/plugins/nat/nat_inlines.h | |
parent | 69de9fadbfd2e6e256a5133513e002712705ded3 (diff) |
tests: test vnet_calc_checksums_inline(...)
Use a hand-crafted packet generator script to inject packets with
deliberately broken ip4 and udp checksums - and the appropriate
checksum offload flags - into src/vnet/interface_output.c
vnet_interface_output_node_inline(...), and make sure that the
resulting checksums are correct.
Use the packet tracer to catch one of the packets. Parse through the
packet trace, and make sure that the checksums have been correctly
computed.
Type: test
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: Ic08b4b64d7ef27061558a3abf0b79917ead254b5
Diffstat (limited to 'src/plugins/nat/nat_inlines.h')
0 files changed, 0 insertions, 0 deletions