summaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec/ipsec.h
diff options
context:
space:
mode:
authorPiotr Bronowski <piotrx.bronowski@intel.com>2022-05-10 13:18:22 +0000
committerPiotr Bronowski <piotrx.bronowski@intel.com>2022-06-29 09:05:51 +0000
commit0464310fd3d4234e5b0aaf730360a1db2b5f7384 (patch)
tree312e4a3df3bc57408cc10c52e565d8c46a2e77c8 /src/vnet/ipsec/ipsec.h
parentfc20c8e50f2784ad62b97bdb0094605d2b86f596 (diff)
ipsec: add/delete ipsec fast path policy
This patch introduces functions to add and delete fast path policies. Type: feature Signed-off-by: Piotr Bronowski <piotrx.bronowski@intel.com> Change-Id: I3f1f1323148080c9dac531fbe9fa33bad4efe814
Diffstat (limited to 'src/vnet/ipsec/ipsec.h')
-rw-r--r--src/vnet/ipsec/ipsec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/ipsec/ipsec.h b/src/vnet/ipsec/ipsec.h
index 58b0ffc93f9..c4f5326c962 100644
--- a/src/vnet/ipsec/ipsec.h
+++ b/src/vnet/ipsec/ipsec.h
@@ -144,6 +144,10 @@ typedef struct
/* pool of policies */
ipsec_policy_t *policies;
+ u32 fp_spd_is_enabled;
+ ipsec_fp_mask_type_entry_t *fp_mask_types;
+ u32 fp_lookup_hash_buckets; /* number of buckets should be power of two */
+
/* hash tables of UDP port registrations */
uword *udp_port_registrations;