Lines Matching refs:selector
538 h = __addr_hash(&pol->selector.daddr, &pol->selector.saddr, in xfrm_dst_hash_transfer()
762 addr = &policy->selector.saddr; in xfrm_policy_inexact_insert_use_any_list()
763 prefixlen = policy->selector.prefixlen_s; in xfrm_policy_inexact_insert_use_any_list()
768 addr = &policy->selector.daddr; in xfrm_policy_inexact_insert_use_any_list()
769 prefixlen = policy->selector.prefixlen_d; in xfrm_policy_inexact_insert_use_any_list()
884 matches_s = xfrm_policy_addr_delta(&policy->selector.saddr, in xfrm_policy_inexact_list_reinsert()
888 matches_d = xfrm_policy_addr_delta(&policy->selector.daddr, in xfrm_policy_inexact_list_reinsert()
1140 if (xfrm_pol_inexact_addr_use_any_list(&policy->selector.daddr, in xfrm_policy_inexact_alloc_chain()
1142 policy->selector.prefixlen_d)) { in xfrm_policy_inexact_alloc_chain()
1146 &policy->selector.saddr, in xfrm_policy_inexact_alloc_chain()
1148 policy->selector.prefixlen_s, in xfrm_policy_inexact_alloc_chain()
1161 &policy->selector.daddr, in xfrm_policy_inexact_alloc_chain()
1163 policy->selector.prefixlen_d, dir); in xfrm_policy_inexact_alloc_chain()
1169 if (xfrm_pol_inexact_addr_use_any_list(&policy->selector.saddr, in xfrm_policy_inexact_alloc_chain()
1171 policy->selector.prefixlen_s)) in xfrm_policy_inexact_alloc_chain()
1177 &policy->selector.saddr, in xfrm_policy_inexact_alloc_chain()
1179 policy->selector.prefixlen_s, dir); in xfrm_policy_inexact_alloc_chain()
1282 if (policy->selector.prefixlen_d < dbits || in xfrm_hash_rebuild()
1283 policy->selector.prefixlen_s < sbits) in xfrm_hash_rebuild()
1336 chain = policy_hash_bysel(net, &policy->selector, in xfrm_hash_rebuild()
1514 !selector_cmp(&pol->selector, &policy->selector) && in xfrm_policy_insert_inexact_list()
1549 !selector_cmp(&pol->selector, &policy->selector) && in xfrm_policy_insert_list()
1581 chain = policy_hash_bysel(net, &policy->selector, policy->family, dir); in xfrm_policy_insert()
1635 !selector_cmp(sel, &pol->selector) && in __xfrm_policy_bysel_ctx()
1896 const struct xfrm_selector *sel = &pol->selector; in xfrm_policy_match()
2179 match = xfrm_selector_match(&pol->selector, fl, family); in xfrm_sk_policy_lookup()
2302 newp->selector = old->selector; in clone_policy()
2558 int family = policy->selector.family; in xfrm_bundle_create()
4200 struct xfrm_selector *sel = &xp->selector; in xfrm_audit_common_policyinfo()
4293 xfrm_migrate_selector_match(sel, &pol->selector) && in xfrm_migrate_policy_find()
4306 xfrm_migrate_selector_match(sel, &pol->selector) && in xfrm_migrate_policy_find()