Searched refs:BPF_OK (Results 1 – 16 of 16) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | bpf_flow.c | 180 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 …]
|
H A D | test_lwt_redirect.c | 46 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 D | test_check_mtu.c | 159 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 D | test_lwt_reroute.c | 21 return BPF_OK; in test_lwt_reroute() 31 return BPF_OK; in test_lwt_reroute()
|
H A D | test_lwt_seg6local.c | 395 return BPF_OK; in __pop_egr()
|
/linux/samples/bpf/ |
H A D | test_lwt_bpf.c | 31 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 D | lwt_len_hist.bpf.c | 59 return BPF_OK; in do_len_hist()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | flow_dissector.c | 119 .retval = BPF_OK, 140 .retval = BPF_OK, 163 .retval = BPF_OK, 187 .retval = BPF_OK, 214 .retval = BPF_OK, 237 .retval = BPF_OK, 264 .retval = BPF_OK, 287 .retval = BPF_OK, 310 .retval = BPF_OK, 333 .retval = BPF_OK, [all …]
|
H A D | flow_dissector_load_bytes.c | 25 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 D | check_mtu.c | 135 int retval_expect = BPF_OK; in test_check_mtu_run_tc()
|
H A D | flow_dissector_reattach.c | 45 BPF_MOV64_IMM(BPF_REG_0, BPF_OK), in load_prog()
|
/linux/net/core/ |
H A D | lwt_bpf.c | 55 case BPF_OK: in run_lwt_bpf() 63 ret = BPF_OK; in run_lwt_bpf() 285 case BPF_OK: in bpf_xmit()
|
H A D | flow_dissector.c | 1167 return result == BPF_OK; in __skb_flow_dissect()
|
/linux/Documentation/bpf/ |
H A D | prog_flow_dissector.rst | 35 The return code of the BPF program is either BPF_OK to indicate successful
|
/linux/include/uapi/linux/ |
H A D | bpf.h | 6322 BPF_OK = 0, enumerator
|
/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 6322 BPF_OK = 0, enumerator
|