X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fikev2%2Fikev2_priv.h;h=d2f5f056917f8120a9eda0057ce6cfff799619eb;hb=e5d34919b4561a5ee11e41dec6b0184537b39696;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..d2f5f056917 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,6 +424,13 @@ 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; } ikev2_sa_t; @@ -429,6 +438,8 @@ typedef struct typedef struct { + CLIB_CACHE_LINE_ALIGN_MARK (cacheline0); + /* pool of IKEv2 Security Associations */ ikev2_sa_t *sas; @@ -472,6 +483,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;