Searched refs:policy_count (Results 1 – 3 of 3) sorted by relevance
55 unsigned int policy_count[XFRM_POLICY_MAX * 2]; member
517 unsigned int cnt = net->xfrm.policy_count[dir]; in xfrm_bydst_should_resize()544 si->incnt = net->xfrm.policy_count[XFRM_POLICY_IN]; in xfrm_spd_getinfo()545 si->outcnt = net->xfrm.policy_count[XFRM_POLICY_OUT]; in xfrm_spd_getinfo()546 si->fwdcnt = net->xfrm.policy_count[XFRM_POLICY_FWD]; in xfrm_spd_getinfo()547 si->inscnt = net->xfrm.policy_count[XFRM_POLICY_IN+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()548 si->outscnt = net->xfrm.policy_count[XFRM_POLICY_OUT+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()549 si->fwdscnt = net->xfrm.policy_count[XFRM_POLICY_FWD+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()1251 net->xfrm.policy_count[dir]++; in __xfrm_policy_link()1270 net->xfrm.policy_count[dir]--; in __xfrm_policy_unlink()2244 !net->xfrm.policy_count[XFRM_POLICY_OUT]) in xfrm_lookup()[all …]
1073 return (!net->xfrm.policy_count[dir] && !skb->sp) || in __xfrm_policy_check2()1127 return !net->xfrm.policy_count[XFRM_POLICY_OUT] || in xfrm_route_forward()