summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/pf_encap.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-02-26 03:48:49 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-02-26 03:48:49 +0000
commit62c3d6702abea25585f0b73191bc5e986501c052 (patch)
tree9de06a0ac23255cf9e0141de649817e98085774e /sbin/isakmpd/pf_encap.h
parent5452ee60b5fccc492b3a48603e80845ee56bf35d (diff)
Merge from the Ericsson repository
| revision 1.9 | date: 1999/01/31 01:20:39; author: niklas; state: Exp; lines: +7 -2 | on-demand keying | ----------------------------
Diffstat (limited to 'sbin/isakmpd/pf_encap.h')
-rw-r--r--sbin/isakmpd/pf_encap.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/sbin/isakmpd/pf_encap.h b/sbin/isakmpd/pf_encap.h
index 9e0d55e70b5..39bbac52a64 100644
--- a/sbin/isakmpd/pf_encap.h
+++ b/sbin/isakmpd/pf_encap.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: pf_encap.h,v 1.3 1998/11/17 11:10:18 niklas Exp $ */
-/* $EOM: pf_encap.h,v 1.8 1998/10/12 22:15:13 niklas Exp $ */
+/* $OpenBSD: pf_encap.h,v 1.4 1999/02/26 03:48:48 niklas Exp $ */
+/* $EOM: pf_encap.h,v 1.9 1999/01/31 01:20:39 niklas Exp $ */
/*
* Copyright (c) 1998 Niklas Hallqvist. All rights reserved.
@@ -37,6 +37,7 @@
#ifndef _PF_ENCAP_H_
#define _PF_ENCAP_H_
+#include <sys/types.h>
#include <sys/queue.h>
struct proto;
@@ -55,12 +56,16 @@ struct pf_encap_node {
};
extern int pf_encap_delete_spi (struct sa *, struct proto *, int);
-extern int pf_encap_enable_spi (struct sa *, int);
+extern int pf_encap_enable_sa (struct sa *, int);
+extern int pf_encap_enable_spi (in_addr_t, in_addr_t, in_addr_t, in_addr_t,
+ u_int8_t *, u_int8_t, in_addr_t);
extern u_int8_t *pf_encap_get_spi (size_t *, u_int8_t, void *, size_t);
extern int pf_encap_group_spis (struct sa *, struct proto *, struct proto *,
int);
extern void pf_encap_handler (int);
extern int pf_encap_open (void);
+extern int pf_encap_route (in_addr_t, in_addr_t, in_addr_t, in_addr_t,
+ u_int8_t, in_addr_t, char *);
extern int pf_encap_set_spi (struct sa *, struct proto *, int, int);
#endif /* _PF_ENCAP_H_ */