Lines Matching defs:peer_assoc
2463 ipsa_t *peer_assoc;
2488 peer_assoc = ipsec_getassocbyspi(inbound_bucket,
2494 peer_assoc = ipsec_getassocbyspi(inbound_bucket,
2501 if (peer_assoc != NULL) {
2502 mutex_enter(&peer_assoc->ipsa_lock);
2503 peer_assoc->ipsa_state = IPSA_STATE_DEAD;
2504 (void) sadb_torch_assoc(inbound_bucket, peer_assoc);
7597 ipsa_t *peer_assoc, *dying;
7647 peer_assoc = ipsec_getassocbyspi(bucket,
7651 peer_assoc = ipsec_getassocbyspi(bucket,
7657 if (peer_assoc != NULL) {
7658 mutex_enter(&peer_assoc->ipsa_lock);
7667 peer_assoc->ipsa_otherspi = 0;
7668 peer_assoc->ipsa_flags &= ~IPSA_F_PAIRED;
7680 peer_assoc->ipsa_state = dying->ipsa_state;
7683 peer_assoc->ipsa_hardexpiretime = 1;
7686 mutex_exit(&peer_assoc->ipsa_lock);
7687 IPSA_REFRELE(peer_assoc);