Lines Matching refs:iph
463 #define IPPH_REFHOLD(iph) { \ argument
464 atomic_inc_32(&(iph)->iph_refs); \
465 ASSERT((iph)->iph_refs != 0); \
467 #define IPPH_REFRELE(iph, ns) { \ argument
468 ASSERT((iph)->iph_refs != 0); \
470 if (atomic_dec_32_nv(&(iph)->iph_refs) == 0) \
471 ipsec_polhead_free(iph, ns); \
472 (iph) = 0; \
540 #define ITP_P_ISACTIVE(itp, iph) ((itp)->itp_flags & \ argument
541 (((itp)->itp_policy == (iph)) ? ITPF_P_ACTIVE : ITPF_I_ACTIVE))
543 #define ITP_P_ISTUNNEL(itp, iph) ((itp)->itp_flags & \ argument
544 (((itp)->itp_policy == (iph)) ? ITPF_P_TUNNEL : ITPF_I_TUNNEL))
546 #define ITP_P_ISPERPORT(itp, iph) ((itp)->itp_flags & \ argument
547 (((itp)->itp_policy == (iph)) ? ITPF_P_PER_PORT_SECURITY : \