From 1adaa02bb2bcd72ad6d41b22719dba29fd7d57b7 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Tue, 14 Oct 2008 08:46:31 +0000 Subject: merging kernel_pfkey plugin back from kernel-interface branch --- src/charon/kernel/kernel_ipsec.h | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'src/charon/kernel/kernel_ipsec.h') 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 @@ -67,6 +67,11 @@ enum policy_dir_t { POLICY_FWD = 2, }; +/** + * enum names for policy_dir_t. + */ +extern enum_name_t *policy_dir_names; + /** * Interface to the ipsec subsystem of the kernel. * @@ -170,21 +175,6 @@ struct kernel_ipsec_t { host_t *src, host_t *dst, 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. * -- cgit v1.2.3