Searched refs:bpf_sk_lookup_tcp (Results 1 – 9 of 9) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_ref_tracking.c | 116 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 D | test_sk_lookup_kern.c | 74 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 D | verifier_unpriv.c | 407 " 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 D | vrf_socket_lookup.c | 46 sk = bpf_sk_lookup_tcp(ctx, tp, tplen, CUR_NS, 0); in socket_lookup()
|
H A D | cgroup_skb_sk_lookup_kern.c | 50 peer_sk = bpf_sk_lookup_tcp(skb, &tuple, tuple_len, in is_allowed_peer_cg()
|
H A D | connect6_prog.c | 48 sk = bpf_sk_lookup_tcp(ctx, &tuple, sizeof(tuple.ipv6), in connect_v6_prog()
|
H A D | connect4_prog.c | 174 sk = bpf_sk_lookup_tcp(ctx, &tuple, sizeof(tuple.ipv4), in connect_v4_prog()
|
/linux/Documentation/bpf/ |
H A D | verifier.rst | 795 7: (85) call bpf_sk_lookup_tcp#65 822 7: (85) call bpf_sk_lookup_tcp#65
|
/linux/net/core/ |
H A D | filter.c | 6867 BPF_CALL_5(bpf_sk_lookup_tcp, struct sk_buff *, skb, in BPF_CALL_5() argument 6875 .func = bpf_sk_lookup_tcp,
|