]> git.saurik.com Git - apple/ipsec.git/blobdiff - ipsec-tools/racoon/ike_session.h
ipsec-317.220.1.tar.gz
[apple/ipsec.git] / ipsec-tools / racoon / ike_session.h
index 4fa60798cf6b337fc1c751eeb179a8cfca992f06..2aa10761135c35ea2233484716cbfe03139b5fd4 100644 (file)
@@ -69,7 +69,6 @@ typedef struct ike_session_sastats {
     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 */
@@ -110,7 +109,6 @@ struct ike_session {
     LIST_HEAD(_ph2tree_, phase2handle)   ph2tree;
 
        LIST_ENTRY(ike_session)              chain;
-
 };
 
 typedef enum ike_session_rekey_type {
@@ -151,6 +149,7 @@ extern void               ike_session_cleanup_other_established_ph2s (ike_sessio
 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 *);