ipsec: make match function inline 75/36175/13
authorPiotr Bronowski <piotrx.bronowski@intel.com>
Tue, 10 May 2022 14:06:29 +0000 (14:06 +0000)
committerPiotr Bronowski <piotrx.bronowski@intel.com>
Wed, 29 Jun 2022 09:09:37 +0000 (09:09 +0000)
commit829bff853e534d46a68d3499ee6a4df0ccb62700
tree7c078509bf7d3fa3a7af679b709469209d44b9b4
parent0464310fd3d4234e5b0aaf730360a1db2b5f7384
ipsec: make match function inline

This patch introduces ipsec_output.h file. Matching implementation is
moved there. The reason behind is the possibility of unit testing
matching mechanism. Therefore we need to have functions that are in
scope of our intrest there and since these are inline their
implementation needs to be moved to the header file as well.

Type: improvement
Signed-off-by: Piotr Bronowski <piotrx.bronowski@intel.com>
Change-Id: Id7c605375d1f3be146abf96ef70d336a5d156444
src/vnet/ipsec/ipsec_output.c
src/vnet/ipsec/ipsec_output.h [new file with mode: 0644]