]> git.droids-corp.org - dpdk.git/blobdiff - examples/ipsec-secgw/ipsec.h
examples/ipsec-secgw: implement inbound SAD
[dpdk.git] / examples / ipsec-secgw / ipsec.h
index 8e075216c3c6d54032ab004fe6887d28529def70..9ddb5d91b21136c03151318f89de2916d70b3286 100644 (file)
@@ -53,6 +53,13 @@ struct ipsec_xform;
 struct rte_mbuf;
 
 struct ipsec_sa;
+/*
+ * Keeps number of configured SA's for each address family:
+ */
+struct ipsec_sa_cnt {
+       uint32_t        nb_v4;
+       uint32_t        nb_v6;
+};
 
 typedef int32_t (*ipsec_xform_fn)(struct rte_mbuf *m, struct ipsec_sa *sa,
                struct rte_crypto_op *cop);