summaryrefslogtreecommitdiffstats
path: root/source3/aparser/cifs.struct
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-05-27 09:19:02 +0000
committerLuke Leighton <lkcl@samba.org>2000-05-27 09:19:02 +0000
commit2f3dbeff6f555de91f772eeb1cfda86d80f35928 (patch)
treef7556ffbea6cb2083d5b5795b0fa3ab90903899f /source3/aparser/cifs.struct
parent76c1e150af9a8181543a5e69f5d00a4f42da5507 (diff)
downloadsamba-2f3dbeff6f555de91f772eeb1cfda86d80f35928.tar.gz
samba-2f3dbeff6f555de91f772eeb1cfda86d80f35928.tar.xz
samba-2f3dbeff6f555de91f772eeb1cfda86d80f35928.zip
SMBtrans response.
(This used to be commit cff62bb10aa8d897bf48119f959d426d9052bc23)
Diffstat (limited to 'source3/aparser/cifs.struct')
-rw-r--r--source3/aparser/cifs.struct28
1 files changed, 27 insertions, 1 deletions
diff --git a/source3/aparser/cifs.struct b/source3/aparser/cifs.struct
index 2b5e319cb6..f1603809df 100644
--- a/source3/aparser/cifs.struct
+++ b/source3/aparser/cifs.struct
@@ -625,10 +625,36 @@ typedef struct _Q_TRANS {
}
} Q_TRANS;
+typedef struct _R_TRANS_10 {
+ USHORT TotalParameterCount;/* Total parameter bytes being sent */
+ USHORT TotalDataCount; /* Total data bytes being sent */
+ USHORT ParameterCount; /* Parameter bytes sent this buffer */
+ USHORT ParameterOffset; /* Offset (from header start) to */
+ /* Parameters */
+ USHORT ParameterDisplacement; /* Specifies the offset from the start */
+ /* of the overall parameter block to */
+ /* the parameter bytes that are */
+ /* contained in this message */
+ USHORT DataCount; /* Data bytes sent this buffer */
+ USHORT DataOffset; /* Offset (from header start) to data */
+ USHORT DataDisplacement; /* Specifies the offset from the start */
+ /* of the overall data block to the */
+ /* data bytes that are contained in */
+ /* this message. */
+ UCHAR SetupCount; /* Count of setup words */
+ UCHAR Reserved3; /* Reserved (pad above to word) */
+ USHORT Setup[SetupCount]; /* Setup words */
+ USHORT ByteCount; /* Count of data bytes */
+ UCHAR Pad1; /* Pad to LONG */
+ UCHAR Parameters[ParameterCount];/* Parameter bytes */
+ UCHAR Pad2; /* Pad to SHORT or LONG */
+ UCHAR Data[DataCount]; /* Data bytes */
+} R_TRANS_10;
+
typedef struct _R_TRANS {
uint8 wcount;
union ctr[wcount] {
- case 10 Q_TRANS_16 q10;
+ case 10 R_TRANS_10 q10;
}
} R_TRANS;