diff options
author | FX Le Bail <fx.lebail@yahoo.com> | 2014-01-22 05:39:46 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-23 06:57:05 +0100 |
commit | eb97768acb3f7749a3a03ee35fee9088244113ea (patch) | |
tree | abbc318766141c15d4dc2ec0f6f55f549ff70d0a | |
parent | tuntap: Fix for a race in accessing numqueues (diff) | |
download | linux-eb97768acb3f7749a3a03ee35fee9088244113ea.tar.xz linux-eb97768acb3f7749a3a03ee35fee9088244113ea.zip |
net: update comments of "struct msghdr" with the more accurate RFC3542 ones
Signed-off-by: Francois-Xavier Le Bail <fx.lebail@yahoo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/linux/socket.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h index 5d488a65ad20..8e98297f1388 100644 --- a/include/linux/socket.h +++ b/include/linux/socket.h @@ -45,13 +45,13 @@ struct linger { */ struct msghdr { - void * msg_name; /* Socket name */ - int msg_namelen; /* Length of name */ - struct iovec * msg_iov; /* Data blocks */ - __kernel_size_t msg_iovlen; /* Number of blocks */ - void * msg_control; /* Per protocol magic (eg BSD file descriptor passing) */ - __kernel_size_t msg_controllen; /* Length of cmsg list */ - unsigned int msg_flags; + void *msg_name; /* ptr to socket address structure */ + int msg_namelen; /* size of socket address structure */ + struct iovec *msg_iov; /* scatter/gather array */ + __kernel_size_t msg_iovlen; /* # elements in msg_iov */ + void *msg_control; /* ancillary data */ + __kernel_size_t msg_controllen; /* ancillary data buffer length */ + unsigned int msg_flags; /* flags on received message */ }; /* For recvmmsg/sendmmsg */ |