Please help

"Ephi Dror" <edror@silverbacksystems.com> Wed, 13 February 2002 02:46 UTC

From: "Ephi Dror" <edror@silverbacksystems.com>
To: <csapuntz@cisco.com>
Cc: <ips@ece.cmu.edu>, <tcp-impl@grc.nasa.gov>, <owner-ips@ece.cmu.edu>
Subject: Please help
Date: Tue, 12 Feb 2002 18:46:46 -0800
Message-ID: <001f01c1b438$adbd30f0$2010000a@corp.silverbacksystems.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0020_01C1B3F5.9F99F0F0"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2627
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Importance: Normal
Sender: owner-tcp-impl@grc.nasa.gov
Precedence: bulk
Status: RO
Content-Length: 7625
Lines: 252

Dear Costa and all,
 
I saw yours posting long ago about NFS V2/V3 header splitting technique
(http://www.pdl.cmu.edu/mailinglists/ips/mail/msg00075.html ) and I
would just like to ask if I may a quick question.
 
In CIFS, you said it may be costly to perform it since it does not have
fix size trailer.
 
>From my understanding, if I just interested in splitting  SMB read
respond and write request commands from their payloads, all I need is to
parse the header by hunting for those commands and then for each of
those commands, the actual payload starts at the offset specified by a
field called  DataOffset.
 
So to me it does not look like it cost much to do header split for the
few commands that are important.
 
Of course, do a pure header split of all SMB commands from their payload
could be costly in terms of firmware code space and performance.

Am I missing some thing big time here?
 
I really appreciate and respect your view on this subject.
 
Cheers,
Ephi