Lines Matching refs:iph
468 #define IPPH_REFHOLD(iph) { \ argument
469 atomic_inc_32(&(iph)->iph_refs); \
470 ASSERT((iph)->iph_refs != 0); \
472 #define IPPH_REFRELE(iph, ns) { \ argument
473 ASSERT((iph)->iph_refs != 0); \
475 if (atomic_dec_32_nv(&(iph)->iph_refs) == 0) \
476 ipsec_polhead_free(iph, ns); \
477 (iph) = 0; \
545 #define ITP_P_ISACTIVE(itp, iph) ((itp)->itp_flags & \ argument
546 (((itp)->itp_policy == (iph)) ? ITPF_P_ACTIVE : ITPF_I_ACTIVE))
548 #define ITP_P_ISTUNNEL(itp, iph) ((itp)->itp_flags & \ argument
549 (((itp)->itp_policy == (iph)) ? ITPF_P_TUNNEL : ITPF_I_TUNNEL))
551 #define ITP_P_ISPERPORT(itp, iph) ((itp)->itp_flags & \ argument
552 (((itp)->itp_policy == (iph)) ? ITPF_P_PER_PORT_SECURITY : \