Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
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()
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()
384 return export_flow_keys(keys, BPF_OK); in PROG()
[all …]
Dtest_lwt_reroute.c21 return BPF_OK; in test_lwt_reroute()
31 return BPF_OK; in test_lwt_reroute()
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()
Dtest_lwt_seg6local.c393 return BPF_OK; in __pop_egr()
/tools/testing/selftests/bpf/prog_tests/
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 …]
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()
Dcheck_mtu.c135 int retval_expect = BPF_OK; in test_check_mtu_run_tc()
Dflow_dissector_reattach.c45 BPF_MOV64_IMM(BPF_REG_0, BPF_OK), in load_prog()
/tools/include/uapi/linux/
Dbpf.h6182 BPF_OK = 0, enumerator