Home
last modified time | relevance | path

Searched refs:XDP_DROP (Results 1 – 25 of 86) sorted by relevance

1234

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dxsk_xdp_progs.c20 return bpf_redirect_map(&xsk, 0, XDP_DROP); in xsk_def_prog()
27 return XDP_DROP; in xsk_xdp_drop()
29 return bpf_redirect_map(&xsk, 0, XDP_DROP); in xsk_xdp_drop()
41 return XDP_DROP; in xsk_xdp_populate_metadata()
47 return XDP_DROP; in xsk_xdp_populate_metadata()
52 return bpf_redirect_map(&xsk, 0, XDP_DROP); in xsk_xdp_populate_metadata()
Dtest_xdp_noinline.c399 return XDP_DROP; in send_icmp_reply()
429 return XDP_DROP; in send_icmp6_reply()
452 return XDP_DROP; in parse_icmpv6()
460 return XDP_DROP; in parse_icmpv6()
477 return XDP_DROP; in parse_icmp()
485 return XDP_DROP; in parse_icmp()
487 return XDP_DROP; in parse_icmp()
599 return XDP_DROP; in process_l3_headers_v6()
606 return XDP_DROP; in process_l3_headers_v6()
629 return XDP_DROP; in process_l3_headers_v4()
[all …]
Dtest_xdp.c94 return XDP_DROP; in handle_ipv4()
98 return XDP_DROP; in handle_ipv4()
112 return XDP_DROP; in handle_ipv4()
124 return XDP_DROP; in handle_ipv4()
164 return XDP_DROP; in handle_ipv6()
168 return XDP_DROP; in handle_ipv6()
182 return XDP_DROP; in handle_ipv6()
193 return XDP_DROP; in handle_ipv6()
220 return XDP_DROP; in _xdp_tx_iptunnel()
230 return XDP_DROP; in _xdp_tx_iptunnel()
Dtest_xdp_loop.c90 return XDP_DROP; in handle_ipv4()
94 return XDP_DROP; in handle_ipv4()
108 return XDP_DROP; in handle_ipv4()
120 return XDP_DROP; in handle_ipv4()
160 return XDP_DROP; in handle_ipv6()
164 return XDP_DROP; in handle_ipv6()
178 return XDP_DROP; in handle_ipv6()
189 return XDP_DROP; in handle_ipv6()
216 return XDP_DROP; in _xdp_tx_iptunnel()
226 return XDP_DROP; in _xdp_tx_iptunnel()
Dtest_xdp_update_frags.c23 return XDP_DROP; in xdp_adjust_frags()
28 return XDP_DROP; in xdp_adjust_frags()
31 return XDP_DROP; in xdp_adjust_frags()
37 return XDP_DROP; in xdp_adjust_frags()
Dtest_xdp_dynptr.c104 return XDP_DROP; in handle_ipv4()
108 return XDP_DROP; in handle_ipv4()
122 return XDP_DROP; in handle_ipv4()
127 return XDP_DROP; in handle_ipv4()
183 return XDP_DROP; in handle_ipv6()
187 return XDP_DROP; in handle_ipv6()
201 return XDP_DROP; in handle_ipv6()
206 return XDP_DROP; in handle_ipv6()
243 return XDP_DROP; in _xdp_tx_iptunnel()
253 return XDP_DROP; in _xdp_tx_iptunnel()
Dtest_xdp_adjust_tail_shrink.c27 return XDP_DROP; in _xdp_adjust_tail_shrink()
40 return XDP_DROP; in _xdp_adjust_tail_shrink()
48 return XDP_DROP; in _xdp_adjust_tail_shrink()
Dxdp_synproxy_kern.c358 return XDP_DROP; in tcp_dissect()
366 return XDP_DROP; in tcp_dissect()
368 return XDP_DROP; in tcp_dissect()
370 return XDP_DROP; in tcp_dissect()
382 return XDP_DROP; in tcp_dissect()
384 return XDP_DROP; in tcp_dissect()
400 return XDP_DROP; in tcp_dissect()
403 return XDP_DROP; in tcp_dissect()
423 return XDP_DROP; in tcp_lookup()
589 return XDP_DROP; in syncookie_handle_syn()
[all …]
Dtest_map_in_map.c34 return XDP_DROP; in xdp_mimtest0()
39 return XDP_DROP; in xdp_mimtest0()
43 return XDP_DROP; in xdp_mimtest0()
Dxdpwall.c331 return XDP_DROP; in edgewall()
335 return XDP_DROP; in edgewall()
338 return XDP_DROP; in edgewall()
344 return XDP_DROP; in edgewall()
351 return XDP_DROP; in edgewall()
356 return XDP_DROP; in edgewall()
361 return XDP_DROP; in edgewall()
Dtest_parse_tcp_hdr_opt_dynptr.c92 return XDP_DROP; in xdp_ingress_v6()
96 return XDP_DROP; in xdp_ingress_v6()
111 return XDP_DROP; in xdp_ingress_v6()
Dtest_parse_tcp_hdr_opt.c95 return XDP_DROP; in xdp_ingress_v6()
99 return XDP_DROP; in xdp_ingress_v6()
113 return XDP_DROP; in xdp_ingress_v6()
Dxdp_metadata.c39 return XDP_DROP; in rx()
45 return XDP_DROP; in rx()
Dtest_xdp_meta.c39 return XDP_DROP; in ing_xdp()
47 return XDP_DROP; in ing_xdp()
Dxdp_redirect_multi_kern.c49 return XDP_DROP; in xdp_redirect_map_multi_prog()
85 return XDP_DROP; in xdp_devmap_prog()
Dfreplace_progmap.c15 return XDP_DROP; in xdp_drop_prog()
Dtest_xdp_adjust_tail_grow.c37 return XDP_DROP; in _xdp_adjust_tail_grow()
Dtest_xdp_with_cpumap_helpers.c31 return XDP_DROP; in xdp_dummy_cm()
/Linux-v6.6/samples/bpf/
Dxdp_tx_iptunnel_kern.c93 return XDP_DROP; in handle_ipv4()
97 return XDP_DROP; in handle_ipv4()
113 return XDP_DROP; in handle_ipv4()
125 return XDP_DROP; in handle_ipv4()
165 return XDP_DROP; in handle_ipv6()
169 return XDP_DROP; in handle_ipv6()
185 return XDP_DROP; in handle_ipv6()
197 return XDP_DROP; in handle_ipv6()
224 return XDP_DROP; in _xdp_tx_iptunnel()
Dxdp_fwd_kern.c57 return XDP_DROP; in xdp_fwd_flags()
66 return XDP_DROP; in xdp_fwd_flags()
85 return XDP_DROP; in xdp_fwd_flags()
Dxdp_adjust_tail_kern.c75 return XDP_DROP; in send_icmp4_too_big()
80 return XDP_DROP; in send_icmp4_too_big()
145 return XDP_DROP; in _xdp_icmp()
/Linux-v6.6/drivers/net/vmxnet3/
Dvmxnet3_xdp.c292 case XDP_DROP: in vmxnet3_run_xdp()
338 return XDP_DROP; in vmxnet3_process_xdp_small()
361 return XDP_DROP; in vmxnet3_process_xdp_small()
364 return likely(*skb_xdp_pass) ? act : XDP_DROP; in vmxnet3_process_xdp_small()
404 act = XDP_DROP; in vmxnet3_process_xdp()
411 return XDP_DROP; in vmxnet3_process_xdp()
/Linux-v6.6/drivers/net/hyperv/
Dnetvsc_bpf.c45 act = XDP_DROP; in netvsc_run_xdp()
52 act = XDP_DROP; in netvsc_run_xdp()
69 case XDP_DROP: in netvsc_run_xdp()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_xdp_features.sh58 ./xdp_features -f XDP_DROP -D ::ffff:$V1_IP4 -T ::ffff:$V0_IP4 v1 &
60 ip netns exec ${NS} ./xdp_features -t -f XDP_DROP \
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dxdp_adjust_tail.c26 ASSERT_EQ(topts.retval, XDP_DROP, "ipv4 retval"); in test_xdp_adjust_tail_shrink()
61 ASSERT_EQ(topts.retval, XDP_DROP, "ipv4 retval"); in test_xdp_adjust_tail_grow()
266 ASSERT_EQ(topts.retval, XDP_DROP, "9Kb+10b retval"); in test_xdp_adjust_frags_tail_grow()

1234