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
387 case XFRM_POLICY_FWD: in xfrm_dev_policy_add()
716 si->fwdcnt = net->xfrm.policy_count[XFRM_POLICY_FWD]; in xfrm_spd_getinfo()719 si->fwdscnt = net->xfrm.policy_count[XFRM_POLICY_FWD+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()2323 case XFRM_POLICY_FWD: in __xfrm_policy_link()3638 pol = xfrm_policy_lookup(net, &fl1, family, XFRM_POLICY_FWD, if_id); in xfrm_in_fwd_icmp()3755 if (!pol && dir == XFRM_POLICY_FWD) in __xfrm_policy_check()4326 net->xfrm.policy_default[XFRM_POLICY_FWD] = XFRM_USERPOLICY_ACCEPT; in xfrm_net_init()
1923 case XFRM_POLICY_FWD: in verify_policy_dir()2489 up->fwd = net->xfrm.policy_default[XFRM_POLICY_FWD]; in xfrm_notify_userpolicy()2517 net->xfrm.policy_default[XFRM_POLICY_FWD] = up->fwd; in xfrm_set_default()2551 r_up->fwd = net->xfrm.policy_default[XFRM_POLICY_FWD]; in xfrm_get_default()
524 !xfrm6_policy_check(NULL, XFRM_POLICY_FWD, skb)) { in ip6_forward()