patch-2.0.37 linux/include/linux/ncp_fs_sb.h

Next file: linux/include/linux/ncp_mount.h
Previous file: linux/include/linux/ncp_fs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.36/linux/include/linux/ncp_fs_sb.h linux/include/linux/ncp_fs_sb.h
@@ -14,6 +14,7 @@
 #ifdef __KERNEL__
 
 #define NCP_DEFAULT_BUFSIZE 1024
+#define NCP_DEFAULT_OPTIONS 0		/* 2 for packet signatures */
 
 struct ncp_server {
 
@@ -57,6 +58,12 @@
 
         struct ncp_inode_info root;
 	char       root_path;	/* '\0' */
+
+/* info for packet signing */
+	int sign_wanted;        /* 1=Server needs signed packets */
+	int sign_active;        /* 0=don't do signing, 1=do */
+	char sign_root[8];	/* generated from password and encr. key */
+	char sign_last[16];	
 };
 
 static inline int

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov