diff options
author | Tobias Brunner <tobias@strongswan.org> | 2008-10-14 08:46:31 +0000 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2008-10-14 08:46:31 +0000 |
commit | 1adaa02bb2bcd72ad6d41b22719dba29fd7d57b7 (patch) | |
tree | 03324c1a74ce2f7fff3c0f740ae44b5b06207582 /src/charon/kernel/kernel_ipsec.h | |
parent | 9257c3a287ac873a75b5386295e2a06439c66886 (diff) | |
download | strongswan-1adaa02bb2bcd72ad6d41b22719dba29fd7d57b7.tar.bz2 strongswan-1adaa02bb2bcd72ad6d41b22719dba29fd7d57b7.tar.xz |
merging kernel_pfkey plugin back from kernel-interface branch
Diffstat (limited to 'src/charon/kernel/kernel_ipsec.h')
-rw-r--r-- | src/charon/kernel/kernel_ipsec.h | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/src/charon/kernel/kernel_ipsec.h b/src/charon/kernel/kernel_ipsec.h index 342d6ceb2..8fa5fb006 100644 --- a/src/charon/kernel/kernel_ipsec.h +++ b/src/charon/kernel/kernel_ipsec.h @@ -68,6 +68,11 @@ enum policy_dir_t { }; /** + * enum names for policy_dir_t. + */ +extern enum_name_t *policy_dir_names; + +/** * Interface to the ipsec subsystem of the kernel. * * The kernel ipsec interface handles the communication with the kernel @@ -171,21 +176,6 @@ struct kernel_ipsec_t { host_t *new_src, host_t *new_dst, bool encap); /** - * Query the use time of an SA. - * - * The use time of an SA is not the time of the last usage, but - * the time of the first usage of the SA. - * - * @param dst destination address for this SA - * @param spi SPI allocated by us or remote peer - * @param protocol protocol for this SA (ESP/AH) - * @param use_time pointer receives the time of this SA's last use - * @return SUCCESS if operation completed - */ - status_t (*query_sa) (kernel_ipsec_t *this, host_t *dst, u_int32_t spi, - protocol_id_t protocol, u_int32_t *use_time); - - /** * Delete a previusly installed SA from the SAD. * * @param dst destination address for this SA |