Home
last modified time | relevance | path

Searched refs:BPF_OK (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_lwt_redirect.c46 return BPF_OK; in test_lwt_redirect_in()
60 return BPF_OK; in test_lwt_redirect_out()
74 return BPF_OK; in test_lwt_redirect_out_nomac()
85 return BPF_OK; in test_lwt_redirect_in_nomac()
H A Dbpf_flow.c180 return export_flow_keys(keys, BPF_OK); in parse_ip_proto()
184 return export_flow_keys(keys, BPF_OK); in parse_ip_proto()
190 return export_flow_keys(keys, BPF_OK); in parse_ip_proto()
200 return export_flow_keys(keys, BPF_OK); in parse_ip_proto()
212 return export_flow_keys(keys, BPF_OK); in parse_ip_proto()
239 return export_flow_keys(keys, BPF_OK); in parse_ip_proto()
248 return export_flow_keys(keys, BPF_OK); in parse_ip_proto()
319 return export_flow_keys(keys, BPF_OK); in PROG()
341 return export_flow_keys(keys, BPF_OK); in PROG()
386 return export_flow_keys(keys, BPF_OK); in PROG()
[all …]
H A Dtest_check_mtu.c159 int retval = BPF_OK; /* Expected retval on successful test */ in tc_use_helper()
190 retval = BPF_OK; /* Success in exceeding MTU check */ in tc_exceed_mtu()
217 retval = BPF_OK; /* Success in exceeding MTU check */ in tc_exceed_mtu_da()
229 int retval = BPF_OK; /* Expected retval on successful test */ in tc_minus_delta()
251 int retval = BPF_OK; /* Expected retval on successful test */ in tc_input_len()
286 retval = BPF_OK; /* Success in exceeding MTU check */ in tc_input_len_exceed()
H A Dtest_lwt_reroute.c21 return BPF_OK; in test_lwt_reroute()
31 return BPF_OK; in test_lwt_reroute()
H A Dtest_lwt_seg6local.c393 return BPF_OK; in __pop_egr()
/openbmc/linux/samples/bpf/
H A Dtest_lwt_bpf.c31 return BPF_OK; in do_nop()
44 return BPF_OK; in do_test_ctx()
55 return BPF_OK; in do_test_cb()
73 return BPF_OK; in do_test_data()
136 return BPF_OK; in rewrite()
157 return BPF_OK; in do_test_rewrite()
225 return BPF_OK; in do_fill_garbage()
H A Dlwt_len_hist.bpf.c59 return BPF_OK; in do_len_hist()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector.c132 .retval = BPF_OK,
153 .retval = BPF_OK,
176 .retval = BPF_OK,
200 .retval = BPF_OK,
227 .retval = BPF_OK,
250 .retval = BPF_OK,
277 .retval = BPF_OK,
300 .retval = BPF_OK,
323 .retval = BPF_OK,
346 .retval = BPF_OK,
[all …]
H A Dflow_dissector_load_bytes.c25 BPF_MOV64_IMM(BPF_REG_0, BPF_OK), in serial_test_flow_dissector_load_bytes()
47 ASSERT_EQ(topts.retval, BPF_OK, "test_run retval"); in serial_test_flow_dissector_load_bytes()
H A Dcheck_mtu.c135 int retval_expect = BPF_OK; in test_check_mtu_run_tc()
H A Dflow_dissector_reattach.c45 BPF_MOV64_IMM(BPF_REG_0, BPF_OK), in load_prog()
/openbmc/linux/net/core/
H A Dlwt_bpf.c52 case BPF_OK: in run_lwt_bpf()
60 ret = BPF_OK; in run_lwt_bpf()
280 case BPF_OK: in bpf_xmit()
H A Dflow_dissector.c1134 return result == BPF_OK; in __skb_flow_dissect()
/openbmc/linux/Documentation/bpf/
H A Dprog_flow_dissector.rst35 The return code of the BPF program is either BPF_OK to indicate successful
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h6182 BPF_OK = 0, enumerator
/openbmc/linux/include/uapi/linux/
H A Dbpf.h6179 BPF_OK = 0, enumerator
/openbmc/linux/net/ipv6/
H A Dseg6_local.c1437 case BPF_OK: in input_action_end_bpf()