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

/illumos-gate/usr/src/uts/common/inet/
H A Dipsec_impl.h515 uint32_t itp_flags; member in struct:ipsec_tun_pol_s
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 & \
/illumos-gate/usr/src/uts/common/inet/iptun/
H A Diptun.c1010 if (itp->itp_flags & ITPF_P_TUNNEL) {
1015 old_policy = ((itp->itp_flags & ITPF_P_ACTIVE) != 0);
1018 ITPF_CLONE(itp->itp_flags);
1022 itp->itp_flags &= ~ITPF_IFLAGS;
1034 itp->itp_flags &= ~ITPF_PFLAGS;
1045 itp->itp_flags = ITPF_P_ACTIVE;
1057 ITPF_SWAP(itp->itp_flags);
1061 itp->itp_flags &= ~ITPF_IFLAGS;
1676 if (iptun->iptun_itp->itp_flags & ITPF_P_ACTIVE) {
1885 if (itp == NULL || !(itp->itp_flags
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dspdsock.c581 itp->itp_flags &= ~ITPF_PFLAGS;
583 itp->itp_flags &= ~ITPF_IFLAGS;
1079 itp->itp_flags = active ? ITPF_P_ACTIVE : ITPF_I_ACTIVE;
1081 itp->itp_flags |= active ? ITPF_P_TUNNEL :
1103 itp->itp_flags |= active ?
1178 itp->itp_flags = 0;
1259 itp->itp_flags &= ~ITPF_PFLAGS;
1261 itp->itp_flags &= ~ITPF_IFLAGS;
1303 ITPF_SWAP(itp->itp_flags);
2003 itp->itp_flags
[all...]
H A Dspd.c5207 ASSERT(itp != NULL && (itp->itp_flags & ITPF_P_ACTIVE));
5228 if (itp->itp_flags & ITPF_P_PER_PORT_SECURITY) {
5382 /* ASSERT(itp->itp_flags & ITPF_P_TUNNEL); */
5413 if (!(itp->itp_flags & ITPF_P_TUNNEL)) {
5578 if (itp != NULL && (itp->itp_flags & ITPF_P_ACTIVE)) {
5590 port_policy_present = ((itp->itp_flags &
5834 if ((itp->itp_flags & ITPF_P_TUNNEL) && !is_icmp) {
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)),

Completed in 106 milliseconds