Home
last modified time | relevance | path

Searched refs:BPF_SK_LOOKUP (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_ref_tracking.c9 #define BPF_SK_LOOKUP(func) \ macro
116 BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in reference_tracking_leak_potential_reference()
131 BPF_SK_LOOKUP(bpf_skc_lookup_tcp) in potential_reference_to_sock_common_1()
146 BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in leak_potential_reference_on_stack()
164 BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in potential_reference_on_stack_2()
184 BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in reference_tracking_zero_potential_reference()
199 BPF_SK_LOOKUP(bpf_skc_lookup_tcp) in potential_reference_to_sock_common_2()
214 BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in copy_and_zero_potential_references()
351 BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in tracking_release_reference_without_check()
389 BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in reference_tracking_release_reference()
[all …]
H A Dverifier_unpriv.c9 #define BPF_SK_LOOKUP(func) \ macro
407 " BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in pointers_stx_ctx_and_sock()
448 " BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in different_pointers_stx_leak_sock()
482 " BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in stx_sock_and_ctx_read()
521 " BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in stx_sock_and_ctx_write()
/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A Dctx_sk_lookup.c259 .expected_attach_type = BPF_SK_LOOKUP,
274 .expected_attach_type = BPF_SK_LOOKUP,
287 .expected_attach_type = BPF_SK_LOOKUP,
301 .expected_attach_type = BPF_SK_LOOKUP,
314 .expected_attach_type = BPF_SK_LOOKUP,
328 .expected_attach_type = BPF_SK_LOOKUP,
342 .expected_attach_type = BPF_SK_LOOKUP,
355 .expected_attach_type = BPF_SK_LOOKUP,
369 .expected_attach_type = BPF_SK_LOOKUP,
383 .expected_attach_type = BPF_SK_LOOKUP,
[all …]
H A Dbpf_st_mem.c13 .expected_attach_type = BPF_SK_LOOKUP,
35 .expected_attach_type = BPF_SK_LOOKUP,
65 .expected_attach_type = BPF_SK_LOOKUP,
/openbmc/linux/include/linux/
H A Dbpf-netns.h15 case BPF_SK_LOOKUP: in to_netns_bpf_attach_type()
/openbmc/linux/Documentation/bpf/
H A Dprog_sk_lookup.rst14 Hooks for a common attach point (``BPF_SK_LOOKUP``) exist for both TCP and UDP.
37 ``bpf(BPF_LINK_CREATE, ...)`` syscall using the ``BPF_SK_LOOKUP`` attach type and a
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf_probes.c124 opts.expected_attach_type = BPF_SK_LOOKUP; in probe_prog_load()
H A Dlibbpf.c111 [BPF_SK_LOOKUP] = "sk_lookup",
8865 SEC_DEF("sk_lookup", SK_LOOKUP, BPF_SK_LOOKUP, SEC_ATTACHABLE),
/openbmc/linux/Documentation/bpf/libbpf/
H A Dprogram_types.rst130 | ``BPF_PROG_TYPE_SK_LOOKUP`` | ``BPF_SK_LOOKUP`` | ``sk_lookup`…
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsk_lookup.c541 err = bpf_prog_query(net_fd, BPF_SK_LOOKUP, 0 /* query flags */, in query_lookup_prog()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h1047 BPF_SK_LOOKUP, enumerator
/openbmc/linux/include/uapi/linux/
H A Dbpf.h1047 BPF_SK_LOOKUP, enumerator
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_verifier.c464 #define BPF_SK_LOOKUP(func) \ macro
H A Dveristat.c850 { "bpf_sk_lookup", "bpf_sk_lookup_kern", BPF_PROG_TYPE_SK_LOOKUP, BPF_SK_LOOKUP }, in guess_prog_type_by_ctx_name()
/openbmc/linux/kernel/bpf/
H A Dsyscall.c2509 if (expected_attach_type == BPF_SK_LOOKUP) in bpf_prog_load_check_attach()
3810 case BPF_SK_LOOKUP: in attach_type_to_prog_type()
4070 case BPF_SK_LOOKUP: in bpf_prog_query()