Lines Matching refs:larval
776 ipsa_t *larval; in ah_add_sa_finish() local
910 larval = NULL; in ah_add_sa_finish()
914 larval = ipsec_getassocbyspi(sq.inbound, sq.assoc->sadb_sa_spi, in ah_add_sa_finish()
918 if ((larval == NULL) || in ah_add_sa_finish()
919 (larval->ipsa_state != IPSA_STATE_LARVAL)) { in ah_add_sa_finish()
921 if (larval != NULL) { in ah_add_sa_finish()
922 IPSA_REFRELE(larval); in ah_add_sa_finish()
929 if (larval != NULL) { in ah_add_sa_finish()
934 IPSA_REFHOLD(larval); in ah_add_sa_finish()
938 samsg, ksi, primary, secondary, larval, clone, is_inbound, in ah_add_sa_finish()
941 if (larval != NULL) { in ah_add_sa_finish()
943 lpkt = sadb_clear_lpkt(larval); in ah_add_sa_finish()
949 IPSA_REFRELE(larval); in ah_add_sa_finish()