X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fikev2%2Fikev2_priv.h;h=b0b867758cc0a873e1f39c8cad6af69caefd31c6;hb=c415d0a8e34a30aeb7efe2360937426b724206c2;hp=5afd065b55fcf27c270b9284da1b6b73cfa7387e;hpb=44476c6b271bdebb7458590398b5f140c9a7d353;p=vpp.git diff --git a/src/plugins/ikev2/ikev2_priv.h b/src/plugins/ikev2/ikev2_priv.h index 5afd065b55f..b0b867758cc 100644 --- a/src/plugins/ikev2/ikev2_priv.h +++ b/src/plugins/ikev2/ikev2_priv.h @@ -358,8 +358,10 @@ typedef struct u64 lifetime_maxdata; u32 lifetime_jitter; u32 handover; + u16 dst_port; u32 tun_itf; + u8 udp_encap; } ikev2_profile_t; typedef struct @@ -422,13 +424,25 @@ typedef struct u32 profile_index; u8 is_tun_itf_set; u32 tun_itf; + u8 udp_encap; + u16 dst_port; + + f64 old_id_expiration; + u32 current_remote_id_mask; + u32 old_remote_id; + u8 old_remote_id_present; ikev2_child_sa_t *childs; + + u8 liveness_retries; + f64 liveness_period_check; } ikev2_sa_t; typedef struct { + CLIB_CACHE_LINE_ALIGN_MARK (cacheline0); + /* pool of IKEv2 Security Associations */ ikev2_sa_t *sas; @@ -472,6 +486,9 @@ typedef struct /* logging level */ ikev2_log_level_t log_level; + + /* custom ipsec-over-udp ports managed by ike */ + uword *udp_ports; } ikev2_main_t; extern ikev2_main_t ikev2_main;