Home
last modified time | relevance | path

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

/openbmc/linux/net/key/
H A Daf_key.c1932 xfrm_policy_walk_init(&walk, XFRM_POLICY_TYPE_MAIN); in gen_reqid()
2412 xp = xfrm_policy_bysel_ctx(net, &dummy_mark, 0, XFRM_POLICY_TYPE_MAIN, in pfkey_spddelete()
2631 return xfrm_migrate(&sel, dir, XFRM_POLICY_TYPE_MAIN, m, i, in pfkey_migrate()
2663 xp = xfrm_policy_byid(net, &dummy_mark, 0, XFRM_POLICY_TYPE_MAIN, in pfkey_spdget()
2750 xfrm_policy_walk_init(&pfk->dump.u.policy, XFRM_POLICY_TYPE_MAIN); in pfkey_spddump()
2784 err = xfrm_policy_flush(net, XFRM_POLICY_TYPE_MAIN, true); in pfkey_spdflush()
2792 c.data.type = XFRM_POLICY_TYPE_MAIN; in pfkey_spdflush()
3102 if (xp && xp->type != XFRM_POLICY_TYPE_MAIN) in pfkey_send_policy_notify()
3113 if (c->data.type != XFRM_POLICY_TYPE_MAIN) in pfkey_send_policy_notify()
3562 if (type != XFRM_POLICY_TYPE_MAIN) in pfkey_send_migrate()
/openbmc/linux/include/uapi/linux/
H A Dxfrm.h129 XFRM_POLICY_TYPE_MAIN = 0, enumerator
/openbmc/linux/net/xfrm/
H A Dxfrm_policy.c2255 return xfrm_policy_lookup_bytype(net, XFRM_POLICY_TYPE_MAIN, fl, family, in xfrm_policy_lookup()
2363 if (pol && pol->type != XFRM_POLICY_TYPE_MAIN) in xfrm_sk_policy_insert()
2797 pols[0]->type != XFRM_POLICY_TYPE_MAIN) { in xfrm_expand_policies()
2799 XFRM_POLICY_TYPE_MAIN, in xfrm_expand_policies()
3711 if (pols[0]->type != XFRM_POLICY_TYPE_MAIN) { in __xfrm_policy_check()
3712 pols[1] = xfrm_policy_lookup_bytype(net, XFRM_POLICY_TYPE_MAIN, in __xfrm_policy_check()
4206 xfrm_policy_flush(net, XFRM_POLICY_TYPE_MAIN, false); in xfrm_policy_fini()
H A Dxfrm_user.c1671 case XFRM_POLICY_TYPE_MAIN: in verify_policy_type()
1880 u8 type = XFRM_POLICY_TYPE_MAIN; in copy_from_user_policy_type()
2297 u8 type = XFRM_POLICY_TYPE_MAIN; in xfrm_get_policy()
2582 u8 type = XFRM_POLICY_TYPE_MAIN; in xfrm_flush_policy()
2613 u8 type = XFRM_POLICY_TYPE_MAIN; in xfrm_add_pol_expire()
3539 xp->type = XFRM_POLICY_TYPE_MAIN; in xfrm_compile_policy()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c1012 if (x->type != XFRM_POLICY_TYPE_MAIN) { in mlx5e_xfrm_validate_policy()