Home
last modified time | relevance | path

Searched refs:XFRM_POLICY_TYPE_MAIN (Results 1 – 5 of 5) sorted by relevance

/linux/net/key/
H A Daf_key.c1949 xfrm_policy_walk_init(&walk, XFRM_POLICY_TYPE_MAIN); in gen_reqid()
2429 xp = xfrm_policy_bysel_ctx(net, &dummy_mark, 0, XFRM_POLICY_TYPE_MAIN, in pfkey_spddelete()
2648 return xfrm_migrate(&sel, dir, XFRM_POLICY_TYPE_MAIN, m, i, in pfkey_migrate()
2680 xp = xfrm_policy_byid(net, &dummy_mark, 0, XFRM_POLICY_TYPE_MAIN, in pfkey_spdget()
2767 xfrm_policy_walk_init(&pfk->dump.u.policy, XFRM_POLICY_TYPE_MAIN); in pfkey_spddump()
2801 err = xfrm_policy_flush(net, XFRM_POLICY_TYPE_MAIN, true); in pfkey_spdflush()
2809 c.data.type = XFRM_POLICY_TYPE_MAIN; in pfkey_spdflush()
3119 if (xp && xp->type != XFRM_POLICY_TYPE_MAIN) in pfkey_send_policy_notify()
3130 if (c->data.type != XFRM_POLICY_TYPE_MAIN) in pfkey_send_policy_notify()
3579 if (type != XFRM_POLICY_TYPE_MAIN) in pfkey_send_migrate()
/linux/include/uapi/linux/
H A Dxfrm.h130 XFRM_POLICY_TYPE_MAIN = 0, enumerator
/linux/net/xfrm/
H A Dxfrm_policy.c2236 return xfrm_policy_lookup_bytype(net, XFRM_POLICY_TYPE_MAIN, fl, family, in xfrm_policy_lookup()
2385 if (pol && pol->type != XFRM_POLICY_TYPE_MAIN) in xfrm_sk_policy_insert()
2830 pols[0]->type != XFRM_POLICY_TYPE_MAIN) { in xfrm_expand_policies()
2832 XFRM_POLICY_TYPE_MAIN, in xfrm_expand_policies()
3781 if (pols[0]->type != XFRM_POLICY_TYPE_MAIN) { in __xfrm_policy_check()
3782 pols[1] = xfrm_policy_lookup_bytype(net, XFRM_POLICY_TYPE_MAIN, in __xfrm_policy_check()
4291 xfrm_policy_flush(net, XFRM_POLICY_TYPE_MAIN, false); in xfrm_policy_fini()
H A Dxfrm_user.c1937 case XFRM_POLICY_TYPE_MAIN: in verify_policy_type()
2148 u8 type = XFRM_POLICY_TYPE_MAIN; in copy_from_user_policy_type()
2565 u8 type = XFRM_POLICY_TYPE_MAIN; in xfrm_get_policy()
2869 u8 type = XFRM_POLICY_TYPE_MAIN; in xfrm_flush_policy()
2900 u8 type = XFRM_POLICY_TYPE_MAIN; in xfrm_add_pol_expire()
3922 xp->type = XFRM_POLICY_TYPE_MAIN; in xfrm_compile_policy()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c1178 if (x->type != XFRM_POLICY_TYPE_MAIN) { in mlx5e_xfrm_validate_policy()