netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] net: update comments of "struct msghdr" with the more accurate RFC3542 ones
@ 2014-01-22  4:39 Francois-Xavier Le Bail
  2014-01-23  5:58 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Francois-Xavier Le Bail @ 2014-01-22  4:39 UTC (permalink / raw)
  To: netdev; +Cc: David Miller


Signed-off-by: Francois-Xavier Le Bail <fx.lebail@yahoo.com>
---
 include/linux/socket.h |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/include/linux/socket.h b/include/linux/socket.h
index 5d488a6..8e98297 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 */
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] net: update comments of "struct msghdr" with the more accurate RFC3542 ones
  2014-01-22  4:39 [PATCH net-next] net: update comments of "struct msghdr" with the more accurate RFC3542 ones Francois-Xavier Le Bail
@ 2014-01-23  5:58 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-01-23  5:58 UTC (permalink / raw)
  To: fx.lebail; +Cc: netdev

From: Francois-Xavier Le Bail <fx.lebail@yahoo.com>
Date: Wed, 22 Jan 2014 05:39:46 +0100

> Signed-off-by: Francois-Xavier Le Bail <fx.lebail@yahoo.com>

Fair enough, applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-23  5:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-22  4:39 [PATCH net-next] net: update comments of "struct msghdr" with the more accurate RFC3542 ones Francois-Xavier Le Bail
2014-01-23  5:58 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).