Searched refs:ITPF_P_ACTIVE (Results 1 – 5 of 5) sorted by relevance
526 #define ITPF_P_ACTIVE 0x1 /* Are we using IPsec right now? */ macro546 (((itp)->itp_policy == (iph)) ? ITPF_P_ACTIVE : ITPF_I_ACTIVE))
1015 old_policy = ((itp->itp_flags & ITPF_P_ACTIVE) != 0); in iptun_set_sec_simple()1045 itp->itp_flags = ITPF_P_ACTIVE; in iptun_set_sec_simple()1676 if (iptun->iptun_itp->itp_flags & ITPF_P_ACTIVE) { in iptun_info()1885 if (itp == NULL || !(itp->itp_flags & ITPF_P_ACTIVE)) { in iptun_get_ipsec_overhead()3388 if (itp != NULL && (itp->itp_flags & ITPF_P_ACTIVE)) { in iptun_output_common()
6838 (itp->itp_flags & (ITPF_P_ACTIVE | ITPF_P_TUNNEL)) !=6839 (ITPF_P_ACTIVE | ITPF_P_TUNNEL)) {6862 if ((itp == NULL) || !(itp->itp_flags & ITPF_P_ACTIVE)) {
5215 ASSERT(itp != NULL && (itp->itp_flags & ITPF_P_ACTIVE)); in ipsec_tun_outbound()5586 if (itp != NULL && (itp->itp_flags & ITPF_P_ACTIVE)) { in ipsec_tun_inbound()
1082 itp->itp_flags = active ? ITPF_P_ACTIVE : ITPF_I_ACTIVE; in spdsock_addrule()