Home
last modified time | relevance | path

Searched refs:BPF_PROG_TYPE_SOCKET_FILTER (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A Djset.c84 .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 Devent_output.c74 .prog_type = BPF_PROG_TYPE_SOCKET_FILTER,
H A Dcalls.c495 .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 Dlog_buf.c165 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 Dsignal_pending.c48 test_signal_pending_by_type(BPF_PROG_TYPE_SOCKET_FILTER); in test_signal_pending()
H A Draw_tp_writable_test_run.c43 int filter_fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL v2", in serial_test_raw_tp_writable_test_run()
H A Dsection_names.c23 {"socket", {0, BPF_PROG_TYPE_SOCKET_FILTER, 0}, {-EINVAL, 0} },
H A Dunpriv_bpf_disabled.c170 ASSERT_EQ(bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, "simple_prog", "GPL", in test_unpriv_bpf_disabled_negative()
H A Dbpf_obj_id.c145 prog_infos[i].type, BPF_PROG_TYPE_SOCKET_FILTER, in serial_test_bpf_obj_id()
H A Dalign.c620 fd_prog = bpf_prog_load(prog_type ? : BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL", in do_test_single()
H A Dflow_dissector_reattach.c417 prog3 = load_prog(BPF_PROG_TYPE_SOCKET_FILTER); in test_link_update_invalid_prog()
/openbmc/linux/net/netfilter/
H A Dxt_bpf.c47 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 Dsockex2_user.c31 bpf_program__set_type(prog, BPF_PROG_TYPE_SOCKET_FILTER); in main()
H A Dsockex1_user.c27 bpf_program__set_type(prog, BPF_PROG_TYPE_SOCKET_FILTER); in main()
H A Dsock_example.c68 prog_fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL", in test_sock()
H A Dfds_example.c72 return bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL", in bpf_prog_create()
H A Dcookie_uid_helper_example.c165 prog_fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL", in prog_load()
/openbmc/qemu/ebpf/
H A Debpf_rss.c52 bpf_program__set_type(rss_bpf_ctx->progs.tun_rss_steering_prog, BPF_PROG_TYPE_SOCKET_FILTER); in ebpf_rss_load()
/openbmc/linux/include/linux/
H A Dbpf_types.h5 BPF_PROG_TYPE(BPF_PROG_TYPE_SOCKET_FILTER, sk_filter,
/openbmc/linux/tools/testing/selftests/net/
H A Dreuseport_bpf.c111 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 Dreuseport_bpf_numa.c88 attr.prog_type = BPF_PROG_TYPE_SOCKET_FILTER; in attach_bpf()
H A Dpsock_fanout.c164 attr.prog_type = BPF_PROG_TYPE_SOCKET_FILTER; in sock_fanout_set_ebpf()
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf_probes.c162 case BPF_PROG_TYPE_SOCKET_FILTER: in probe_prog_load()
/openbmc/linux/Documentation/bpf/libbpf/
H A Dprogram_types.rst144 | ``BPF_PROG_TYPE_SOCKET_FILTER`` | | ``socket`` …
/openbmc/linux/Documentation/bpf/
H A Dbpf_prog_run.rst28 - ``BPF_PROG_TYPE_SOCKET_FILTER``

12