cnat: maglev fixes & improvements 72/35072/5
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>
Mon, 24 Jan 2022 16:10:41 +0000 (17:10 +0100)
committerDamjan Marion <dmarion@me.com>
Sun, 30 Jan 2022 15:23:09 +0000 (15:23 +0000)
commit6de58f5fd0c9d47a65e24d3617e465b9fa8d8872
tree23faefcf17170676d278affcda4df84ee49ba8d4
parentc454e8993d18670f76b03dca780213860c2e19a2
cnat: maglev fixes & improvements

This fixes the maglev logic which previously
included a wrong simplication.
It moves the maglev logic to its own file,
and adds a test function in the debug cli.

Type: improvement

Change-Id: I2790ae2a26fc1c5739ff02f41d436bfcafd5b380
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
src/plugins/cnat/CMakeLists.txt
src/plugins/cnat/cnat_maglev.c [new file with mode: 0644]
src/plugins/cnat/cnat_maglev.h [new file with mode: 0644]
src/plugins/cnat/cnat_translation.c
src/plugins/cnat/cnat_types.h
src/vppinfra/format.h
src/vppinfra/std-formats.c