patch-2.4.2 linux/include/linux/smb.h

Next file: linux/include/linux/smb_fs.h
Previous file: linux/include/linux/skbuff.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.1/linux/include/linux/smb.h linux/include/linux/smb.h
@@ -93,14 +93,6 @@
 	unsigned long	f_blocks;
 };
 
-struct smb_dirent {
-	struct smb_fattr attr;
-
-	int f_pos;
-	int len;
-	__u8 name[SMB_MAXNAMELEN];
-};
-
 enum smb_conn_state {
         CONN_VALID,             /* everything's fine */
         CONN_INVALID,           /* Something went wrong, but did not
@@ -120,11 +112,13 @@
 
 #define SMB_HEADER_LEN   37     /* includes everything up to, but not
                                  * including smb_bcc */
-#define SMB_DEF_MAX_XMIT 32768
-#define SMB_INITIAL_PACKET_SIZE 4000
 
-/* Allocate max. 1 page */
-#define TRANS2_MAX_TRANSFER (4096-17)
+#define SMB_INITIAL_PACKET_SIZE		4000
+#define SMB_MAX_PACKET_SIZE		32768
+
+/* reserve this much space for trans2 parameters. Shouldn't have to be more
+   than 10 or so, but OS/2 seems happier like this. */
+#define SMB_TRANS2_MAX_PARAM 64
 
 #endif
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)