/openbmc/linux/tools/testing/selftests/bpf/verifier/ |
H A D | jset.c | 84 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER, 98 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER, 113 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER, 127 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER, 143 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER, 165 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER,
|
H A D | event_output.c | 74 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER,
|
H A D | calls.c | 495 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER, 2261 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER, 2287 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER, 2312 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER,
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | log_buf.c | 165 fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, "good_prog", "GPL", in bpf_prog_load_log_buf() 176 fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, "good_prog", "GPL", in bpf_prog_load_log_buf() 187 fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, "bad_prog", "GPL", in bpf_prog_load_log_buf()
|
H A D | signal_pending.c | 48 test_signal_pending_by_type(BPF_PROG_TYPE_SOCKET_FILTER); in test_signal_pending()
|
H A D | raw_tp_writable_test_run.c | 43 int filter_fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL v2", in serial_test_raw_tp_writable_test_run()
|
H A D | section_names.c | 23 {"socket", {0, BPF_PROG_TYPE_SOCKET_FILTER, 0}, {-EINVAL, 0} },
|
H A D | unpriv_bpf_disabled.c | 170 ASSERT_EQ(bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, "simple_prog", "GPL", in test_unpriv_bpf_disabled_negative()
|
H A D | bpf_obj_id.c | 145 prog_infos[i].type, BPF_PROG_TYPE_SOCKET_FILTER, in serial_test_bpf_obj_id()
|
H A D | align.c | 620 fd_prog = bpf_prog_load(prog_type ? : BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL", in do_test_single()
|
H A D | flow_dissector_reattach.c | 417 prog3 = load_prog(BPF_PROG_TYPE_SOCKET_FILTER); in test_link_update_invalid_prog()
|
/openbmc/linux/net/netfilter/ |
H A D | xt_bpf.c | 47 prog = bpf_prog_get_type(fd, BPF_PROG_TYPE_SOCKET_FILTER); in __bpf_mt_check_fd() 60 *ret = bpf_prog_get_type_path(path, BPF_PROG_TYPE_SOCKET_FILTER); in __bpf_mt_check_path()
|
/openbmc/linux/samples/bpf/ |
H A D | sockex2_user.c | 31 bpf_program__set_type(prog, BPF_PROG_TYPE_SOCKET_FILTER); in main()
|
H A D | sockex1_user.c | 27 bpf_program__set_type(prog, BPF_PROG_TYPE_SOCKET_FILTER); in main()
|
H A D | sock_example.c | 68 prog_fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL", in test_sock()
|
H A D | fds_example.c | 72 return bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL", in bpf_prog_create()
|
H A D | cookie_uid_helper_example.c | 165 prog_fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL", in prog_load()
|
/openbmc/linux/include/linux/ |
H A D | bpf_types.h | 5 BPF_PROG_TYPE(BPF_PROG_TYPE_SOCKET_FILTER, sk_filter,
|
/openbmc/qemu/ebpf/ |
H A D | ebpf_rss.c | 120 bpf_program__set_type(rss_bpf_ctx->progs.tun_rss_steering_prog, BPF_PROG_TYPE_SOCKET_FILTER); in ebpf_rss_load()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | reuseport_bpf.c | 111 attr.prog_type = BPF_PROG_TYPE_SOCKET_FILTER; in attach_ebpf() 354 eprog.prog_type = BPF_PROG_TYPE_SOCKET_FILTER; in test_filter_no_reuseport()
|
H A D | reuseport_bpf_numa.c | 88 attr.prog_type = BPF_PROG_TYPE_SOCKET_FILTER; in attach_bpf()
|
H A D | psock_fanout.c | 164 attr.prog_type = BPF_PROG_TYPE_SOCKET_FILTER; in sock_fanout_set_ebpf()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | libbpf_probes.c | 162 case BPF_PROG_TYPE_SOCKET_FILTER: in probe_prog_load()
|
/openbmc/linux/Documentation/bpf/libbpf/ |
H A D | program_types.rst | 144 | ``BPF_PROG_TYPE_SOCKET_FILTER`` | | ``socket`` …
|
/openbmc/linux/Documentation/bpf/ |
H A D | bpf_prog_run.rst | 28 - ``BPF_PROG_TYPE_SOCKET_FILTER``
|