Home
last modified time | relevance | path

Searched refs:bpf_sk_lookup_tcp (Results 1 – 9 of 9) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_ref_tracking.c116 BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in reference_tracking_leak_potential_reference()
120 : __imm(bpf_sk_lookup_tcp), in reference_tracking_leak_potential_reference()
146 BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in leak_potential_reference_on_stack()
153 : __imm(bpf_sk_lookup_tcp), in leak_potential_reference_on_stack()
164 BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in potential_reference_on_stack_2()
173 : __imm(bpf_sk_lookup_tcp), in potential_reference_on_stack_2()
184 BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in reference_tracking_zero_potential_reference()
188 : __imm(bpf_sk_lookup_tcp), in reference_tracking_zero_potential_reference()
214 BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in copy_and_zero_potential_references()
220 : __imm(bpf_sk_lookup_tcp), in copy_and_zero_potential_references()
[all...]
H A Dtest_sk_lookup_kern.c74 sk = bpf_sk_lookup_tcp(skb, tuple, tuple_len, BPF_F_CURRENT_NETNS, 0); in sk_lookup_success()
87 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in sk_lookup_success_simple()
100 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in err_use_after_free()
114 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in err_modify_sk_pointer()
128 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in err_modify_sk_or_null_pointer()
140 bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in err_no_release()
150 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in err_release_twice()
162 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in err_release_unchecked()
170 bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in lookup_no_release()
H A Dverifier_unpriv.c407 " BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in pointers_stx_ctx_and_sock()
431 : __imm(bpf_sk_lookup_tcp), in pointers_stx_ctx_and_sock()
448 " BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in different_pointers_stx_leak_sock()
468 : __imm(bpf_sk_lookup_tcp), in different_pointers_stx_leak_sock()
482 " BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in stx_sock_and_ctx_read()
504 : __imm(bpf_sk_lookup_tcp), in stx_sock_and_ctx_read()
521 " BPF_SK_LOOKUP(bpf_sk_lookup_tcp) in stx_sock_and_ctx_write()
544 : __imm(bpf_sk_lookup_tcp), in stx_sock_and_ctx_write()
H A Dvrf_socket_lookup.c46 sk = bpf_sk_lookup_tcp(ctx, tp, tplen, CUR_NS, 0); in socket_lookup()
H A Dcgroup_skb_sk_lookup_kern.c50 peer_sk = bpf_sk_lookup_tcp(skb, &tuple, tuple_len, in is_allowed_peer_cg()
H A Dconnect6_prog.c48 sk = bpf_sk_lookup_tcp(ctx, &tuple, sizeof(tuple.ipv6), in connect_v6_prog()
H A Dconnect4_prog.c174 sk = bpf_sk_lookup_tcp(ctx, &tuple, sizeof(tuple.ipv4), in connect_v4_prog()
/linux/Documentation/bpf/
H A Dverifier.rst795 7: (85) call bpf_sk_lookup_tcp#65
822 7: (85) call bpf_sk_lookup_tcp#65
/linux/net/core/
H A Dfilter.c6867 BPF_CALL_5(bpf_sk_lookup_tcp, struct sk_buff *, skb, in BPF_CALL_5() argument
6875 .func = bpf_sk_lookup_tcp,