diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-03-24 14:45:07 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-03-24 14:45:07 +0000 |
commit | 5fdddbff557ea465bc107149f9d4f7bb0eaf4bdd (patch) | |
tree | ce1e9d8b56336e1facc65fb0d37aa4f7ecd1b057 /sbin | |
parent | 2e1df1023fdb10894da3a8882cd148af5bd8ee0f (diff) |
Merge with EOM 1.10
New sysdep API
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/isakmpd/pf_encap.h | 14 |
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_ */ |