Searched refs:itp_flags (Results 1 – 5 of 5) sorted by relevance
520 uint32_t itp_flags; member545 #define ITP_P_ISACTIVE(itp, iph) ((itp)->itp_flags & \548 #define ITP_P_ISTUNNEL(itp, iph) ((itp)->itp_flags & \551 #define ITP_P_ISPERPORT(itp, iph) ((itp)->itp_flags & \
584 itp->itp_flags &= ~ITPF_PFLAGS; in spdsock_flush_node()586 itp->itp_flags &= ~ITPF_IFLAGS; in spdsock_flush_node()1082 itp->itp_flags = active ? ITPF_P_ACTIVE : ITPF_I_ACTIVE; in spdsock_addrule()1084 itp->itp_flags |= active ? ITPF_P_TUNNEL : in spdsock_addrule()1106 itp->itp_flags |= active ? in spdsock_addrule()1181 itp->itp_flags = 0; in spdsock_addrule()1262 itp->itp_flags &= ~ITPF_PFLAGS; in spdsock_deleterule()1264 itp->itp_flags &= ~ITPF_IFLAGS; in spdsock_deleterule()1306 ITPF_SWAP(itp->itp_flags); in spdsock_flip_node()2006 itp->itp_flags & ITPF_P_TUNNEL; in spdsock_dump_next_record()[all …]
5215 ASSERT(itp != NULL && (itp->itp_flags & ITPF_P_ACTIVE)); in ipsec_tun_outbound()5236 if (itp->itp_flags & ITPF_P_PER_PORT_SECURITY) { in ipsec_tun_outbound()5421 if (!(itp->itp_flags & ITPF_P_TUNNEL)) { in ipsec_tun_outbound()5586 if (itp != NULL && (itp->itp_flags & ITPF_P_ACTIVE)) { in ipsec_tun_inbound()5598 port_policy_present = ((itp->itp_flags & in ipsec_tun_inbound()5842 if ((itp->itp_flags & ITPF_P_TUNNEL) && !is_icmp) { in ipsec_tun_inbound()
6838 (itp->itp_flags & (ITPF_P_ACTIVE | ITPF_P_TUNNEL)) !=6862 if ((itp == NULL) || !(itp->itp_flags & ITPF_P_ACTIVE)) {6869 } else if (itp->itp_flags & ITPF_P_TUNNEL) {7130 (itp != NULL && (itp->itp_flags & ITPF_P_TUNNEL)), NULL,
1010 if (itp->itp_flags & ITPF_P_TUNNEL) { in iptun_set_sec_simple()1015 old_policy = ((itp->itp_flags & ITPF_P_ACTIVE) != 0); in iptun_set_sec_simple()1018 ITPF_CLONE(itp->itp_flags); in iptun_set_sec_simple()1022 itp->itp_flags &= ~ITPF_IFLAGS; in iptun_set_sec_simple()1034 itp->itp_flags &= ~ITPF_PFLAGS; in iptun_set_sec_simple()1045 itp->itp_flags = ITPF_P_ACTIVE; in iptun_set_sec_simple()1057 ITPF_SWAP(itp->itp_flags); in iptun_set_sec_simple()1061 itp->itp_flags &= ~ITPF_IFLAGS; 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()[all …]