Searched refs:sock_replace_proto (Results 1 – 4 of 4) sorted by relevance
148 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()
144 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()
617 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()
1892 static inline void sock_replace_proto(struct sock *sk, struct proto *proto) in sock_replace_proto() function