From 7dd6e5fe9250b0e8653dd40cc3a84a23f2f71d5a Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 14 Nov 2005 13:50:56 +0000 Subject: r11724: - move checks packet size and protocol version, before we create the request structure - move code into one function metze (This used to be commit 96345b1c465c6cdf480f6e49d3c437cfe4d93c2c) --- source4/include/smb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/include') diff --git a/source4/include/smb.h b/source4/include/smb.h index fcde3848dc..cb59adb84c 100644 --- a/source4/include/smb.h +++ b/source4/include/smb.h @@ -204,6 +204,8 @@ struct data_blob_list_item { /* 64 bit time (100 nanosec) 1601 - cifs6.txt, section 3.5, page 30, 4 byte aligned */ typedef uint64_t NTTIME; +#define SMB_MAGIC 0x424D53FF /* 0xFF 'S' 'M' 'B' */ + /* the basic packet size, assuming no words or bytes. Does not include the NBT header */ #define MIN_SMB_SIZE 35 -- cgit