/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_ref_tracking.c | 9 #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 D | verifier_unpriv.c | 9 #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 D | ctx_sk_lookup.c | 259 .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 D | bpf_st_mem.c | 13 .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 D | bpf-netns.h | 15 case BPF_SK_LOOKUP: in to_netns_bpf_attach_type()
|
/openbmc/linux/Documentation/bpf/ |
H A D | prog_sk_lookup.rst | 14 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 D | libbpf_probes.c | 124 opts.expected_attach_type = BPF_SK_LOOKUP; in probe_prog_load()
|
H A D | libbpf.c | 111 [BPF_SK_LOOKUP] = "sk_lookup", 8865 SEC_DEF("sk_lookup", SK_LOOKUP, BPF_SK_LOOKUP, SEC_ATTACHABLE),
|
/openbmc/linux/Documentation/bpf/libbpf/ |
H A D | program_types.rst | 130 | ``BPF_PROG_TYPE_SK_LOOKUP`` | ``BPF_SK_LOOKUP`` | ``sk_lookup`…
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sk_lookup.c | 541 err = bpf_prog_query(net_fd, BPF_SK_LOOKUP, 0 /* query flags */, in query_lookup_prog()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 1047 BPF_SK_LOOKUP, enumerator
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 1047 BPF_SK_LOOKUP, enumerator
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_verifier.c | 464 #define BPF_SK_LOOKUP(func) \ macro
|
H A D | veristat.c | 850 { "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 D | syscall.c | 2509 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()
|