Home
last modified time | relevance | path

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

123

/linux/tools/testing/selftests/bpf/progs/
H A Dxsk_xdp_progs.c21 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 Dtest_xdp_noinline.c412 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 Dtest_xdp.c95 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 Dtest_xdp_loop.c91 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 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()
H A 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()
H A 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()
H A 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()
H A Dtest_map_in_map.c60 return XDP_DROP; in xdp_mimtest0()
65 return XDP_DROP; in xdp_mimtest0()
69 return XDP_DROP; in xdp_mimtest0()
H A 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()
H A 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()
H A Dxdp_redirect_multi_kern.c49 return XDP_DROP; in xdp_redirect_map_multi_prog()
85 return XDP_DROP; in xdp_devmap_prog()
H A Dxdp_metadata.c71 return XDP_DROP; in rx()
77 return XDP_DROP; in rx()
H A Dfreplace_progmap.c15 return XDP_DROP; in xdp_drop_prog()
H A Dtest_xdp_adjust_tail_grow.c39 return XDP_DROP; in _xdp_adjust_tail_grow()
H A Dtest_check_mtu.c51 retval = XDP_DROP; in xdp_use_helper()
77 retval = XDP_DROP; in xdp_exceed_mtu()
H A Ddynptr_fail.c1212 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 Dtest_xdp_do_redirect.c98 return XDP_DROP; in xdp_count_pkts()
/linux/samples/bpf/
H A 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()
H A 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()
/linux/drivers/net/vmxnet3/
H A Dvmxnet3_xdp.c302 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 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/tools/testing/selftests/bpf/prog_tests/
H A 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()
268 ASSERT_EQ(topts.retval, XDP_DROP, "9Kb+10b retval"); in test_xdp_adjust_frags_tail_grow()
/linux/tools/testing/selftests/bpf/
H A 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 \
H A Dxdp_features.c94 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()

123