Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_btf_skc_cls_ingress.c66 struct bpf_sock *bpf_skc; in handle_ip6_tcp() local
88 bpf_skc = bpf_skc_lookup_tcp(skb, tuple, tuple_len, in handle_ip6_tcp()
90 if (!bpf_skc) { in handle_ip6_tcp()
95 if (bpf_skc->state == BPF_TCP_NEW_SYN_RECV) { in handle_ip6_tcp()
98 req_sk = (struct request_sock *)bpf_skc_to_tcp_request_sock(bpf_skc); in handle_ip6_tcp()
113 } else if (bpf_skc->state == BPF_TCP_LISTEN) { in handle_ip6_tcp()
116 tp = bpf_skc_to_tcp_sock(bpf_skc); in handle_ip6_tcp()
134 if (bpf_sk_assign(skb, bpf_skc, 0)) in handle_ip6_tcp()
138 bpf_sk_release(bpf_skc); in handle_ip6_tcp()