Home
last modified time | relevance | path

Searched refs:policy_count (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/include/net/netns/
Dxfrm.h55 unsigned int policy_count[XFRM_POLICY_MAX * 2]; member
/Linux-v6.1/net/xfrm/
Dxfrm_policy.c635 unsigned int cnt = net->xfrm.policy_count[dir]; in xfrm_bydst_should_resize()
661 si->incnt = net->xfrm.policy_count[XFRM_POLICY_IN]; in xfrm_spd_getinfo()
662 si->outcnt = net->xfrm.policy_count[XFRM_POLICY_OUT]; in xfrm_spd_getinfo()
663 si->fwdcnt = net->xfrm.policy_count[XFRM_POLICY_FWD]; in xfrm_spd_getinfo()
664 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()
2205 net->xfrm.policy_count[dir]++; in __xfrm_policy_link()
2225 net->xfrm.policy_count[dir]--; in __xfrm_policy_unlink()
3093 !net->xfrm.policy_count[XFRM_POLICY_OUT])) in xfrm_lookup_with_ifid()
[all …]
/Linux-v6.1/include/net/
Dxfrm.h1102 if (!net->xfrm.policy_count[dir] && !secpath_exists(skb)) in __xfrm_check_nopolicy()
1184 if (!net->xfrm.policy_count[XFRM_POLICY_OUT] && in xfrm_route_forward()