Lines Matching full:tuple
20 /* Fill 'tuple' with L3 info, and attempt to find L4. On fail, return NULL. */
61 struct bpf_sock_tuple *tuple; in sk_lookup_success() local
69 tuple = get_tuple(data, sizeof(*eth), data_end, eth->h_proto, &ipv4); in sk_lookup_success()
70 if (!tuple || tuple + sizeof *tuple > data_end) in sk_lookup_success()
73 tuple_len = ipv4 ? sizeof(tuple->ipv4) : sizeof(tuple->ipv6); in sk_lookup_success()
74 sk = bpf_sk_lookup_tcp(skb, tuple, tuple_len, BPF_F_CURRENT_NETNS, 0); in sk_lookup_success()
84 struct bpf_sock_tuple tuple = {}; in sk_lookup_success_simple() local
87 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in sk_lookup_success_simple()
96 struct bpf_sock_tuple tuple = {}; in err_use_after_free() local
100 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in err_use_after_free()
111 struct bpf_sock_tuple tuple = {}; in err_modify_sk_pointer() local
114 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in err_modify_sk_pointer()
125 struct bpf_sock_tuple tuple = {}; in err_modify_sk_or_null_pointer() local
128 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in err_modify_sk_or_null_pointer()
138 struct bpf_sock_tuple tuple = {}; in err_no_release() local
140 bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in err_no_release()
147 struct bpf_sock_tuple tuple = {}; in err_release_twice() local
150 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in err_release_twice()
159 struct bpf_sock_tuple tuple = {}; in err_release_unchecked() local
162 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in err_release_unchecked()
169 struct bpf_sock_tuple tuple = {}; in lookup_no_release() local
170 bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in lookup_no_release()