summaryrefslogtreecommitdiff
path: root/src/pluto/kernel_pfkey.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pluto/kernel_pfkey.h')
-rw-r--r--src/pluto/kernel_pfkey.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/pluto/kernel_pfkey.h b/src/pluto/kernel_pfkey.h
index ad20a5888..b50ad6c37 100644
--- a/src/pluto/kernel_pfkey.h
+++ b/src/pluto/kernel_pfkey.h
@@ -1,6 +1,6 @@
-/* declarations of routines that interface with the kernel's pfkey mechanism
- * Copyright (C) 1998-2001 D. Hugh Redelmeier.
- * Copyright (C) 2003 Herbert Xu
+/*
+ * Copyright (C) 2010 Tobias Brunner
+ * Hochschule fuer Technik Rapperswil
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -13,9 +13,8 @@
* for more details.
*/
-#ifdef KLIPS
-extern void init_pfkey(void);
-extern void pfkey_register_proto(unsigned satype, const char *satypename);
-extern void pfkey_close(void);
-extern const struct kernel_ops klips_kernel_ops;
-#endif
+/**
+ * Register our capabilities via PF_KEY, also learn the kernel's capabilities,
+ * i.e. the supported algorithms.
+ */
+void pfkey_register();