summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhshoexer <hshoexer@openbsd.org>2005-07-07 20:58:28 +0000
committerhshoexer <hshoexer@openbsd.org>2005-07-07 20:58:28 +0000
commite225c21011c944bf754218178e98c84bfcfde914 (patch)
treeb35811f70c391c7289f05ac6c079677acb2f24bb
parentdo not run the callback for "." twice. (diff)
downloadwireguard-openbsd-e225c21011c944bf754218178e98c84bfcfde914.tar.xz
wireguard-openbsd-e225c21011c944bf754218178e98c84bfcfde914.zip
add prototype for pfkey_parse()
-rw-r--r--sbin/ipsecctl/pfkey.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/ipsecctl/pfkey.c b/sbin/ipsecctl/pfkey.c
index 16f34185f5c..ce6d2341797 100644
--- a/sbin/ipsecctl/pfkey.c
+++ b/sbin/ipsecctl/pfkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkey.c,v 1.10 2005/06/30 18:50:55 hshoexer Exp $ */
+/* $OpenBSD: pfkey.c,v 1.11 2005/07/07 20:58:28 hshoexer Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
* Copyright (c) 2003, 2004 Markus Friedl <markus@openbsd.org>
@@ -45,6 +45,7 @@ static int pfkey_flow(int, u_int8_t, u_int8_t, u_int8_t, struct ipsec_addr *,
struct ipsec_addr *, struct ipsec_addr *,
struct ipsec_auth);
static int pfkey_reply(int);
+int pfkey_parse(struct sadb_msg *, struct ipsec_rule *);
int pfkey_ipsec_flush(void);
int pfkey_ipsec_establish(int, struct ipsec_rule *);
int pfkey_init(void);