@@ -681,6 +681,21 @@ struct fsctl_get_integrity_information_rsp {
/* Integrity flags for above */
#define FSCTL_INTEGRITY_FLAG_CHECKSUM_ENFORCEMENT_OFF 0x00000001
+/* See MS-DFSC 2.2.2 */
+struct fsctl_get_dfs_referral_req {
+ __le16 MaxReferralLevel;
+ __u8 RequestFileName[];
+} __packed;
+
+struct fsctl_get_dfs_referral_rsp {
+ __le16 PathConsumed;
+ __le16 NumberOfReferrals;
+ __le32 ReferralHeaderFlags;
+ __u8 buffer[];
+} __packed;
+
+/* reusing struct dfs_referral_level_3 */
+
/* See MS-SMB2 2.2.31.3 */
struct network_resiliency_req {
__le32 Timeout;
Signed-off-by: Aurelien Aptel <aaptel@suse.com> --- fs/cifs/smb2pdu.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+)