/* Modified 1995, 1996 by Volker Lendecke to be usable for ncp Modified 1997 Peter Waltenberg, Bill Hawes, David Woodhouse for 2.1 dcache  */
static int _recv(struct socket *sock, void *buf, int size, unsigned flags)
/* Modified 1995, 1996 by Volker Lendecke to be usable for ncp Modified 1997 Peter Waltenberg, Bill Hawes, David Woodhouse for 2.1 dcache  */
static int _recv(struct socket *sock, void *buf, int size, unsigned flags)
{
	struct msghdr msg = {NULL, };
	struct kvec iov = {buf, size};
	return kernel_recvmsg(sock, &msg, &iov, 1, size, flags);
}