Home
last modified time | relevance | path

Searched refs:sk_proto (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-6.6/net/unix/
H A Dunix_bpf.c151 sock_replace_proto(sk, psock->sk_proto); in unix_dgram_bpf_update_proto()
155 unix_dgram_bpf_check_needs_rebuild(psock->sk_proto); in unix_dgram_bpf_update_proto()
170 sock_replace_proto(sk, psock->sk_proto); in unix_stream_bpf_update_proto()
188 unix_stream_bpf_check_needs_rebuild(psock->sk_proto); in unix_stream_bpf_update_proto()
/kernel/linux/linux-5.10/net/tls/
H A Dtls_toe.c98 ctx->sk_proto->unhash(sk); in tls_toe_unhash()
107 err = ctx->sk_proto->hash(sk); in tls_toe_hash()
H A Dtls_main.c319 WRITE_ONCE(sk->sk_prot, ctx->sk_proto); in tls_sk_proto_close()
330 ctx->sk_proto->close(sk, timeout); in tls_sk_proto_close()
460 return ctx->sk_proto->getsockopt(sk, level, in tls_getsockopt()
620 return ctx->sk_proto->setsockopt(sk, level, optname, optval, in tls_setsockopt()
636 ctx->sk_proto = READ_ONCE(sk->sk_prot); in tls_ctx_create()
639 * ctx->sk_proto is visible before changing sk->sk_prot in in tls_ctx_create()
643 * address dependency between sk->sk_proto->{getsockopt,setsockopt} in tls_ctx_create()
644 * and ctx->sk_proto. in tls_ctx_create()
803 ctx->sk_proto = p; in tls_update()
/kernel/linux/linux-6.6/net/tls/
H A Dtls_toe.c100 ctx->sk_proto->unhash(sk); in tls_toe_unhash()
109 err = ctx->sk_proto->hash(sk); in tls_toe_hash()
H A Dtls_main.c388 WRITE_ONCE(sk->sk_prot, ctx->sk_proto); in tls_sk_proto_close()
399 ctx->sk_proto->close(sk, timeout); in tls_sk_proto_close()
582 return ctx->sk_proto->getsockopt(sk, level, in tls_getsockopt()
801 return ctx->sk_proto->setsockopt(sk, level, optname, optval, in tls_setsockopt()
818 ctx->sk_proto = READ_ONCE(sk->sk_prot); in tls_ctx_create()
979 ctx->sk_proto = p; in tls_update()
/kernel/linux/linux-6.6/net/vmw_vsock/
H A Dvsock_bpf.c155 sock_replace_proto(sk, psock->sk_proto); in vsock_bpf_update_proto()
166 vsock_bpf_check_needs_rebuild(psock->sk_proto); in vsock_bpf_update_proto()
/kernel/linux/linux-6.6/net/ipv4/
H A Dudp_bpf.c147 sock_replace_proto(sk, psock->sk_proto); in udp_bpf_update_proto()
152 udp_bpf_check_v6_needs_rebuild(psock->sk_proto); in udp_bpf_update_proto()
H A Dtcp_bpf.c666 tcp_update_ulp(sk, psock->sk_proto, psock->saved_write_space); in tcp_bpf_update_proto()
670 sock_replace_proto(sk, psock->sk_proto); in tcp_bpf_update_proto()
676 if (tcp_bpf_assert_proto_ops(psock->sk_proto)) in tcp_bpf_update_proto()
679 tcp_bpf_check_v6_needs_rebuild(psock->sk_proto); in tcp_bpf_update_proto()
/kernel/linux/linux-5.10/net/ipv4/
H A Dudp_bpf.c49 udp_bpf_check_v6_needs_rebuild(psock->sk_proto); in udp_bpf_get_proto()
H A Dtcp_bpf.c630 if (tcp_bpf_assert_proto_ops(psock->sk_proto)) in tcp_bpf_get_proto()
633 tcp_bpf_check_v6_needs_rebuild(psock->sk_proto); in tcp_bpf_get_proto()
/kernel/linux/linux-5.10/include/linux/
H A Dskmsg.h103 struct proto *sk_proto; member
360 tcp_update_ulp(sk, psock->sk_proto, psock->saved_write_space); in sk_psock_restore_proto()
364 WRITE_ONCE(sk->sk_prot, psock->sk_proto); in sk_psock_restore_proto()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_main.c484 return ctx->sk_proto->getsockopt(sk, level, in chtls_getsockopt()
575 return ctx->sk_proto->setsockopt(sk, level, in chtls_setsockopt()
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_main.c484 return ctx->sk_proto->getsockopt(sk, level, in chtls_getsockopt()
575 return ctx->sk_proto->setsockopt(sk, level, in chtls_setsockopt()
/kernel/linux/linux-6.6/include/net/
H A Dtls.h252 struct proto *sk_proto; member
/kernel/linux/linux-6.6/include/linux/
H A Dskmsg.h105 struct proto *sk_proto; member
/kernel/linux/linux-5.10/include/net/
H A Dtls.h271 struct proto *sk_proto; member
/kernel/linux/linux-5.10/net/core/
H A Dskmsg.c600 psock->sk_proto = prot; in sk_psock_init()
/kernel/linux/linux-6.6/net/core/
H A Dskmsg.c726 psock->sk_proto = prot; in sk_psock_init()

Completed in 15 milliseconds