Home
last modified time | relevance | path

Searched refs:XFRM_POLICY_FWD (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/net/ipv4/
Dip_forward.c102 if (!xfrm4_policy_check(NULL, XFRM_POLICY_FWD, skb)) { in ip_forward()
/linux-6.12.1/include/uapi/linux/
Dxfrm.h139 XFRM_POLICY_FWD = 2, enumerator
/linux-6.12.1/net/xfrm/
Dxfrm_device.c385 case XFRM_POLICY_FWD: in xfrm_dev_policy_add()
Dxfrm_policy.c705 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()
Dxfrm_user.c1775 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()
/linux-6.12.1/net/ipv6/
Dip6_output.c526 !xfrm6_policy_check(NULL, XFRM_POLICY_FWD, skb)) { in ip6_forward()