Lines Matching refs:sk_prot
204 sk->sk_prot = &bpf_tcp_prots[family][conf]; in update_sk_prot()
223 psock->save_unhash = sk->sk_prot->unhash; in bpf_tcp_init()
224 psock->save_close = sk->sk_prot->close; in bpf_tcp_init()
225 psock->sk_proto = sk->sk_prot; in bpf_tcp_init()
229 unlikely(sk->sk_prot != smp_load_acquire(&saved_tcpv6_prot))) { in bpf_tcp_init()
231 if (likely(sk->sk_prot != saved_tcpv6_prot)) { in bpf_tcp_init()
232 build_protos(bpf_tcp_prots[SOCKMAP_IPV6], sk->sk_prot); in bpf_tcp_init()
233 smp_store_release(&saved_tcpv6_prot, sk->sk_prot); in bpf_tcp_init()
261 sk->sk_prot = psock->sk_proto; in bpf_tcp_release()
379 if (sk->sk_prot->unhash) in bpf_tcp_unhash()
380 sk->sk_prot->unhash(sk); in bpf_tcp_unhash()
400 return sk->sk_prot->close(sk, timeout); in bpf_tcp_close()