Lines Matching refs:itp_policy
1019 rc = ipsec_copy_polhead(itp->itp_policy, itp->itp_inactive, ns);
1025 rw_enter(&itp->itp_policy->iph_lock, RW_WRITER);
1026 ipsec_polhead_flush(itp->itp_policy, ns);
1028 /* Else assume itp->itp_policy is already flushed. */
1029 rw_enter(&itp->itp_policy->iph_lock, RW_WRITER);
1033 ASSERT(avl_numnodes(&itp->itp_policy->iph_rulebyid) == 0);
1035 rw_exit(&itp->itp_policy->iph_lock);
1040 if (iptun_insert_simple_policies(itp->itp_policy, actp, nact, ns)) {
1041 rw_exit(&itp->itp_policy->iph_lock);
1049 rw_exit(&itp->itp_policy->iph_lock);
1056 ipsec_swap_policy(itp->itp_policy, itp->itp_inactive, ns);
1931 iph = itp->itp_policy;