Home
last modified time | relevance | path

Searched refs:itp_flags (Results 1 – 5 of 5) sorted by relevance

/titanic_50/usr/src/uts/common/inet/
H A Dipsec_impl.h515 uint32_t itp_flags; member
540 #define ITP_P_ISACTIVE(itp, iph) ((itp)->itp_flags & \
543 #define ITP_P_ISTUNNEL(itp, iph) ((itp)->itp_flags & \
546 #define ITP_P_ISPERPORT(itp, iph) ((itp)->itp_flags & \
/titanic_50/usr/src/uts/common/inet/ip/
H A Dspdsock.c581 itp->itp_flags &= ~ITPF_PFLAGS; in spdsock_flush_node()
583 itp->itp_flags &= ~ITPF_IFLAGS; in spdsock_flush_node()
1079 itp->itp_flags = active ? ITPF_P_ACTIVE : ITPF_I_ACTIVE; in spdsock_addrule()
1081 itp->itp_flags |= active ? ITPF_P_TUNNEL : in spdsock_addrule()
1103 itp->itp_flags |= active ? in spdsock_addrule()
1178 itp->itp_flags = 0; in spdsock_addrule()
1259 itp->itp_flags &= ~ITPF_PFLAGS; in spdsock_deleterule()
1261 itp->itp_flags &= ~ITPF_IFLAGS; in spdsock_deleterule()
1303 ITPF_SWAP(itp->itp_flags); in spdsock_flip_node()
2003 itp->itp_flags & ITPF_P_TUNNEL; in spdsock_dump_next_record()
[all …]
H A Dspd.c5207 ASSERT(itp != NULL && (itp->itp_flags & ITPF_P_ACTIVE)); in ipsec_tun_outbound()
5228 if (itp->itp_flags & ITPF_P_PER_PORT_SECURITY) { in ipsec_tun_outbound()
5413 if (!(itp->itp_flags & ITPF_P_TUNNEL)) { in ipsec_tun_outbound()
5578 if (itp != NULL && (itp->itp_flags & ITPF_P_ACTIVE)) { in ipsec_tun_inbound()
5590 port_policy_present = ((itp->itp_flags & in ipsec_tun_inbound()
5834 if ((itp->itp_flags & ITPF_P_TUNNEL) && !is_icmp) { in ipsec_tun_inbound()
H A Dsadb.c6577 (itp->itp_flags & (ITPF_P_ACTIVE | ITPF_P_TUNNEL)) !=
6601 if ((itp == NULL) || !(itp->itp_flags & ITPF_P_ACTIVE)) {
6608 } else if (itp->itp_flags & ITPF_P_TUNNEL) {
6864 (itp != NULL && (itp->itp_flags & ITPF_P_TUNNEL)),
/titanic_50/usr/src/uts/common/inet/iptun/
H A Diptun.c1009 if (itp->itp_flags & ITPF_P_TUNNEL) { in iptun_set_sec_simple()
1014 old_policy = ((itp->itp_flags & ITPF_P_ACTIVE) != 0); in iptun_set_sec_simple()
1017 ITPF_CLONE(itp->itp_flags); in iptun_set_sec_simple()
1021 itp->itp_flags &= ~ITPF_IFLAGS; in iptun_set_sec_simple()
1033 itp->itp_flags &= ~ITPF_PFLAGS; in iptun_set_sec_simple()
1044 itp->itp_flags = ITPF_P_ACTIVE; in iptun_set_sec_simple()
1056 ITPF_SWAP(itp->itp_flags); in iptun_set_sec_simple()
1060 itp->itp_flags &= ~ITPF_IFLAGS; 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()
[all …]