Searched refs:ITPF_P_ACTIVE (Results 1 – 5 of 5) sorted by relevance
521 #define ITPF_P_ACTIVE 0x1 /* Are we using IPsec right now? */ macro541 (((itp)->itp_policy == (iph)) ? ITPF_P_ACTIVE : ITPF_I_ACTIVE))
1014 old_policy = ((itp->itp_flags & ITPF_P_ACTIVE) != 0); in iptun_set_sec_simple()1044 itp->itp_flags = ITPF_P_ACTIVE; in iptun_set_sec_simple()1674 if (iptun->iptun_itp->itp_flags & ITPF_P_ACTIVE) { in iptun_info()1883 if (itp == NULL || !(itp->itp_flags & ITPF_P_ACTIVE)) { in iptun_get_ipsec_overhead()3386 if (itp != NULL && (itp->itp_flags & ITPF_P_ACTIVE)) { in iptun_output_common()
6577 (itp->itp_flags & (ITPF_P_ACTIVE | ITPF_P_TUNNEL)) !=6578 (ITPF_P_ACTIVE | ITPF_P_TUNNEL)) {6601 if ((itp == NULL) || !(itp->itp_flags & ITPF_P_ACTIVE)) {
5207 ASSERT(itp != NULL && (itp->itp_flags & ITPF_P_ACTIVE)); in ipsec_tun_outbound()5578 if (itp != NULL && (itp->itp_flags & ITPF_P_ACTIVE)) { in ipsec_tun_inbound()
1079 itp->itp_flags = active ? ITPF_P_ACTIVE : ITPF_I_ACTIVE; in spdsock_addrule()