Home
last modified time | relevance | path

Searched refs:XFRM_POLICY_MAX (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/include/net/netns/
Dxfrm.h52 struct hlist_head policy_inexact[XFRM_POLICY_MAX];
53 struct xfrm_policy_hash policy_bydst[XFRM_POLICY_MAX];
54 unsigned int policy_count[XFRM_POLICY_MAX * 2];
68 u8 policy_default[XFRM_POLICY_MAX];
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_policy.c664 si->inscnt = net->xfrm.policy_count[XFRM_POLICY_IN+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()
665 si->outscnt = net->xfrm.policy_count[XFRM_POLICY_OUT+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()
666 si->fwdscnt = net->xfrm.policy_count[XFRM_POLICY_FWD+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()
681 for (dir = 0; dir < XFRM_POLICY_MAX; dir++) { in xfrm_hash_resize()
1259 if (policy->walk.dead || dir >= XFRM_POLICY_MAX) in xfrm_hash_rebuild()
1293 for (dir = 0; dir < XFRM_POLICY_MAX; dir++) { in xfrm_hash_rebuild()
1329 if (dir >= XFRM_POLICY_MAX) { in xfrm_hash_rebuild()
1760 xfrm_policy_id2dir(pol->index) >= XFRM_POLICY_MAX || in xfrm_policy_flush_secctx_check()
1795 dir >= XFRM_POLICY_MAX || in xfrm_policy_flush()
2235 __xfrm_policy_link(pol, XFRM_POLICY_MAX + dir); in xfrm_sk_policy_link()
[all …]
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dxfrm.h110 XFRM_POLICY_MAX = 3 enumerator
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dxfrm.h123 XFRM_POLICY_MAX = 3 enumerator
/kernel/linux/linux-5.10/include/uapi/linux/
Dxfrm.h140 XFRM_POLICY_MAX = 3 enumerator
/kernel/linux/linux-5.10/include/net/
Dxfrm.h1219 xfrm_policy_delete(pol, XFRM_POLICY_MAX); in xfrm_sk_free_policy()
1224 xfrm_policy_delete(pol, XFRM_POLICY_MAX+1); in xfrm_sk_free_policy()
/kernel/linux/linux-5.10/net/key/
Daf_key.c2664 if (dir >= XFRM_POLICY_MAX) in pfkey_spdget()