#include <rte_flow.h>
#include <rte_ipsec.h>
+#include "ipsec-secgw.h"
+
#define RTE_LOGTYPE_IPSEC RTE_LOGTYPE_USER1
#define RTE_LOGTYPE_IPSEC_ESP RTE_LOGTYPE_USER2
#define RTE_LOGTYPE_IPSEC_IPIP RTE_LOGTYPE_USER3
struct traffic_type ip6;
};
+/* Socket ctx */
+extern struct socket_ctx socket_ctx[NB_SOCKETS];
+
+void
+ipsec_poll_mode_worker(void);
+
+int
+ipsec_launch_one_lcore(void *args);
+
extern struct ipsec_sa *sa_out;
extern uint32_t nb_sa_out;