Lines Matching refs:policy
65 - policy rule, struct xfrm_policy (=SPD entry)
79 policy entry has list of up to XFRM_MAX_DEPTH transformations,
787 static inline void xfrm_pol_hold(struct xfrm_policy *policy)
789 if (likely(policy != NULL))
790 refcount_inc(&policy->refcnt);
793 void xfrm_policy_destroy(struct xfrm_policy *policy);
795 static inline void xfrm_pol_put(struct xfrm_policy *policy)
797 if (refcount_dec_and_test(&policy->refcnt))
798 xfrm_policy_destroy(policy);
949 * policy rule.
1158 * devices with different policy settings.
1743 int xfrm_policy_insert(int dir, struct xfrm_policy *policy, int excl);
2141 int maxtype, const struct nla_policy *policy,