/Linux-v6.6/tools/testing/selftests/bpf/progs/ |
D | xsk_xdp_progs.c | 20 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()
|
D | test_xdp_noinline.c | 399 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 …]
|
D | test_xdp.c | 94 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()
|
D | test_xdp_loop.c | 90 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()
|
D | test_xdp_update_frags.c | 23 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()
|
D | test_xdp_dynptr.c | 104 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()
|
D | test_xdp_adjust_tail_shrink.c | 27 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()
|
D | xdp_synproxy_kern.c | 358 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 …]
|
D | test_map_in_map.c | 34 return XDP_DROP; in xdp_mimtest0() 39 return XDP_DROP; in xdp_mimtest0() 43 return XDP_DROP; in xdp_mimtest0()
|
D | xdpwall.c | 331 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()
|
D | test_parse_tcp_hdr_opt_dynptr.c | 92 return XDP_DROP; in xdp_ingress_v6() 96 return XDP_DROP; in xdp_ingress_v6() 111 return XDP_DROP; in xdp_ingress_v6()
|
D | test_parse_tcp_hdr_opt.c | 95 return XDP_DROP; in xdp_ingress_v6() 99 return XDP_DROP; in xdp_ingress_v6() 113 return XDP_DROP; in xdp_ingress_v6()
|
D | xdp_metadata.c | 39 return XDP_DROP; in rx() 45 return XDP_DROP; in rx()
|
D | test_xdp_meta.c | 39 return XDP_DROP; in ing_xdp() 47 return XDP_DROP; in ing_xdp()
|
D | xdp_redirect_multi_kern.c | 49 return XDP_DROP; in xdp_redirect_map_multi_prog() 85 return XDP_DROP; in xdp_devmap_prog()
|
D | freplace_progmap.c | 15 return XDP_DROP; in xdp_drop_prog()
|
D | test_xdp_adjust_tail_grow.c | 37 return XDP_DROP; in _xdp_adjust_tail_grow()
|
D | test_xdp_with_cpumap_helpers.c | 31 return XDP_DROP; in xdp_dummy_cm()
|
/Linux-v6.6/samples/bpf/ |
D | xdp_tx_iptunnel_kern.c | 93 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()
|
D | xdp_fwd_kern.c | 57 return XDP_DROP; in xdp_fwd_flags() 66 return XDP_DROP; in xdp_fwd_flags() 85 return XDP_DROP; in xdp_fwd_flags()
|
D | xdp_adjust_tail_kern.c | 75 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/ |
D | vmxnet3_xdp.c | 292 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/ |
D | netvsc_bpf.c | 45 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/ |
D | test_xdp_features.sh | 58 ./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/ |
D | xdp_adjust_tail.c | 26 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()
|