aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/socket.h
diff options
context:
space:
mode:
authorFX Le Bail <fx.lebail@yahoo.com>2014-01-21 23:39:46 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-23 00:57:05 -0500
commiteb97768acb3f7749a3a03ee35fee9088244113ea (patch)
treeabbc318766141c15d4dc2ec0f6f55f549ff70d0a /include/linux/socket.h
parentfa35864e0bb7f7c13b9c6d6751ddac9b42d4810f (diff)
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>
Diffstat (limited to 'include/linux/socket.h')
-rw-r--r--include/linux/socket.h14
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 {
45 */ 45 */
46 46
47struct msghdr { 47struct msghdr {
48 void * msg_name; /* Socket name */ 48 void *msg_name; /* ptr to socket address structure */
49 int msg_namelen; /* Length of name */ 49 int msg_namelen; /* size of socket address structure */
50 struct iovec * msg_iov; /* Data blocks */ 50 struct iovec *msg_iov; /* scatter/gather array */
51 __kernel_size_t msg_iovlen; /* Number of blocks */ 51 __kernel_size_t msg_iovlen; /* # elements in msg_iov */
52 void * msg_control; /* Per protocol magic (eg BSD file descriptor passing) */ 52 void *msg_control; /* ancillary data */
53 __kernel_size_t msg_controllen; /* Length of cmsg list */ 53 __kernel_size_t msg_controllen; /* ancillary data buffer length */
54 unsigned int msg_flags; 54 unsigned int msg_flags; /* flags on received message */
55}; 55};
56 56
57/* For recvmmsg/sendmmsg */ 57/* For recvmmsg/sendmmsg */