Lines Matching refs:if_id

114 	u32 if_id;  member
173 u32 if_id);
177 u8 type, u16 family, u8 dir, u32 if_id);
701 .if_id = pol->if_id, in xfrm_policy_inexact_alloc_bin()
1456 return jhash_3words(a, k->if_id, net_hash_mix(read_pnet(&k->net)), in xfrm_pol_bin_key()
1489 return b->k.if_id ^ key->if_id; in xfrm_pol_bin_cmp()
1509 pol->if_id == policy->if_id && in xfrm_policy_insert_inexact_list()
1544 pol->if_id == policy->if_id && in xfrm_policy_insert_list()
1619 u32 if_id, u8 type, int dir, struct xfrm_selector *sel, in __xfrm_policy_bysel_ctx() argument
1629 pol->if_id == if_id && in __xfrm_policy_bysel_ctx()
1640 xfrm_policy_bysel_ctx(struct net *net, const struct xfrm_mark *mark, u32 if_id, in xfrm_policy_bysel_ctx() argument
1656 sel->family, dir, if_id); in xfrm_policy_bysel_ctx()
1674 if_id, type, dir, in xfrm_policy_bysel_ctx()
1683 pol = __xfrm_policy_bysel_ctx(chain, mark, if_id, type, dir, in xfrm_policy_bysel_ctx()
1710 xfrm_policy_byid(struct net *net, const struct xfrm_mark *mark, u32 if_id, in xfrm_policy_byid() argument
1726 pol->if_id == if_id && xfrm_policy_mark_match(mark, pol)) { in xfrm_policy_byid()
1890 u8 type, u16 family, int dir, u32 if_id) in xfrm_policy_match() argument
1897 pol->if_id != if_id || in xfrm_policy_match()
1981 u8 dir, u32 if_id) in xfrm_policy_inexact_lookup_rcu() argument
1987 .if_id = if_id, in xfrm_policy_inexact_lookup_rcu()
1998 u8 dir, u32 if_id) in xfrm_policy_inexact_lookup() argument
2005 bin = xfrm_policy_inexact_lookup_rcu(net, type, family, dir, if_id); in xfrm_policy_inexact_lookup()
2015 u8 type, u16 family, int dir, u32 if_id) in __xfrm_policy_eval_candidates() argument
2029 err = xfrm_policy_match(pol, fl, type, family, dir, if_id); in __xfrm_policy_eval_candidates()
2054 u8 type, u16 family, int dir, u32 if_id) in xfrm_policy_eval_candidates() argument
2063 if_id); in xfrm_policy_eval_candidates()
2078 u32 if_id) in xfrm_policy_lookup_bytype() argument
2102 err = xfrm_policy_match(pol, fl, type, family, dir, if_id); in xfrm_policy_lookup_bytype()
2115 bin = xfrm_policy_inexact_lookup_rcu(net, type, family, dir, if_id); in xfrm_policy_lookup_bytype()
2121 family, dir, if_id); in xfrm_policy_lookup_bytype()
2142 u16 family, u8 dir, u32 if_id) in xfrm_policy_lookup() argument
2148 dir, if_id); in xfrm_policy_lookup()
2153 dir, if_id); in xfrm_policy_lookup()
2158 u16 family, u32 if_id) in xfrm_sk_policy_lookup() argument
2177 pol->if_id != if_id) { in xfrm_sk_policy_lookup()
2305 newp->if_id = old->if_id; in clone_policy()
2392 family, policy->if_id); in xfrm_tmpl_resolve_one()
2689 pols[0]->if_id); in xfrm_expand_policies()
2940 struct xfrm_flo *xflo, u32 if_id) in xfrm_bundle_lookup() argument
2949 pols[0] = xfrm_policy_lookup(net, fl, family, dir, if_id); in xfrm_bundle_lookup()
3029 int flags, u32 if_id) in xfrm_lookup_with_ifid() argument
3046 if_id); in xfrm_lookup_with_ifid()
3086 if (!if_id && ((dst_orig->flags & DST_NOXFRM) || in xfrm_lookup_with_ifid()
3090 xdst = xfrm_bundle_lookup(net, fl, family, dir, &xflo, if_id); in xfrm_lookup_with_ifid()
3494 u32 if_id = 0; in __xfrm_policy_check() local
3502 if_id = xi->p.if_id; in __xfrm_policy_check()
3535 pol = xfrm_sk_policy_lookup(sk, dir, &fl, family, if_id); in __xfrm_policy_check()
3543 pol = xfrm_policy_lookup(net, &fl, family, dir, if_id); in __xfrm_policy_check()
3572 XFRM_POLICY_IN, if_id); in __xfrm_policy_check()