| /kernel/linux/linux-6.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_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.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_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_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 | xdp_synproxy_kern.c | 378 return XDP_DROP; in tcp_dissect() 386 return XDP_DROP; in tcp_dissect() 388 return XDP_DROP; in tcp_dissect() 390 return XDP_DROP; in tcp_dissect() 402 return XDP_DROP; in tcp_dissect() 404 return XDP_DROP; in tcp_dissect() 420 return XDP_DROP; in tcp_dissect() 423 return XDP_DROP; in tcp_dissect() 443 return XDP_DROP; in tcp_lookup() 606 * header checks return XDP_DROP, so the order doesn't matter. in syncookie_handle_syn() [all …]
|
| 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 | 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_map_in_map.c | 60 return XDP_DROP; in xdp_mimtest0() 65 return XDP_DROP; in xdp_mimtest0() 69 return XDP_DROP; in xdp_mimtest0()
|
| 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()
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
| D | test_xdp_loop.c | 92 return XDP_DROP; in handle_ipv4() 96 return XDP_DROP; in handle_ipv4() 110 return XDP_DROP; in handle_ipv4() 122 return XDP_DROP; in handle_ipv4() 162 return XDP_DROP; in handle_ipv6() 166 return XDP_DROP; in handle_ipv6() 180 return XDP_DROP; in handle_ipv6() 191 return XDP_DROP; in handle_ipv6() 218 return XDP_DROP; in _xdp_tx_iptunnel() 228 return XDP_DROP; in _xdp_tx_iptunnel()
|
| D | test_xdp.c | 96 return XDP_DROP; in handle_ipv4() 100 return XDP_DROP; in handle_ipv4() 114 return XDP_DROP; in handle_ipv4() 126 return XDP_DROP; in handle_ipv4() 166 return XDP_DROP; in handle_ipv6() 170 return XDP_DROP; in handle_ipv6() 184 return XDP_DROP; in handle_ipv6() 195 return XDP_DROP; in handle_ipv6() 222 return XDP_DROP; in _xdp_tx_iptunnel() 232 return XDP_DROP; in _xdp_tx_iptunnel()
|
| D | test_xdp_noinline.c | 439 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 …]
|
| D | test_map_in_map.c | 36 return XDP_DROP; in xdp_mimtest0() 41 return XDP_DROP; in xdp_mimtest0() 45 return XDP_DROP; in xdp_mimtest0()
|
| /kernel/linux/linux-5.10/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_redirect_cpu_user.c | 182 __u64 xdp_drop; member 229 rec->cpu[i].xdp_drop = values[i].xdp_drop; in map_collect_percpu() 230 sum_xdp_drop += values[i].xdp_drop; in map_collect_percpu() 238 rec->total.xdp_drop = sum_xdp_drop; in map_collect_percpu() 341 double *xdp_pass, double *xdp_drop, in calc_xdp_pps() argument 344 *xdp_pass = 0, *xdp_drop = 0, *xdp_redirect = 0; in calc_xdp_pps() 348 *xdp_drop = (r->xdp_drop - p->xdp_drop) / period_; in calc_xdp_pps() 515 double xdp_pass, xdp_drop, xdp_redirect; in stats_print() local 528 calc_xdp_pps(r, p, &xdp_pass, &xdp_drop, in stats_print() 530 if (xdp_pass > 0 || xdp_drop > 0 || xdp_redirect > 0) in stats_print() [all …]
|
| D | xdp_router_ipv4_kern.c | 115 int rc = XDP_DROP, forward_to; in xdp_router_ipv4_prog() 160 return XDP_DROP; in xdp_router_ipv4_prog() 163 return XDP_DROP; in xdp_router_ipv4_prog() 167 return XDP_DROP; in xdp_router_ipv4_prog()
|
| /kernel/linux/linux-6.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_sample_user.c | 185 [XDP_DROP] = "XDP_DROP", 270 " \t\t\t\tdrop/s - XDP_DROP count for CPUMAP program execution\n" in sample_print_help() 361 rec->cpu[i].xdp_drop = READ_ONCE(values[i].xdp_drop); in map_collect_percpu() 368 sum_xdp_drop += rec->cpu[i].xdp_drop; in map_collect_percpu() 376 rec->total.xdp_drop = sum_xdp_drop; in map_collect_percpu() 638 double *xdp_drop, double *xdp_redirect, double period_) in calc_xdp_pps() argument 640 *xdp_pass = 0, *xdp_drop = 0, *xdp_redirect = 0; in calc_xdp_pps() 644 *xdp_drop = (r->xdp_drop - p->xdp_drop) / period_; in calc_xdp_pps() 749 double xdp_pass, xdp_drop, xdp_redirect; in stats_get_cpumap_remote() local 758 calc_xdp_pps(&rec->total, &prev->total, &xdp_pass, &xdp_drop, in stats_get_cpumap_remote() [all …]
|
| 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()
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
| D | test_xdp_features.sh | 57 ## XDP_DROP 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 \
|
| /kernel/linux/linux-6.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()
|
| /kernel/linux/linux-6.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() 88 rx_stats->xdp_drop++; in netvsc_run_xdp()
|