Home
last modified time | relevance | path

Searched refs:XFRM_POLICY_IN (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.6.21/net/netfilter/
Dnft_xfrm.c74 case XFRM_POLICY_IN: in nft_xfrm_get_init()
201 case XFRM_POLICY_IN: in nft_xfrm_get_eval()
244 case XFRM_POLICY_IN: in nft_xfrm_validate()
/linux-6.6.21/net/ipv6/
Dip6_input.c431 if (!xfrm6_policy_check(NULL, XFRM_POLICY_IN, skb)) { in ip6_protocol_deliver_rcu()
457 if (xfrm6_policy_check(NULL, XFRM_POLICY_IN, skb)) { in ip6_protocol_deliver_rcu()
Dicmp.c891 if (!xfrm6_policy_check(NULL, XFRM_POLICY_IN, skb)) { in icmpv6_rcv()
907 if (!xfrm6_policy_check_reverse(NULL, XFRM_POLICY_IN, in icmpv6_rcv()
Dtcp_ipv6.c1643 if (!xfrm6_policy_check(sk, XFRM_POLICY_IN, skb)) in tcp_v6_rcv()
1717 if (!xfrm6_policy_check(sk, XFRM_POLICY_IN, skb)) { in tcp_v6_rcv()
1763 if (!xfrm6_policy_check(NULL, XFRM_POLICY_IN, skb)) in tcp_v6_rcv()
1791 if (!xfrm6_policy_check(NULL, XFRM_POLICY_IN, skb)) { in tcp_v6_rcv()
Dip6_vti.c313 if (!xfrm6_policy_check(NULL, XFRM_POLICY_IN, skb)) { in vti6_input_proto()
384 ret = xfrm_policy_check(NULL, XFRM_POLICY_IN, skb, family); in vti6_rcv_cb()
Dah6.c588 err = ipv6_clear_mutable_options(ip6h, hdr_len, XFRM_POLICY_IN); in ah6_input()
Dudp.c686 if (!xfrm6_policy_check(sk, XFRM_POLICY_IN, skb)) { in udpv6_queue_rcv_one_skb()
1018 if (!xfrm6_policy_check(NULL, XFRM_POLICY_IN, skb)) in __udp6_lib_rcv()
Draw.c384 if (!xfrm6_policy_check(sk, XFRM_POLICY_IN, skb)) { in rawv6_rcv()
/linux-6.6.21/net/ipv4/
Dip_input.c198 if (!xfrm4_policy_check(NULL, XFRM_POLICY_IN, skb)) { in ip_protocol_deliver_rcu()
214 if (xfrm4_policy_check(NULL, XFRM_POLICY_IN, skb)) { in ip_protocol_deliver_rcu()
Dip_vti.c58 if (!xfrm4_policy_check(NULL, XFRM_POLICY_IN, skb)) in vti_input()
132 ret = xfrm_policy_check(NULL, XFRM_POLICY_IN, skb, family); in vti_rcv_cb()
Dipip.c230 if (!xfrm4_policy_check(NULL, XFRM_POLICY_IN, skb)) in ipip_tunnel_rcv()
Dicmp.c1186 if (!xfrm4_policy_check(NULL, XFRM_POLICY_IN, skb)) { in icmp_rcv()
1202 if (!xfrm4_policy_check_reverse(NULL, XFRM_POLICY_IN, in icmp_rcv()
Dtcp_ipv4.c2041 if (!xfrm4_policy_check(sk, XFRM_POLICY_IN, skb)) in tcp_v4_rcv()
2118 if (!xfrm4_policy_check(sk, XFRM_POLICY_IN, skb)) { in tcp_v4_rcv()
2166 if (!xfrm4_policy_check(NULL, XFRM_POLICY_IN, skb)) in tcp_v4_rcv()
2195 if (!xfrm4_policy_check(NULL, XFRM_POLICY_IN, skb)) { in tcp_v4_rcv()
Draw.c306 if (!xfrm4_policy_check(sk, XFRM_POLICY_IN, skb)) { in raw_rcv()
/linux-6.6.21/include/uapi/linux/
Dxfrm.h136 XFRM_POLICY_IN = 0, enumerator
/linux-6.6.21/net/dccp/
Dipv4.c894 if (!xfrm4_policy_check(sk, XFRM_POLICY_IN, skb)) in dccp_v4_rcv()
901 if (!xfrm4_policy_check(NULL, XFRM_POLICY_IN, skb)) in dccp_v4_rcv()
Dipv6.c785 if (!xfrm6_policy_check(sk, XFRM_POLICY_IN, skb)) in dccp_v6_rcv()
793 if (!xfrm6_policy_check(NULL, XFRM_POLICY_IN, skb)) in dccp_v6_rcv()
/linux-6.6.21/net/xfrm/
Dxfrm_device.c372 case XFRM_POLICY_IN: in xfrm_dev_policy_add()
Dxfrm_interface_core.c321 !xfrm_policy_check(NULL, XFRM_POLICY_IN, skb, family)) in xfrmi_input()
403 if (!xfrm_policy_check(NULL, XFRM_POLICY_IN, skb, in xfrmi_rcv_cb()
Dxfrm_user.c1649 case XFRM_POLICY_IN: in verify_policy_dir()
2211 up->in = net->xfrm.policy_default[XFRM_POLICY_IN]; in xfrm_notify_userpolicy()
2237 net->xfrm.policy_default[XFRM_POLICY_IN] = up->in; in xfrm_set_default()
2273 r_up->in = net->xfrm.policy_default[XFRM_POLICY_IN]; in xfrm_get_default()
Dxfrm_policy.c662 si->incnt = net->xfrm.policy_count[XFRM_POLICY_IN]; in xfrm_spd_getinfo()
665 si->inscnt = net->xfrm.policy_count[XFRM_POLICY_IN+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()
3688 XFRM_POLICY_IN, if_id); in __xfrm_policy_check()
4219 net->xfrm.policy_default[XFRM_POLICY_IN] = XFRM_USERPOLICY_ACCEPT; in xfrm_net_init()
/linux-6.6.21/net/l2tp/
Dl2tp_ip.c180 if (!xfrm4_policy_check(sk, XFRM_POLICY_IN, skb)) in l2tp_ip_recv()
Dl2tp_ip6.c190 if (!xfrm6_policy_check(sk, XFRM_POLICY_IN, skb)) in l2tp_ip6_recv()
/linux-6.6.21/net/sctp/
Dinput.c189 if (!xfrm_policy_check(sk, XFRM_POLICY_IN, skb, family)) in sctp_rcv()
/linux-6.6.21/tools/testing/selftests/net/
Dipsec.c1163 XFRM_POLICY_IN, tunsrc, tundst, proto)) { in xfrm_prepare()
1214 XFRM_POLICY_IN, tunsrc, tundst)) { in xfrm_cleanup()

12