Home
last modified time | relevance | path

Searched refs:BPF_DROP (Results 1 – 15 of 15) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_flow.c137 return export_flow_keys(keys, BPF_DROP); in parse_eth_proto()
140 return export_flow_keys(keys, BPF_DROP); in parse_eth_proto()
179 return export_flow_keys(keys, BPF_DROP); in parse_ip_proto()
196 return export_flow_keys(keys, BPF_DROP); in parse_ip_proto()
218 return export_flow_keys(keys, BPF_DROP); in parse_ip_proto()
229 return export_flow_keys(keys, BPF_DROP); in parse_ip_proto()
232 return export_flow_keys(keys, BPF_DROP); in parse_ip_proto()
235 return export_flow_keys(keys, BPF_DROP); in parse_ip_proto()
244 return export_flow_keys(keys, BPF_DROP); in parse_ip_proto()
250 return export_flow_keys(keys, BPF_DROP); in parse_ip_proto()
[all …]
H A Dtest_lwt_seg6local.c316 return BPF_DROP; in __encap_srh()
334 return BPF_DROP; in __add_egr_x()
342 return BPF_DROP; in __add_egr_x()
348 return BPF_DROP; in __add_egr_x()
355 return BPF_DROP; in __add_egr_x()
370 return BPF_DROP; in __pop_egr()
373 return BPF_DROP; in __pop_egr()
376 return BPF_DROP; in __pop_egr()
379 return BPF_DROP; in __pop_egr()
383 return BPF_DROP; in __pop_egr()
[all …]
H A Dtest_check_mtu.c165 retval = BPF_DROP; in tc_use_helper()
180 int retval = BPF_DROP; /* Fail */ in tc_exceed_mtu()
193 retval = BPF_DROP; in tc_exceed_mtu()
208 int retval = BPF_DROP; /* Fail */ in tc_exceed_mtu_da()
220 retval = BPF_DROP; in tc_exceed_mtu_da()
243 retval = BPF_DROP; in tc_minus_delta()
263 retval = BPF_DROP; in tc_input_len()
272 int retval = BPF_DROP; /* Fail */ in tc_input_len_exceed()
301 return err == -EINVAL ? BPF_OK : BPF_DROP;
H A Dtest_seg6_loop.c238 return BPF_DROP; in __add_egr_x()
246 return BPF_DROP; in __add_egr_x()
252 return BPF_DROP; in __add_egr_x()
259 return BPF_DROP; in __add_egr_x()
H A Dtest_lwt_redirect.c49 return BPF_DROP; in test_lwt_redirect_in()
63 return BPF_DROP; in test_lwt_redirect_out()
H A Dtest_lwt_ip_encap.c44 return BPF_DROP; in bpf_lwt_encap_gre()
78 return BPF_DROP; in bpf_lwt_encap_gre6()
141 return BPF_DROP;
187 return BPF_DROP;
H A Dtest_lwt_reroute.c24 return BPF_DROP; in test_lwt_reroute()
H A Dtest_xdp_meta.c549 return BPF_DROP; in dummy_lwt_xmit()
/linux/samples/bpf/
H A Dtest_lwt_bpf.c68 return BPF_DROP; in do_test_data()
93 return BPF_DROP; in rewrite()
116 return BPF_DROP; in rewrite()
123 return BPF_DROP; in rewrite()
133 return BPF_DROP; in rewrite()
149 return BPF_DROP; in do_test_rewrite()
178 return BPF_DROP; in __do_push_ll_and_redirect()
241 printk("dropping with: %d", BPF_DROP); in do_drop_all()
242 return BPF_DROP; in do_drop_all()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector_load_bytes.c22 BPF_MOV64_IMM(BPF_REG_0, BPF_DROP), in serial_test_flow_dissector_load_bytes()
/linux/Documentation/bpf/
H A Dprog_flow_dissector.rst36 dissection, or BPF_DROP to indicate parsing error.
/linux/net/core/
H A Dlwt_bpf.c70 case BPF_DROP: in run_lwt_bpf()
/linux/tools/include/uapi/linux/
H A Dbpf.h6527 BPF_DROP = 2, enumerator
/linux/include/uapi/linux/
H A Dbpf.h6527 BPF_DROP = 2, enumerator
/linux/net/ipv6/
H A Dseg6_local.c1465 case BPF_DROP: in input_action_end_bpf()