summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2006-05-28 20:59:24 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2006-05-28 20:59:24 +0000
commit1b789bb15aa924eae3383aa769c0a6743a0d0145 (patch)
treebb643a37a29b9152aab6ef9665b2ad8e56c16b89
parentf72aea568f2c98c596901ee3d743a2998c7c3260 (diff)
this one not needed yet.
-rw-r--r--sbin/ipsecctl/ipsecctl.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/sbin/ipsecctl/ipsecctl.h b/sbin/ipsecctl/ipsecctl.h
index 1d01529923b..27af5729e7e 100644
--- a/sbin/ipsecctl/ipsecctl.h
+++ b/sbin/ipsecctl/ipsecctl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsecctl.h,v 1.33 2006/05/28 20:58:24 todd Exp $ */
+/* $OpenBSD: ipsecctl.h,v 1.34 2006/05/28 20:59:23 hshoexer Exp $ */
/*
* Copyright (c) 2004, 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org>
*
@@ -97,6 +97,8 @@ struct ipsec_addr_wrap {
int netaddress;
sa_family_t af;
char *name;
+ struct ipsec_addr_wrap *next;
+ struct ipsec_addr_wrap *tail;
};
struct ipsec_auth {
@@ -169,19 +171,11 @@ struct ipsecctl {
struct ipsec_rule_queue rule_queue;
};
-struct addr_node {
- struct ipsec_addr_wrap addr;
- sa_family_t af;
- struct addr_node *next;
- struct addr_node *tail;
-};
-
int parse_rules(FILE *, struct ipsecctl *);
int cmdline_symset(char *);
int ipsecctl_add_rule(struct ipsecctl * ipsec, struct ipsec_rule *);
void ipsecctl_get_rules(struct ipsecctl *);
int ike_print_config(struct ipsec_rule *, int);
int ike_ipsec_establish(int, struct ipsec_rule *);
-void set_ipmask(struct ipsec_addr_wrap *, u_int8_t);
#endif /* _IPSECCTL_H_ */