r22866: handle incoming chained smb2 requests in our server code to let
[ab/samba.git/.git] / source4 / smb_server / smb2 / smb2_server.h
index 353300681f746c8b9a39609128ceebcb1adf7b03..909a4228dfd9cf9e7ee024f5ff1afd3c3eac3363 100644 (file)
@@ -56,6 +56,13 @@ struct smb2srv_request {
        /* the id that can be used to cancel the request */
        uint32_t pending_id;
 
+       /* the offset to the next SMB2 Header for chained requests */
+       uint32_t chain_offset;
+
+       /* chained file handle */
+       uint8_t _chained_file_handle[16];
+       uint8_t *chained_file_handle;
+
        struct smb2_request_buffer in;
        struct smb2_request_buffer out;
 };