summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilov@microsoft.com>2016-11-17 15:24:34 -0800
committerSteve French <smfrench@gmail.com>2017-02-01 16:46:36 -0600
commit9bb17e0916a03ab901fb684e874d77a1e96b3d1e (patch)
tree5a4dc378ba0665c7c8f4684ad195c1294cba755f /fs/cifs/cifsglob.h
parent026e93dc0a3eefb0be060bcb9ecd8d7a7fd5c398 (diff)
downloadlinux-9bb17e0916a03ab901fb684e874d77a1e96b3d1e.tar.gz
linux-9bb17e0916a03ab901fb684e874d77a1e96b3d1e.tar.bz2
linux-9bb17e0916a03ab901fb684e874d77a1e96b3d1e.zip
CIFS: Add transform header handling callbacks
We need to recognize and parse transformed packets in demultiplex thread to find a corresponsing mid and process it further. Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 14196e00f79e..35cf62ba5416 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -440,6 +440,9 @@ struct smb_version_operations {
struct smb_rqst *);
/* free transform request */
void (*free_transform_rq)(struct smb_rqst *);
+ int (*is_transform_hdr)(void *buf);
+ int (*receive_transform)(struct TCP_Server_Info *,
+ struct mid_q_entry **);
};
struct smb_version_values {