Home
last modified time | relevance | path

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

/linux/include/net/netns/
A Dxfrm.h55 unsigned int policy_count[XFRM_POLICY_MAX * 2]; member
/linux/net/xfrm/
A Dxfrm_policy.c633 unsigned int cnt = net->xfrm.policy_count[dir]; in xfrm_bydst_should_resize()
659 si->incnt = net->xfrm.policy_count[XFRM_POLICY_IN]; in xfrm_spd_getinfo()
660 si->outcnt = net->xfrm.policy_count[XFRM_POLICY_OUT]; in xfrm_spd_getinfo()
661 si->fwdcnt = net->xfrm.policy_count[XFRM_POLICY_FWD]; in xfrm_spd_getinfo()
662 si->inscnt = net->xfrm.policy_count[XFRM_POLICY_IN+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()
663 si->outscnt = net->xfrm.policy_count[XFRM_POLICY_OUT+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()
2204 net->xfrm.policy_count[dir]++; in __xfrm_policy_link()
2224 net->xfrm.policy_count[dir]--; in __xfrm_policy_unlink()
3087 !net->xfrm.policy_count[XFRM_POLICY_OUT])) in xfrm_lookup_with_ifid()
4017 net->xfrm.policy_count[dir] = 0; in xfrm_policy_init()
[all …]
/linux/include/net/
A Dxfrm.h1108 return (!net->xfrm.policy_count[dir] && !secpath_exists(skb)) || in __xfrm_policy_check2()
1166 return !net->xfrm.policy_count[XFRM_POLICY_OUT] || in xfrm_route_forward()

Completed in 18 milliseconds