Home
last modified time | relevance | path

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

/linux-6.1.9/net/unix/
Dunix_bpf.c148 sock_replace_proto(sk, psock->sk_proto); in unix_dgram_bpf_update_proto()
153 sock_replace_proto(sk, &unix_dgram_bpf_prot); in unix_dgram_bpf_update_proto()
161 sock_replace_proto(sk, psock->sk_proto); in unix_stream_bpf_update_proto()
166 sock_replace_proto(sk, &unix_stream_bpf_prot); in unix_stream_bpf_update_proto()
/linux-6.1.9/net/ipv4/
Dudp_bpf.c144 sock_replace_proto(sk, psock->sk_proto); in udp_bpf_update_proto()
151 sock_replace_proto(sk, &udp_bpf_prots[family]); in udp_bpf_update_proto()
Dtcp_bpf.c617 sock_replace_proto(sk, psock->sk_proto); in tcp_bpf_update_proto()
630 sock_replace_proto(sk, &tcp_bpf_prots[family][config]); in tcp_bpf_update_proto()
/linux-6.1.9/include/net/
Dsock.h1892 static inline void sock_replace_proto(struct sock *sk, struct proto *proto) in sock_replace_proto() function