patch-pre2.0.5 linux/include/linux/socket.h

Next file: linux/include/linux/tty.h
Previous file: linux/include/linux/module.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.4/linux/include/linux/socket.h linux/include/linux/socket.h
@@ -16,22 +16,22 @@
 	int		l_linger;	/* How long to linger for	*/
 };
 
+/*
+ *	As we do 4.4BSD message passing we use a 4.4BSD message passing
+ *	system, not 4.3. Thus msg_accrights(len) are now missing. They
+ *	belong in an obscure libc emulation or the bin.
+ */
+ 
 struct msghdr 
 {
 	void	*	msg_name;	/* Socket name			*/
 	int		msg_namelen;	/* Length of name		*/
 	struct iovec *	msg_iov;	/* Data blocks			*/
 	int 		msg_iovlen;	/* Number of blocks		*/
-	void 	*	msg_accrights;	/* Per protocol magic (eg BSD file descriptor passing) */
-	int		msg_accrightslen;	/* Length of rights list */
+	void 	*	msg_control;	/* Per protocol magic (eg BSD file descriptor passing) */
+	int		msg_controllen;	/* Length of rights list */
+	int		msg_flags;	/* 4.4 BSD item we dont use      */
 };
-
-/*
- *	4.4BSD changed to these new names for no apparent reason.
- */
- 
-#define msg_control	msg_accrights	
-#define msg_controllen	msg_accrightslen
 
 /* Control Messages */
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this