aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifspdu.h
diff options
context:
space:
mode:
authorIgor Mammedov <niallain@gmail.com>2008-05-16 05:06:30 -0400
committerSteve French <sfrench@us.ibm.com>2008-05-16 14:41:43 -0400
commitfec4585fd71cc5ec35d134e8c3854f6e8c4503f0 (patch)
treecbef29a0afee34b06241a337b69ec6a52b880ef5 /fs/cifs/cifspdu.h
parentde2db8d790b058fcd75d603780b913bd824972b3 (diff)
CIFSGetDFSRefer cleanup + dfs_referral_level_3 fixed to conform REFERRAL_V3 the MS-DFSC spec.
Signed-off-by: Igor Mammedov <niallain@gmail.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifspdu.h')
-rw-r--r--fs/cifs/cifspdu.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h
index c43bf4b7a55..93d5ee02a25 100644
--- a/fs/cifs/cifspdu.h
+++ b/fs/cifs/cifspdu.h
@@ -1906,17 +1906,15 @@ typedef struct smb_com_transaction2_get_dfs_refer_req {
1906 1906
1907typedef struct dfs_referral_level_3 { 1907typedef struct dfs_referral_level_3 {
1908 __le16 VersionNumber; 1908 __le16 VersionNumber;
1909 __le16 ReferralSize; 1909 __le16 Size;
1910 __le16 ServerType; /* 0x0001 = CIFS server */ 1910 __le16 ServerType; /* 0x0001 = root targets; 0x0000 = link targets */
1911 __le16 ReferralFlags; /* or proximity - not clear which since it is 1911 __le16 ReferralEntryFlags; /* 0x0200 bit set only for domain
1912 always set to zero - SNIA spec says 0x01 1912 or DC referral responce */
1913 means strip off PathConsumed chars before 1913 __le32 TimeToLive;
1914 submitting RequestFileName to remote node */
1915 __le16 TimeToLive;
1916 __le16 Proximity;
1917 __le16 DfsPathOffset; 1914 __le16 DfsPathOffset;
1918 __le16 DfsAlternatePathOffset; 1915 __le16 DfsAlternatePathOffset;
1919 __le16 NetworkAddressOffset; 1916 __le16 NetworkAddressOffset; /* offset of the link target */
1917 __le16 ServiceSiteGuid;
1920} __attribute__((packed)) REFERRAL3; 1918} __attribute__((packed)) REFERRAL3;
1921 1919
1922typedef struct smb_com_transaction_get_dfs_refer_rsp { 1920typedef struct smb_com_transaction_get_dfs_refer_rsp {