/linux/tools/testing/selftests/bpf/progs/ |
H A D | xsk_xdp_progs.c | 21 return bpf_redirect_map(&xsk, 0, XDP_DROP); in xsk_def_prog() 28 return XDP_DROP; in xsk_xdp_drop() 30 return bpf_redirect_map(&xsk, 0, XDP_DROP); in xsk_xdp_drop() 42 return XDP_DROP; in xsk_xdp_populate_metadata() 48 return XDP_DROP; in xsk_xdp_populate_metadata() 53 return bpf_redirect_map(&xsk, 0, XDP_DROP); in xsk_xdp_populate_metadata() 63 return XDP_DROP; in xsk_xdp_shared_umem() 68 return XDP_DROP; in xsk_xdp_shared_umem() 70 return bpf_redirect_map(&xsk, idx, XDP_DROP); in xsk_xdp_shared_umem()
|
H A D | test_xdp_noinline.c | 412 return XDP_DROP; in send_icmp_reply() 442 return XDP_DROP; in send_icmp6_reply() 465 return XDP_DROP; in parse_icmpv6() 473 return XDP_DROP; in parse_icmpv6() 490 return XDP_DROP; in parse_icmp() 498 return XDP_DROP; in parse_icmp() 500 return XDP_DROP; in parse_icmp() 613 return XDP_DROP; in process_l3_headers_v6() 620 return XDP_DROP; in process_l3_headers_v6() 644 return XDP_DROP; in process_l3_headers_v4() [all …]
|
H A D | test_xdp.c | 95 return XDP_DROP; in handle_ipv4() 99 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() 183 return XDP_DROP; in handle_ipv6() 194 return XDP_DROP; in handle_ipv6() 221 return XDP_DROP; in _xdp_tx_iptunnel() 231 return XDP_DROP; in _xdp_tx_iptunnel()
|
H A D | test_xdp_loop.c | 91 return XDP_DROP; in handle_ipv4() 95 return XDP_DROP; in handle_ipv4() 109 return XDP_DROP; in handle_ipv4() 121 return XDP_DROP; in handle_ipv4() 161 return XDP_DROP; in handle_ipv6() 165 return XDP_DROP; in handle_ipv6() 179 return XDP_DROP; in handle_ipv6() 190 return XDP_DROP; in handle_ipv6() 217 return XDP_DROP; in _xdp_tx_iptunnel() 227 return XDP_DROP; in _xdp_tx_iptunnel()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | xdp_redirect_multi_kern.c | 49 return XDP_DROP; in xdp_redirect_map_multi_prog() 85 return XDP_DROP; in xdp_devmap_prog()
|
H A D | xdp_metadata.c | 71 return XDP_DROP; in rx() 77 return XDP_DROP; in rx()
|
H A D | freplace_progmap.c | 15 return XDP_DROP; in xdp_drop_prog()
|
H A D | test_xdp_adjust_tail_grow.c | 39 return XDP_DROP; in _xdp_adjust_tail_grow()
|
H A D | test_check_mtu.c | 51 retval = XDP_DROP; in xdp_use_helper() 77 retval = XDP_DROP; in xdp_exceed_mtu()
|
H A D | dynptr_fail.c | 1212 return XDP_DROP; in xdp_invalid_data_slice1() 1237 return XDP_DROP; in xdp_invalid_data_slice2() 1657 return XDP_DROP; in clone_skb_packet_data() 1684 return XDP_DROP; in clone_xdp_packet_data() 1687 return XDP_DROP; in clone_xdp_packet_data()
|
H A D | test_xdp_do_redirect.c | 98 return XDP_DROP; in xdp_count_pkts()
|
/linux/samples/bpf/ |
H A 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()
|
H A 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()
|
/linux/drivers/net/vmxnet3/ |
H A D | vmxnet3_xdp.c | 302 case XDP_DROP: in vmxnet3_run_xdp() 348 return XDP_DROP; in vmxnet3_process_xdp_small() 371 return XDP_DROP; in vmxnet3_process_xdp_small() 374 return likely(*skb_xdp_pass) ? act : XDP_DROP; in vmxnet3_process_xdp_small() 414 act = XDP_DROP; in vmxnet3_process_xdp() 421 return XDP_DROP; in vmxnet3_process_xdp()
|
/linux/drivers/net/hyperv/ |
H A 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/tools/testing/selftests/bpf/prog_tests/ |
H A 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() 268 ASSERT_EQ(topts.retval, XDP_DROP, "9Kb+10b retval"); in test_xdp_adjust_frags_tail_grow()
|
/linux/tools/testing/selftests/bpf/ |
H A 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 \
|
H A D | xdp_features.c | 94 env.feature.action = XDP_DROP; in get_xdp_feature() 118 case XDP_DROP: in get_xdp_feature_str() 304 case XDP_DROP: in dut_attach_xdp_prog() 515 case XDP_DROP: in tester_collect_detected_cap()
|