table of contents
KERNEL_RECVMSG(9) | Linux Networking | KERNEL_RECVMSG(9) |
NAME¶
kernel_recvmsg - Receive a message from a socket (kernel space)
SYNOPSIS¶
int kernel_recvmsg(struct socket * sock, struct msghdr * msg, struct kvec * vec, size_t num, size_t size, int flags);
ARGUMENTS¶
struct socket * sock
struct msghdr * msg
struct kvec * vec
size_t num
size_t size
int flags
DESCRIPTION¶
On return the msg structure contains the scatter/gather array passed in the vec argument. The array is modified so that it consists of the unfilled portion of the original array.
The returned value is the total number of bytes received, or an error.
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |