From 5fdddbff557ea465bc107149f9d4f7bb0eaf4bdd Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Wed, 24 Mar 1999 14:45:07 +0000 Subject: Merge with EOM 1.10 New sysdep API --- sbin/isakmpd/pf_encap.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'sbin') 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_ */ -- cgit v1.2.3