dpdk: fix udp-encap for esp in transport mode 51/26351/3
authorAlexander Chernavin <achernavin@netgate.com>
Fri, 3 Apr 2020 14:18:44 +0000 (10:18 -0400)
committerMatthew Smith <mgsmith@netgate.com>
Fri, 17 Apr 2020 15:05:25 +0000 (15:05 +0000)
Now UDP encapsulation doesn't work in transport mode because:
 - the encrypt node misses filling of UDP header and it gets sent with
   all zeros;
 - the decrypt node misses filling of new IP header and it contains
   garbage data.

With this commit, fill UDP header during encryption and fill IP header
during decryption.

Change-Id: I87a7bd594f0e312b16d3e5eb19e568b4e3164d36
Type: fix
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>

No differences found