Lines Matching refs:if_id

116 	u32 if_id;  member
175 u32 if_id);
179 u8 type, u16 family, u8 dir, u32 if_id);
703 .if_id = pol->if_id, in xfrm_policy_inexact_alloc_bin()
1458 return jhash_3words(a, k->if_id, net_hash_mix(read_pnet(&k->net)), in xfrm_pol_bin_key()
1491 return b->k.if_id ^ key->if_id; in xfrm_pol_bin_cmp()
1511 pol->if_id == policy->if_id && in xfrm_policy_insert_inexact_list()
1546 pol->if_id == policy->if_id && in xfrm_policy_insert_list()
1621 u32 if_id, u8 type, int dir, struct xfrm_selector *sel, in __xfrm_policy_bysel_ctx() argument
1631 pol->if_id == if_id && in __xfrm_policy_bysel_ctx()
1642 xfrm_policy_bysel_ctx(struct net *net, const struct xfrm_mark *mark, u32 if_id, in xfrm_policy_bysel_ctx() argument
1658 sel->family, dir, if_id); in xfrm_policy_bysel_ctx()
1676 if_id, type, dir, in xfrm_policy_bysel_ctx()
1685 pol = __xfrm_policy_bysel_ctx(chain, mark, if_id, type, dir, in xfrm_policy_bysel_ctx()
1712 xfrm_policy_byid(struct net *net, const struct xfrm_mark *mark, u32 if_id, in xfrm_policy_byid() argument
1728 pol->if_id == if_id && xfrm_policy_mark_match(mark, pol)) { in xfrm_policy_byid()
1892 u8 type, u16 family, u32 if_id) in xfrm_policy_match() argument
1899 pol->if_id != if_id || in xfrm_policy_match()
1983 u8 dir, u32 if_id) in xfrm_policy_inexact_lookup_rcu() argument
1989 .if_id = if_id, in xfrm_policy_inexact_lookup_rcu()
2000 u8 dir, u32 if_id) in xfrm_policy_inexact_lookup() argument
2007 bin = xfrm_policy_inexact_lookup_rcu(net, type, family, dir, if_id); in xfrm_policy_inexact_lookup()
2017 u8 type, u16 family, u32 if_id) in __xfrm_policy_eval_candidates() argument
2031 err = xfrm_policy_match(pol, fl, type, family, if_id); in __xfrm_policy_eval_candidates()
2056 u8 type, u16 family, u32 if_id) in xfrm_policy_eval_candidates() argument
2064 fl, type, family, if_id); in xfrm_policy_eval_candidates()
2079 u32 if_id) in xfrm_policy_lookup_bytype() argument
2103 err = xfrm_policy_match(pol, fl, type, family, if_id); in xfrm_policy_lookup_bytype()
2116 bin = xfrm_policy_inexact_lookup_rcu(net, type, family, dir, if_id); in xfrm_policy_lookup_bytype()
2122 family, if_id); in xfrm_policy_lookup_bytype()
2143 u16 family, u8 dir, u32 if_id) in xfrm_policy_lookup() argument
2149 dir, if_id); in xfrm_policy_lookup()
2154 dir, if_id); in xfrm_policy_lookup()
2159 u16 family, u32 if_id) in xfrm_sk_policy_lookup() argument
2178 pol->if_id != if_id) { in xfrm_sk_policy_lookup()
2306 newp->if_id = old->if_id; in clone_policy()
2393 family, policy->if_id); in xfrm_tmpl_resolve_one()
2694 pols[0]->if_id); in xfrm_expand_policies()
2946 struct xfrm_flo *xflo, u32 if_id) in xfrm_bundle_lookup() argument
2955 pols[0] = xfrm_policy_lookup(net, fl, family, dir, if_id); in xfrm_bundle_lookup()
3035 int flags, u32 if_id) in xfrm_lookup_with_ifid() argument
3052 if_id); in xfrm_lookup_with_ifid()
3092 if (!if_id && ((dst_orig->flags & DST_NOXFRM) || in xfrm_lookup_with_ifid()
3096 xdst = xfrm_bundle_lookup(net, fl, family, dir, &xflo, if_id); in xfrm_lookup_with_ifid()
3518 u32 if_id = 0; in __xfrm_policy_check() local
3527 if_id = r.if_id; in __xfrm_policy_check()
3560 pol = xfrm_sk_policy_lookup(sk, dir, &fl, family, if_id); in __xfrm_policy_check()
3568 pol = xfrm_policy_lookup(net, &fl, family, dir, if_id); in __xfrm_policy_check()
3597 XFRM_POLICY_IN, if_id); in __xfrm_policy_check()
4268 u8 dir, u8 type, struct net *net, u32 if_id) in xfrm_migrate_policy_find() argument
4277 if ((if_id == 0 || pol->if_id == if_id) && in xfrm_migrate_policy_find()
4290 if ((if_id == 0 || pol->if_id == if_id) && in xfrm_migrate_policy_find()
4407 struct xfrm_encap_tmpl *encap, u32 if_id) in xfrm_migrate() argument
4426 if ((pol = xfrm_migrate_policy_find(sel, dir, type, net, if_id)) == NULL) { in xfrm_migrate()
4433 if ((x = xfrm_migrate_state_find(mp, net, if_id))) { in xfrm_migrate()