ipsec: move inbound and outbound code
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Tue, 2 Apr 2019 08:34:40 +0000 (09:34 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Tue, 2 Apr 2019 14:50:24 +0000 (16:50 +0200)
commit6015e6a133988bac13e627e5f48730ca095800f1
tree45e2188335e0a8734f38173f78994a75ec5c4629
parent15d5070a8bad54314b0e1d42e88dcb81dc956ef5
ipsec: move inbound and outbound code

sa.c becomes too big, so decided to split it into 3 chunks:
 - sa.c - control path related functions (init/fini, etc.)
 - esp_inb.c - ESP inbound packet processing
 - esp_outb.c - ESP outbound packet processing

Plus few changes in internal function names to follow the same
code convention.
No functional changes introduced.

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
lib/librte_ipsec/Makefile
lib/librte_ipsec/crypto.h
lib/librte_ipsec/esp_inb.c [new file with mode: 0644]
lib/librte_ipsec/esp_outb.c [new file with mode: 0644]
lib/librte_ipsec/ipsec_sqn.h
lib/librte_ipsec/meson.build
lib/librte_ipsec/misc.h [new file with mode: 0644]
lib/librte_ipsec/sa.c
lib/librte_ipsec/sa.h