diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-27 04:39:12 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-27 04:39:12 +0000 |
commit | e1f5449146cd9810bec24bda98806a70788ec845 (patch) | |
tree | b7f75b6870384b3d2fb2a73c15fc8db9a4405c7e /sys | |
parent | 02b4ba4991d93e5ec648d64119908c1726030c00 (diff) |
Also link acquire state to the relevant IPsec policy.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_ipsp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h index 00172430296..b4b51799f3c 100644 --- a/sys/netinet/ip_ipsp.h +++ b/sys/netinet/ip_ipsp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.h,v 1.113 2001/06/27 01:34:07 angelos Exp $ */ +/* $OpenBSD: ip_ipsp.h,v 1.114 2001/06/27 04:39:11 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr), @@ -160,6 +160,8 @@ struct ipsec_acquire { struct sockaddr_encap ipa_info; struct sockaddr_encap ipa_mask; struct timeout ipa_timeout; + struct ipsec_policy *ipa_policy; + TAILQ_ENTRY(ipsec_acquire) ipa_ipo_next; TAILQ_ENTRY(ipsec_acquire) ipa_next; }; @@ -190,6 +192,7 @@ struct ipsec_policy { struct ipsec_ref *ipo_local_cred; struct ipsec_ref *ipo_local_auth; + TAILQ_HEAD(ipo_acquires_head, ipsec_acquire) ipo_acquires; /* List of acquires */ TAILQ_ENTRY(ipsec_policy) ipo_tdb_next; /* List TDB policies */ TAILQ_ENTRY(ipsec_policy) ipo_list; /* List of all policies */ }; |