Home
last modified time | relevance | path

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

1234

/Linux-v6.1/tools/testing/selftests/bpf/progs/
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_noinline.c439 return XDP_DROP; in send_icmp_reply()
469 return XDP_DROP; in send_icmp6_reply()
492 return XDP_DROP; in parse_icmpv6()
500 return XDP_DROP; in parse_icmpv6()
517 return XDP_DROP; in parse_icmp()
525 return XDP_DROP; in parse_icmp()
527 return XDP_DROP; in parse_icmp()
639 return XDP_DROP; in process_l3_headers_v6()
646 return XDP_DROP; in process_l3_headers_v6()
670 return XDP_DROP; in process_l3_headers_v4()
[all …]
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_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()
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()
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 …]
Dxdpwall.c332 return XDP_DROP; in edgewall()
336 return XDP_DROP; in edgewall()
339 return XDP_DROP; in edgewall()
345 return XDP_DROP; in edgewall()
352 return XDP_DROP; in edgewall()
357 return XDP_DROP; in edgewall()
362 return XDP_DROP; in edgewall()
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()
Dtest_xdp_adjust_tail_grow.c33 return XDP_DROP; in _xdp_adjust_tail_grow()
Dtest_xdp_with_cpumap_helpers.c31 return XDP_DROP; in xdp_dummy_cm()
Dtest_check_mtu.c51 retval = XDP_DROP; in xdp_use_helper()
77 retval = XDP_DROP; in xdp_exceed_mtu()
Dtest_xdp_do_redirect.c85 return XDP_DROP; in xdp_count_pkts()
Dtest_migrate_reuseport.c91 return XDP_DROP; in drop_ack()
/Linux-v6.1/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()
Dxdp_redirect_map.bpf.c49 return XDP_DROP; in xdp_redirect_map()
82 return XDP_DROP; in xdp_redirect_map_egress()
Dxdp_redirect_cpu.bpf.c199 return XDP_DROP; in xdp_prognum1_touch_data()
374 return XDP_DROP; in xdp_prognum4_ddos_filter_pktgen()
504 return XDP_DROP; in xdp_redirect_cpu_devmap()
519 return XDP_DROP; in xdp_redirect_cpu_drop()
532 return XDP_DROP; in xdp_redirect_egress_prog()
Dxdp_redirect.bpf.c31 return XDP_DROP; in xdp_redirect_prog()
Dxdp_redirect_map_multi.bpf.c68 return XDP_DROP; in xdp_devmap_prog()
Dxdp1_kern.c50 int rc = XDP_DROP; in xdp_prog1()
/Linux-v6.1/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.1/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()
260 ASSERT_EQ(topts.retval, XDP_DROP, "9Kb+10b retval"); in test_xdp_adjust_frags_tail_grow()

1234