[cifs-protocol] Re: [Pfif] Correction Assistance Request:
DataOffset in WRITE_ANDX request
Volker Lendecke
Volker.Lendecke at SerNet.DE
Tue Nov 11 08:39:37 GMT 2008
On Mon, Nov 10, 2008 at 02:12:30PM -0800, Hongwei Sun wrote:
> The following is the information you requested
> regarding DataOffset in WRITE_ANDX request.
>
> Each request is self-describing, so the offset is
> always from the start of the SMB Header for the
> current message. In this case, the DataOffset is
> relative to the SMB_HEADER of the current request (not
> just the first request). The only offset in either
> protocol that spans multiple requests is the
> "AndXOffset/NextCommand" that links the requests.
>
> Please let us know if you have further questions.
This would apply to SMB2 chaining, where each request is
indeed self-contained. This is not the case in SMB1, where
there is only one SMB header for multiple SMB commands. How
does this fit your description?
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/cifs-protocol/attachments/20081111/3ba9073e/attachment.bin
More information about the cifs-protocol
mailing list