struct sastat out_last_poll[8];
} ike_sesssion_sastats_t;
-
struct ike_session {
u_int8_t mode; /* mode of protocol, see ipsec.h */
u_int16_t proto; /* IPPROTO_ESP or IPPROTO_AH */
LIST_HEAD(_ph2tree_, phase2handle) ph2tree;
LIST_ENTRY(ike_session) chain;
-
};
typedef enum ike_session_rekey_type {
extern void ike_session_stopped_by_controller (ike_session_t *, const char *);
extern void ike_sessions_stopped_by_controller (struct sockaddr_storage *, int, const char *);
extern void ike_session_purge_ph2s_by_ph1 (phase1_handle_t *);
+extern void ike_session_purge_ph1s_by_session (ike_session_t *session);
extern phase1_handle_t * ike_session_get_established_ph1 (ike_session_t *);
extern phase1_handle_t * ike_session_get_established_or_negoing_ph1 (ike_session_t *);
extern void ike_session_update_ph2_ports (phase2_handle_t *);