Lines Matching refs:prot
100 static void unix_dgram_bpf_rebuild_protos(struct proto *prot, const struct proto *base) in unix_dgram_bpf_rebuild_protos() argument
102 *prot = *base; in unix_dgram_bpf_rebuild_protos()
103 prot->close = sock_map_close; in unix_dgram_bpf_rebuild_protos()
104 prot->recvmsg = unix_bpf_recvmsg; in unix_dgram_bpf_rebuild_protos()
105 prot->sock_is_readable = sk_msg_is_readable; in unix_dgram_bpf_rebuild_protos()
108 static void unix_stream_bpf_rebuild_protos(struct proto *prot, in unix_stream_bpf_rebuild_protos() argument
111 *prot = *base; in unix_stream_bpf_rebuild_protos()
112 prot->close = sock_map_close; in unix_stream_bpf_rebuild_protos()
113 prot->recvmsg = unix_bpf_recvmsg; in unix_stream_bpf_rebuild_protos()
114 prot->sock_is_readable = sk_msg_is_readable; in unix_stream_bpf_rebuild_protos()
115 prot->unhash = sock_map_unhash; in unix_stream_bpf_rebuild_protos()