summaryrefslogtreecommitdiff
path: root/sbin/ipsecctl/ipsecctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ipsecctl/ipsecctl.h')
-rw-r--r--sbin/ipsecctl/ipsecctl.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sbin/ipsecctl/ipsecctl.h b/sbin/ipsecctl/ipsecctl.h
index 6e5a367c138..c5c0e5ab7bd 100644
--- a/sbin/ipsecctl/ipsecctl.h
+++ b/sbin/ipsecctl/ipsecctl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsecctl.h,v 1.45 2006/06/02 03:31:20 hshoexer Exp $ */
+/* $OpenBSD: ipsecctl.h,v 1.46 2006/06/02 04:51:55 hshoexer Exp $ */
/*
* Copyright (c) 2004, 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org>
*
@@ -103,6 +103,13 @@ struct ipsec_addr_wrap {
struct ipsec_addr_wrap *tail;
};
+struct ipsec_hosts {
+ struct ipsec_addr_wrap *src;
+ struct ipsec_addr_wrap *dst;
+ u_int16_t sport;
+ u_int16_t dport;
+};
+
struct ipsec_auth {
char *srcid;
char *dstid;