examples/ipsec-secgw: rework processing loop
authorSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Thu, 9 Jun 2016 08:42:45 +0000 (09:42 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 21 Jun 2016 10:07:25 +0000 (12:07 +0200)
commitc64278c0c18bd87242ff3fd12891a095cecdbf58
tree19574c9cf5fd2463d786fa600cbf6c9be5cface9
parent973d3d82858285b8755112c7560895bd9e8e10c4
examples/ipsec-secgw: rework processing loop

Rework implementation moving from function pointers approach, where each
function implements very specific functionality, to a generic function
approach.

Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
examples/ipsec-secgw/esp.c
examples/ipsec-secgw/esp.h
examples/ipsec-secgw/ipsec.c
examples/ipsec-secgw/ipsec.h
examples/ipsec-secgw/sa.c