summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/pf_encap.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-03-24 14:45:07 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-03-24 14:45:07 +0000
commit5fdddbff557ea465bc107149f9d4f7bb0eaf4bdd (patch)
treece1e9d8b56336e1facc65fb0d37aa4f7ecd1b057 /sbin/isakmpd/pf_encap.h
parent2e1df1023fdb10894da3a8882cd148af5bd8ee0f (diff)
Merge with EOM 1.10
New sysdep API
Diffstat (limited to 'sbin/isakmpd/pf_encap.h')
-rw-r--r--sbin/isakmpd/pf_encap.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/sbin/isakmpd/pf_encap.h b/sbin/isakmpd/pf_encap.h
index 39bbac52a64..eede17db7bc 100644
--- a/sbin/isakmpd/pf_encap.h
+++ b/sbin/isakmpd/pf_encap.h
@@ -1,5 +1,5 @@
-/* $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 $ */
+/* $OpenBSD: pf_encap.h,v 1.5 1999/03/24 14:45:06 niklas Exp $ */
+/* $EOM: pf_encap.h,v 1.10 1999/03/24 11:04:25 niklas Exp $ */
/*
* Copyright (c) 1998 Niklas Hallqvist. All rights reserved.
@@ -42,6 +42,7 @@
struct proto;
struct sa;
+struct sockaddr;
struct pf_encap_node {
/* Link to next node. */
@@ -56,16 +57,17 @@ struct pf_encap_node {
};
extern int pf_encap_delete_spi (struct sa *, struct proto *, int);
-extern int pf_encap_enable_sa (struct sa *, int);
+extern int pf_encap_enable_sa (struct sa *);
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 u_int8_t *pf_encap_get_spi (size_t *, u_int8_t, struct sockaddr *, int,
+ struct sockaddr *, int);
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);
+ u_int32_t, in_addr_t, char *);
+extern int pf_encap_set_spi (struct sa *, struct proto *, int);
#endif /* _PF_ENCAP_H_ */