Searched refs:XFRM_POLICY_FWD (Results 1 – 6 of 6) sorted by relevance
102 if (!xfrm4_policy_check(NULL, XFRM_POLICY_FWD, skb)) { in ip_forward()
139 XFRM_POLICY_FWD = 2, enumerator
385 case XFRM_POLICY_FWD: in xfrm_dev_policy_add()
705 si->fwdcnt = net->xfrm.policy_count[XFRM_POLICY_FWD]; in xfrm_spd_getinfo()708 si->fwdscnt = net->xfrm.policy_count[XFRM_POLICY_FWD+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()2309 case XFRM_POLICY_FWD: in __xfrm_policy_link()3617 pol = xfrm_policy_lookup(net, &fl1, family, XFRM_POLICY_FWD, if_id); in xfrm_in_fwd_icmp()3734 if (!pol && dir == XFRM_POLICY_FWD) in __xfrm_policy_check()4288 net->xfrm.policy_default[XFRM_POLICY_FWD] = XFRM_USERPOLICY_ACCEPT; in xfrm_net_init()
1775 case XFRM_POLICY_FWD: in verify_policy_dir()2339 up->fwd = net->xfrm.policy_default[XFRM_POLICY_FWD]; in xfrm_notify_userpolicy()2367 net->xfrm.policy_default[XFRM_POLICY_FWD] = up->fwd; in xfrm_set_default()2401 r_up->fwd = net->xfrm.policy_default[XFRM_POLICY_FWD]; in xfrm_get_default()
526 !xfrm6_policy_check(NULL, XFRM_POLICY_FWD, skb)) { in ip6_forward()