Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb97768a authored by FX Le Bail's avatar FX Le Bail Committed by David S. Miller
Browse files

net: update comments of "struct msghdr" with the more accurate RFC3542 ones

parent fa35864e
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -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 */