smb2 read bytes read
Stefan (metze) Metzmacher
metze at samba.org
Tue Oct 2 11:16:19 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Amin Azez schrieb:
> /* SMB2 Read */
> struct smb2_read {
> enum smb_read_level level;
> struct {
> union smb_handle file;
>
> /* static body buffer 48 (0x30) bytes */
> /* uint16_t buffer_code; 0x31 = 0x30 + 1 */
> uint16_t _pad;
> uint32_t length;
> uint64_t offset;
> /* struct smb2_handle handle; */
> uint64_t unknown1; /* 0x0000000000000000 */
> uint64_t unknown2; /* 0x0000000000000000 */
> } in;
> struct {
> /* static body buffer 16 (0x10) bytes */
> /* uint16_t buffer_code; 0x11 = 0x10 + 1 */
> /* uint16_t data_ofs; */
> /* uint32_t data_size; */
> uint64_t unknown1; /* 0x0000000000000000 */
>
> /* dynamic body */
> DATA_BLOB data;
> } out;
> } smb2;
> };
Hi Amin,
io.smb2.out.data.length should contain the length.
metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFHAiiDm70gjA5TCD8RAq3CAKCYM2HGAWe85xlYcQTQkNTEfGyHlwCcD6il
8SXUCjuOjPOXhVpxvhO2Iac=
=n5ea
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list