Lines Matching defs:esp_assoc
1527 ipsa_t *esp_assoc;
1534 esp_assoc = ira->ira_ipsec_esp_sa;
1535 ASSERT((ah_assoc != NULL) || (esp_assoc != NULL));
1538 esp_mask = (esp_assoc != NULL) ? esp_assoc->ipsa_unique_mask : 0;
1556 esp_assoc->ipsa_unique_id != (pkt_unique & esp_mask)) {
1572 ipsa_t *esp_assoc;
1600 esp_assoc = ira->ira_ipsec_esp_sa;
1657 if (esp_assoc == NULL) {
1664 ASSERT(esp_assoc != NULL);
1667 if (esp_assoc->ipsa_encr_alg !=
1679 if (esp_assoc->ipsa_auth_alg !=
1688 } else if (esp_assoc != NULL) {
2976 ipsa_t *ah_assoc, *esp_assoc;
3001 esp_assoc = ira->ira_ipsec_esp_sa;
3002 ap->ipa_act.ipa_apply.ipp_use_esp = (esp_assoc != NULL);
3004 if (esp_assoc != NULL) {
3005 encr_alg = esp_assoc->ipsa_encr_alg;
3006 espa_alg = esp_assoc->ipsa_auth_alg;
3019 if (esp_assoc != NULL) {
3021 esp_assoc->ipsa_authkeybits;
3023 esp_assoc->ipsa_authkeybits;
3025 esp_assoc->ipsa_encrkeybits;
3027 esp_assoc->ipsa_encrkeybits;
3028 ap->ipa_act.ipa_apply.ipp_km_proto = esp_assoc->ipsa_kmp;
3029 ap->ipa_act.ipa_apply.ipp_km_cookie = esp_assoc->ipsa_kmc;
3030 if (esp_assoc->ipsa_flags & IPSA_F_UNIQUE)
3048 ap->ipa_want_esp = (esp_assoc != NULL);