summaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec/ipsec.h
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2018-06-07 19:36:07 +0200
committerFlorin Coras <florin.coras@gmail.com>2018-06-20 15:36:56 +0000
commitee52d877d41a6349c1090f62fb2948f90e6301ce (patch)
tree2d9c201e4134c693a6ed88b94bc5385085d043fd /src/vnet/ipsec/ipsec.h
parent22f9fb1286d2469819cfcef68ffdc258f4d52c24 (diff)
ipsec: VPP-1308 fix sorting of SPD entries
Change-Id: I761aced55b7cef51a9b47048283b2cb9430bcde2 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/vnet/ipsec/ipsec.h')
-rw-r--r--src/vnet/ipsec/ipsec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/ipsec/ipsec.h b/src/vnet/ipsec/ipsec.h
index 5b548322d28..404756a418f 100644
--- a/src/vnet/ipsec/ipsec.h
+++ b/src/vnet/ipsec/ipsec.h
@@ -299,6 +299,9 @@ typedef struct
/* callbacks */
ipsec_main_callbacks_t cb;
+
+ /* helper for sort function */
+ ipsec_spd_t *spd_to_sort;
} ipsec_main_t;
extern ipsec_main_t ipsec_main;