ikev2: make UDP encap flag configurable
[vpp.git] / src / plugins / ikev2 / ikev2_priv.h
index aa85b84..7609166 100644 (file)
@@ -358,6 +358,9 @@ typedef struct
   u64 lifetime_maxdata;
   u32 lifetime_jitter;
   u32 handover;
+
+  u32 tun_itf;
+  u8 udp_encap;
 } ikev2_profile_t;
 
 typedef struct
@@ -418,6 +421,14 @@ typedef struct
   u32 last_init_msg_id;
   u8 is_profile_index_set;
   u32 profile_index;
+  u8 is_tun_itf_set;
+  u32 tun_itf;
+  u8 udp_encap;
+
+  f64 old_id_expiration;
+  u32 current_remote_id_mask;
+  u32 old_remote_id;
+  u8 old_remote_id_present;
 
   ikev2_child_sa_t *childs;
 } ikev2_sa_t;