diff options
author | jake <jake@FreeBSD.org> | 2000-05-26 02:09:24 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2000-05-26 02:09:24 +0000 |
commit | 961b97d43458f3c57241940cabebb3bedf7e4c00 (patch) | |
tree | 6014972d9b90b4e3a8b20dbea641a88cf6355c13 /sys/netkey | |
parent | 06b64672180d9b04ae6d35db819c854df3c3c684 (diff) | |
download | FreeBSD-src-961b97d43458f3c57241940cabebb3bedf7e4c00.zip FreeBSD-src-961b97d43458f3c57241940cabebb3bedf7e4c00.tar.gz |
Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen.
Requested by: msmith and others
Diffstat (limited to 'sys/netkey')
-rw-r--r-- | sys/netkey/key.c | 8 | ||||
-rw-r--r-- | sys/netkey/keydb.h | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/sys/netkey/key.c b/sys/netkey/key.c index 2e348d1..f00792d 100644 --- a/sys/netkey/key.c +++ b/sys/netkey/key.c @@ -110,12 +110,12 @@ static int key_blockacq_lifetime = 20; /* lifetime for blocking SADB_ACQUIRE.*/ static u_int32_t acq_seq = 0; static int key_tick_init_random = 0; -static LIST_HEAD(_sptree, struct secpolicy) sptree[IPSEC_DIR_MAX]; /* SPD */ -static LIST_HEAD(_sahtree, struct secashead) sahtree; /* SAD */ -static LIST_HEAD(_regtree, struct secreg) regtree[SADB_SATYPE_MAX + 1]; +static LIST_HEAD(_sptree, secpolicy) sptree[IPSEC_DIR_MAX]; /* SPD */ +static LIST_HEAD(_sahtree, secashead) sahtree; /* SAD */ +static LIST_HEAD(_regtree, secreg) regtree[SADB_SATYPE_MAX + 1]; /* registed list */ #ifndef IPSEC_NONBLOCK_ACQUIRE -static LIST_HEAD(_acqtree, struct secacq) acqtree; /* acquiring list */ +static LIST_HEAD(_acqtree, secacq) acqtree; /* acquiring list */ #endif struct key_cb key_cb; diff --git a/sys/netkey/keydb.h b/sys/netkey/keydb.h index 608c10d..af4b3ba 100644 --- a/sys/netkey/keydb.h +++ b/sys/netkey/keydb.h @@ -45,14 +45,14 @@ struct secasindex { /* Security Association Data Base */ struct secashead { - LIST_ENTRY(struct secashead) chain; + LIST_ENTRY(secashead) chain; struct secasindex saidx; struct secpolicyindex *owner; /* Indicate it who owned its SA. */ /* If NULL then it's shared SA */ u_int8_t state; /* MATURE or DEAD. */ - LIST_HEAD(_satree, struct secasvar) savtree[SADB_SASTATE_MAX+1]; + LIST_HEAD(_satree, secasvar) savtree[SADB_SASTATE_MAX+1]; /* SA chain */ /* The first of this list is newer SA */ @@ -61,7 +61,7 @@ struct secashead { /* Security Association */ struct secasvar { - LIST_ENTRY(struct secasvar) chain; + LIST_ENTRY(secasvar) chain; int refcnt; /* reference count */ u_int8_t state; /* Status of this Association */ @@ -102,7 +102,7 @@ struct secreplay { /* socket table due to send PF_KEY messages. */ struct secreg { - LIST_ENTRY(struct secreg) chain; + LIST_ENTRY(secreg) chain; struct socket *so; }; @@ -110,7 +110,7 @@ struct secreg { #ifndef IPSEC_NONBLOCK_ACQUIRE /* acquiring list table. */ struct secacq { - LIST_ENTRY(struct secacq) chain; + LIST_ENTRY(secacq) chain; struct secasindex saidx; |